DraqueT / PolyGlot

PolyGlot is a conlang construction toolkit.
MIT License
396 stars 45 forks source link

Unable TO Save File #1305

Open isaacthomasriley opened 1 year ago

isaacthomasriley commented 1 year ago

"java.lang.exception: Written File does not match file in memory"

Been trying to save this file for a while now, won't let me save it. :(

DraqueT commented 1 year ago

This is something that has poppes up in the newer beta versions and I am trying to track it down. Can you think of anything that you have done recently with the language that is atypical? I am scrambling trying to figure out what this comes from and have not managed to see it, myself.

Thank you for taking the time to file a bug report!

TrapinchO commented 1 year ago

Similar issue to #1195

rolfmeles commented 1 year ago

Have the same error appearing as soon as PolyGlot created an automated backup/autosave file.

save-error

Edit: Sadly it doesn't work to "save as" and then chosing the autosave file. But in my experience the autosave file always contained the latest changes I did on my language.

TrapinchO commented 1 year ago

Are you using Beta? It was fixed there.

rolfmeles commented 1 year ago

Are you using Beta? It was fixed there.

Yes I use the latest beta.

Edit: I did some tests and thought I'm onto something but as it turns out, I was wrong. Error persists in the beta.

TrapinchO commented 1 year ago

Can you trying making a (new) minimal file that triggers the error? See issue #1195 for example.

rolfmeles commented 11 months ago

Sorry for letting you wait so long! In the meantime I also uninstalled PolyGlot and really purched all remaining PolyGlot files off my computer and reinstalled the beta. For me the bug persists. It is independent of the file. I create a file, I save it, I work on it for some time without saving. At some point saving does not work anymore and the error appears. Then there are some files named "xxTEMPPGTFILExx" in the PolyGlot folder. One of them contains the latest version I worked with but my "real" file is at an old state and cannot be recovered. I put both files into the zip archive.

TriggeringFile.zip