[posila] Deserialisation: unexpected symbol near "."

This subforum contains all the issues which we already resolved.
doktorstick
Fast Inserter
Fast Inserter
Posts: 219
Joined: Fri Aug 12, 2016 10:22 pm
Contact:

[posila] Deserialisation: unexpected symbol near "."

Post by doktorstick »

Version: 0.14.13. Map Version: 0.14.13-2. Game started around 0.14.10.

Code: Select all

Error while running deserialisation: [string "do local _={regionMap={[1]={[1]={[1]=7.840999..."]:1: unexpected symbol near '.'
Main save and three autosaves all have this error. I updated to 0.14.13 and played for a while. I don't know if it happened on the first save or a later one. The log, save, and mods are attached (sans the really big ones--hd-music and waitex).
Attachments
factorio-0.14.13-deseriaisation.7z
log, save, and mods
(59.44 MiB) Downloaded 228 times
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5284
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: Deserialisation: unexpected symbol near "."

Post by Klonan »

Seems like the mod 'Rampant_0.14.3' is causing this issue,

Somehow the mod table has become misformed
User avatar
aubergine18
Smart Inserter
Smart Inserter
Posts: 1264
Joined: Fri Jul 22, 2016 8:51 pm
Contact:

Re: Deserialisation: unexpected symbol near "."

Post by aubergine18 »

I've noticed that `do local _ = ` stuff appearing in serpent.dump() since 0.14.12 or 0.14.13, did something change in serpent or did it always behave that way?
Better forum search for modders: Enclose your search term in quotes, eg. "font_color" or "custom-input" - it prevents the forum search from splitting on hypens and underscores, resulting in much more accurate results.
doktorstick
Fast Inserter
Fast Inserter
Posts: 219
Joined: Fri Aug 12, 2016 10:22 pm
Contact:

Re: Deserialisation: unexpected symbol near "."

Post by doktorstick »

Klonan wrote:Seems like the mod 'Rampant_0.14.3' is causing this issue,
Okay, thanks. I've posted in the Rampant thread. It appears someone else has seen the same problem.
Somehow the mod table has become misformed
Do you have a notion on what can cause this? Is it how a mod stores it's global data, and what--as mod authors--can we do to mitigate this problem?
Rseding91
Factorio Staff
Factorio Staff
Posts: 14333
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Deserialisation: unexpected symbol near "."

Post by Rseding91 »

aubergine18 wrote:I've noticed that `do local _ = ` stuff appearing in serpent.dump() since 0.14.12 or 0.14.13, did something change in serpent or did it always behave that way?
It has always worked that way.
If you want to get ahold of me I'm almost always on Discord.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14333
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Deserialisation: unexpected symbol near "."

Post by Rseding91 »

doktorstick wrote:
Somehow the mod table has become misformed
Do you have a notion on what can cause this? Is it how a mod stores it's global data, and what--as mod authors--can we do to mitigate this problem?
I have no idea how to reproduce the issue. If you or someone else finds out how to reproduce it and it's not a mod doing something weird let us know.
If you want to get ahold of me I'm almost always on Discord.
posila
Factorio Staff
Factorio Staff
Posts: 5359
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: Deserialisation: unexpected symbol near "."

Post by posila »

I have a way how to reproduce it :)
posila
Factorio Staff
Factorio Staff
Posts: 5359
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [posila] Deserialisation: unexpected symbol near "."

Post by posila »

Thanks for the report.
Cause of the error should be fixed for 0.14.14.
However the save will load only if you disable mod that has corrupted data. Then you can save it again and re-enable the mod.
Post Reply

Return to “Resolved Problems and Bugs”