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

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

Projects

None yet

3 participants

@phantasm

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

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

@phantasm

yes, it's a correct path

@arantius
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

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

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

@arantius
Collaborator

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

@arantius arantius closed this in 65b5879 Mar 9, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment