On Tuesday, June 25, 2013 12:54:46 AM UTC-7, Sora A.K. wrote:

> Using Firefox 21.0. I attempted to upgrade a TiddlyWiki containing 
> Japanese characters and it failed. Some error message about being unable to 
> save, I can't remember and it's not really what I'm concerned with. You see 
> I then foolishly tried to instead import all the Tiddlers from that 
> TiddlyWiki to a blank up-to-date TiddlyWiki... They imported with corrupted 
> characters *and* corrupted all the characters in the original TiddlyWiki 
> which I had failed to backup...
>

The purpose of error messages is to give some indication of WHY an error 
occurred.  Even if the error is "generic" it still tells us something since 
we can track the error message back to the place WHERE the error occurred 
in the code.  Also, when reporting a problem it is important to describe 
exactly WHAT you did, step-by-step, even if you think it is unimportant.

As to your specific issues, some questions:
* do you have TiddlyFox installed?  what revision?
* what version of TiddlyWiki was the *original* document, since that is the 
upgrade handler code that is being invoked.
* did you try the "manual" upgrade process?
1) open your original document in the browser
2) replace the original document on disk, with a copy of empty.html (rename 
the old file first, of course, so you don't lose it!)
3) invoke "save changes" from the loaded document

When 'save changes' is handled, it first reads the original document from 
disk and then merges the tiddlers from browser memory and writes the file 
back to disk.    Because you replaced the original file with an updated 
empty file, this produces output that includes the newest TWCore, combined 
with the tiddlers from your document, resulting in an upgraded document, 
just the same as the backstage>upgrade process.

One note: *importing* into an empty document does NOT re-write the existing 
document, so any corruption of characters in the original document must 
have occurred BEFORE you imported.  This suggests that your original 
document WAS actually written when you tried to save it (but with some kind 
of error)

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...
   http://www.TiddlyTools.com/#Donations

Professional TiddlyWiki Consulting Services...
Analysis, Design, and Custom Solutions:
   http://www.TiddlyTools.com/#Contact

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to