nlloyd / SublimeMaven

Sublime Text 2 Plugin providing integration with the Apache Maven build and project management tool
42 stars 14 forks source link

Windows 7 sublime maven bug #11

Closed anton-ax closed 12 years ago

anton-ax commented 12 years ago

Traceback (most recent call last): File ".\sublimeplugin.py", line 337, in run File ".\maven.py", line 174, in run File ".\maven.py", line 189, in on_done File ".\maven.py", line 84, in init UnicodeDecodeError: 'ascii' codec can't decode byte 0xcf in position 5: ordinal not in range(128)

anton-ax commented 12 years ago

Fixed. Just change line 84 in maven.py to: proc_env[k] = os.path.expandvars(v.decode(sys.getfilesystemencoding())).encode(sys.getfilesystemencoding())

nlloyd commented 12 years ago

Just applied the fix, tyvm!