> I am trying to use Tiddlyspot to host a website with my existing TW > file locally. So I download the site to my local drive and tried to > import my existing tiddlers into this downloaded file. But I got this > error message: > > [Exception... "Component returned failure code: 0x80520012 > (NS_ERROR_FILE_NOT_FOUND) [nsIXMLHttpRequest.send]" nsresult: > "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: > file:///L:/tmp/scbctw.html :: httpReq :: line 10042" data: no]
Note these two important bits of information: "FILE NOT FOUND" file:///L:/tmp/scbctw.html This indicates that the file wasn't at the above location... and I'll bet that location wasn't the one you actually selected for importing. If that's the case, then here's an explanation, a work-around, and a fix: Although pressing the "browse..." button from the importer lets you navigate to and select a file in another directory, due to a 'security restriction' imposed by FF3, only the *filename* part of the selection is being returned to TiddlyWiki for processing. As a result, TW only looks in the current directory when attempting to open and read the selected file, regardless of the actual location of that file. The work-around is to simply ensure that the file you are importing from is always located in the same directory as the file you are viewing. For a more 'permanent' fix, you can install: http://www.TiddlyTools.com/#CoreTweaks In particular, you want to get these tweaks: #683 FireFox3 Import bug: 'browse' button replacement #604 cross-platform askForFilename() Once installed, the replacement for the "browse" button in the importer will show as "..." (so that the button text does not need to be translated into other languages), and will invoke a *secure* 'ask for filename' dialog. enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~----------~----~----~----~------~----~------~--~---

