DraqueT / PolyGlot

PolyGlot is a conlang construction toolkit.
MIT License
389 stars 44 forks source link

Could not read file (Invalid distance too far back) #1191

Closed krikkitbot closed 2 years ago

krikkitbot commented 2 years ago

PolyGlot gave me an error on launch saying that it had not shut down properly (even though it had) and asked if I wanted to recover the latest stable autosave. I hit yes, and it gave me another error: "Could not read file: C:\Users\Bethany\PolyGlot\Protolang.pgd Invalid distance too far back." I hit OK, and it gave me another message: "Language recovered successfully!"

Then it loaded an empty language.

I tried restarting PolyGlot and got the same "Could not read file" error when I tried to open my language, followed by loading an empty language again.

I think I know what triggered the original error (I had two instances of PolyGlot running at once—a proto-lang and daughter language), but now that its attempt to "recover" the proto-language has wiped it clean, is there any way to recover my data?

EDIT: Looking at the file metadata, nothing's been wiped—the file in question is 1,131 KB and was last modified before this happened. Still, it's un-openable.

DraqueT commented 2 years ago

Heyo! Could you please send me the file? I will take a look at it and see what might be up with it. Hopefully I'll be able to see what's preventing PolyGlot from opening it in the first place and cprrect that as well as recovering it. Just toss it over to draquemail@gmail.com and I will take a look! : )