Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prompt for new editor on NS_ERROR_FILE_UNRECOGNIZED_PATH #1386

Closed
johan opened this issue Aug 2, 2011 · 1 comment
Closed

Prompt for new editor on NS_ERROR_FILE_UNRECOGNIZED_PATH #1386

johan opened this issue Aug 2, 2011 · 1 comment
Milestone

Comments

@johan
Copy link
Collaborator

johan commented Aug 2, 2011

When we fail to launch the configured editor due to an incorrect path pref, bring up the configuration for that setting.

More details in the excellent greasemonkey-dev request:

On Mon, Aug 1, 2011 at 22:45, Pradip pradipvadher2009@gmail.com wrote:
Hello.

I have two firefox's installed on my system, one for linux, one for
windows, both shares single profile. I am running both applications
with following command line :
for windows: firefox_windows\firefox.exe -profile .\profile
for linux: firefox_linux/firefox -profile -profile ./profile

I have installed Greasemonkey 0.9.6 and editor is set to Notepad++
from windows version.

Problem is that whenever I try to edit any greasemonkey userscript on
linux following error is added to error console :

Error: uncaught exception: [Exception... "Component returned failure
code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH)
[nsILocalFile.initWithPath]" nsresult: "0x80520001
(NS_ERROR_FILE_UNRECOGNIZED_PATH)" location: "JS frame ::
chrome://greasemonkey/content/utils.js :: GM_getEditor :: line 102"
data: no]

I understand the reason. Kindly make an update which asks for editor
when such error occurs.

@iampradip
Copy link

Thank you very much for reporting issue for me. Issue is reproducible. If not, kindly reply me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants