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

Script editor application in non-ASCII folder doesn't work #1173

Closed
phantasm opened this issue Aug 19, 2010 · 6 comments
Closed

Script editor application in non-ASCII folder doesn't work #1173

phantasm opened this issue Aug 19, 2010 · 6 comments
Milestone

Comments

@phantasm
Copy link

When trying to edit some script for a first time, Greasemonkey prompts for an editor location. User chooses desired edtor, and it's being written to greasemonkey.editor config variable.

But when the path to editor includes non-ASCII symbols (in my case, it's "/Applications/Программирование/TextMate.app"), editor cannot be launched. The only solution is to move my editor to some fail-safe location and set config variable manually, which is quite frustrating.

I suppose this issue may apply to other operating systems as well.

@erikvold
Copy link
Contributor

erikvold commented Sep 7, 2010

is "/Application/Программирование/TextMate.app" stored in the greasemonkey.editor config variable correctly? or does that look incorrect?

@phantasm
Copy link
Author

phantasm commented Sep 7, 2010

yes, it's a correct path

@arantius
Copy link
Collaborator

Confirmed, on Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8. Console dumps:

FSPathMakeRef(/.../@>3@0<<8@>20=85/TextWrangler.app) failed with error -43.

@erikvold
Copy link
Contributor

Using runw would prob fix this, since the docs say it was added in Gecko 1.9.3 it won't work for FF <= 3.6 so checking that it exists and using it when it does is a solution that will only work for newer versions of FF, afaictatm.

@erikvold
Copy link
Contributor

just tested using runwAsync on a folder with the name above, and that worked.

@arantius
Copy link
Collaborator

The dupe #1325 says this happens on Win7 as well.

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