I had a look at the code and found the following problem/fix:
In the askForFilename function this code retrieves the selected file:
var result=picker.file.persistentDescriptor;
On Mac this fails with:
error during local file access: [Exception... "Component returned
failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND)
[nsILocalFile.persistentDescriptor]" nsresult: "0x80520012
(NS_ERROR_FILE_NOT_FOUND)" location: "JS frame ::
file:///Users/ub/Desktop/TiddlyWiki-2.5.3-empty.html :: anonymous ::
line 2045" data: no]
However when using this code instead:
var result = picker.file.path;
the snapshot file is successfully written.
Eric: Feel free to use this fix in a new release of the plugin.
Udo
P.S.: I only have tested this on Mac, don't know if picker.file.path
also works fine on Windows/Linux/...