[TIMOB-6154] Tooling: Path issue, ascii codec can't decode byte
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2016-08-22T18:05:56.000+0000 |
Affected Version/s | Release 1.7.1 |
Fix Version/s | n/a |
Components | Tooling |
Labels | n/a |
Reporter | Paul Dowsett |
Assignee | Ingo Muschenetz |
Created | 2011-11-11T08:29:42.000+0000 |
Updated | 2017-03-16T21:35:57.000+0000 |
Description
As per [this Q&A thread](http://developer.appcelerator.com/question/121635/appcelerator-studio-cannot-work-with-non-ascii-paths), the user cannot use Titanium Studio when non-ascii characters exist in the path to Studio's settings data.
Traceback (most recent call last):
File "C:\ProgramData\Titanium\mobilesdk\win32\1.7.1\project.py", line 100, in <module>
main(sys.argv,len(sys.argv))
File "C:\ProgramData\Titanium\mobilesdk\win32\1.7.1\project.py", line 83, in main
run([sys.executable, android_gen, name, appid, directory, android_sdk])
File "C:\ProgramData\Titanium\mobilesdk\win32\1.7.1\project.py", line 9, in run
return subprocess.Popen(args, stderr=subprocess.PIPE, stdout=subprocess.PIPE).communicate()
File "C:\Users\????\AppData\Local\Titanium Studio\plugins\com.appcelerator.titanium.python.win32_1.0.0.1306357174\python\lib\subprocess.py", line 594, in __init__
errread, errwrite)
File "C:\Users\????\AppData\Local\Titanium Studio\plugins\com.appcelerator.titanium.python.win32_1.0.0.1306357174\python\lib\subprocess.py", line 779, in _execute_child
args = list2cmdline(args)
File "C:\Users\????\AppData\Local\Titanium Studio\plugins\com.appcelerator.titanium.python.win32_1.0.0.1306357174\python\lib\subprocess.py", line 531, in list2cmdline
return ''.join(result)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc4 in position 0: ordinal not in range(128)
The question marks in the path C:\Users\????\AppData\
are %D0%94%D0%B8%D0%BC%D0%B0
(in utf8) or %C4%E8%EC%E0
(in win 1251)
Dupe of TIMOB-5283.
Closing ticket as duplicate.