keysnail
keysnail copied to clipboard
Config file not loading
Suddenly keysnail just stopped working. I'm having some difficulty pinning the issue down, but it seems like it refuses to load init files now.
The file is there, but it can't load it. If I try to do 'select init file' or 'create ..', the textbox with the folder path is empty, and the browse button doesn't work.
If i go into preferences and set the directory of the config file (to what it currently is), it says no config file is found there, but I clearly see one in explorer when I look, and it should have permissions.
Could you tell me the path where you locate configuration file?
I'm running Win7 x64 - the original path is c:\users
I tried putting right onto the drive root and setting that to be the directory, but I get the same error.
Hmm, strange.
Rename the configuration file to _keysnail.js from .keysnail.js (use underscore). Then, select the directory which configuration file is located from preference dialog.
I tried that, followed by a restart of Firefox, but it didn't help. I've also tried uninstalling the addon and reinstalling it, but I feel like some stuff got left over. I'm willing to try it again if you could suggest some procedures I could follow for cleaning out anything that gets left over when the addon is uninstalled.
Open the error console by pressing Ctrl + Shift + j and click "error" button. Are there any suspicious errors?
When I first looked: Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIJSON.decode]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: file:///C:/Users/kir/AppData/Roaming/Mozilla/Firefox/Profiles/ndz52paa.default/extensions/[email protected]/share/share.js :: anonymous :: line 218" data: no]
Then after a clear, when I do "create / choose config file"
Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIJSON.decode]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: file:///C:/Users/kir/AppData/Roaming/Mozilla/Firefox/Profiles/ndz52paa.default/extensions/[email protected]/share/share.js :: anonymous :: line 218" data: no]
clicking the browse folder button also causes the 'initWithConfigFile' related error.
Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsILocalFile.initWithPath]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://keysnail/content/modules/util.js :: anonymous :: line 162" data: no]
opening the preferences dialog seems to cause the share.js error (the one with nslJSON.decode)
Hitting reload init file causes no errors. saving settings causes none either.
Thanks for the detailed report. Big help :) Go to the about:config and type extensions.keysnail.userscript.location into the "filter". Before clearing that value, select "copy value". It would be the clue to solve this problem; Then click right button on this value again and select "reset".
The value is: C:\Users\kir
Some more information... It seems to be localized to my profile. If I make a blank profile everything works.