On Tuesday, April 18, 2017 at 2:03:14 PM UTC-7, Douglas Counts wrote:
Simply importing the tiddlers into a new empty wiki will fix this. The edits done before your last save though will be gone because those were not saved within the file but within the browser's memory.After downloading a new "empty.html" TiddlyWiki from the website, open the empty TW and go to its Tools > Import and select your damaged file. You will see all your tiddlers listed there. Uncheck any that you don't want to be imported, then do the import and save. Done.......
The question is about TW *Classic*, so downloading a new TW5 empty.html won't help. To download a new *Classic* empty.html, go to
http://classic.tiddlywiki.com and then click the green "download" button. You can then try importing the damaged file into the freshly downloaded empty, by using the Backstage>Import command. However, importing a damaged TWClassic file into an empty TWClassic typically only works for minor file corruption problems, and may not work if the storeArea of the source file has been seriously corrupted in some way.
Fortunately, all TW files are stored as plain text so, as a worst case, you can always open the file using a simple text editor and "rescue" the damaged data.
If you search in for the text, "storeArea", you should be able to find the beginning of the tiddler data within the file. Each tiddler is defined using separate <div>...</div> blocks within the storeArea, where the properties of each <div> are the fields of the tiddler (except for the text content), and the inside of the div holds the text content (wiki syntax source) for the tiddler.
Once you find the desired tiddler defintions, you can then use copy/paste to transfer the content into new tiddlers created in a fresh empty.html. Then, hand-edit each reconstructed tiddler to fix up any corrupt content (sometimes Unicode characters are mangled in the copy/paste process). Of course, this can be very tedious if there's been lots of corruption, but if your information is really vital, it *is* still possible to reconstruct it in this manner.
hope this helps,
-e
Eric Shulman
TiddlyTools: "Small Tools for Big Ideas" (tm)
InsideTiddlyWiki: The Missing Manuals