Sublime Forum

Bild fails with non-unicode characters in Path

#1

Hi,

I am running Build 2217 on OSX 10.7.4 Lion.
I have made a sublime-build file for CasperJS that looks like this:

{
	"cmd": "casperjs", "$file"]
}

However, when run “Build” I get the following message:

Traceback (most recent call last):
  File "./sublime_plugin.py", line 337, in run_
  File "./exec.py", line 155, in run
  File "./exec.py", line 46, in __init__
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 121: ordinal not in range(128)

I’ve put debug statements in exec.py to find out which value in os.environ is causing the problem. It seems to be the following entry:
/usr/local/bin:/usr/local/share/python:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/share/python:“€

I have no idea where the “€ character is coming from but the Build script should probably not fail because of it.

Any advice? Is this a bug?

0 Likes