PolyGlot icon indicating copy to clipboard operation
PolyGlot copied to clipboard

Unable TO Save File

Open isaacthomasriley opened this issue 1 year ago • 7 comments

"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. :(

isaacthomasriley avatar Jun 23 '23 16:06 isaacthomasriley

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!

DraqueT avatar Jun 23 '23 20:06 DraqueT

Similar issue to #1195

TrapinchO avatar Jun 24 '23 05:06 TrapinchO

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.

rolfmeles avatar Oct 31 '23 13:10 rolfmeles

Are you using Beta? It was fixed there.

TrapinchO avatar Nov 01 '23 10:11 TrapinchO

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.

rolfmeles avatar Nov 01 '23 12:11 rolfmeles

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

TrapinchO avatar Nov 04 '23 09:11 TrapinchO

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

rolfmeles avatar Dec 13 '23 16:12 rolfmeles