[Bug] Editor won't open (#lack is not a valid value for Int32) [SOLVED!]

Started by Flopsy, December 08, 2017, 11:20:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Flopsy

On trying to open the editor, I'm presented with this error message.



I didn't even have the editor open previously and I am unable to open it. Selecting Yes or No just closes the error message and does not open the editor.

I have tried redownloading the editor also and it does not solve this issue.

EDIT: attached the error log for more information on the issue.

EDIT2: Solved, see post below.

Flopsy

Solved the issue with Simon's help

After doing a fresh install, I found a file in the styles folder on my older build called unknown and it contained just a single object and its corresponding txt file. I don't think the editor liked this folder and produced this error. Perhaps because it lacked a theme file?

For reference it was the same trap object you asked me to make for the Marble Garden tileset Nepster, I saved it in the styles folder and forgot about it.

After deleting this, the editor opened again.
Issue resolved but at least there's something to correspond this error message to in the future.

Nepster

Thanks for the bug report. I fixed the editor code, so that error shouldn't occur any more in the future.

Quote from: Flopsy on December 09, 2017, 09:35:25 AM
I don't think the editor liked this folder and produced this error. Perhaps because it lacked a theme file?
Not quite. This error only occurs if the theme.nxtm file actually exists, but contains a line like
    ONE_WAYS xlack
instead of
    ONE_WAYS xFFFFFF