Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-6154

Tooling: Path issue, ascii codec can't decode byte

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Duplicate
    • Affects Version/s: Release 1.7.1
    • Fix Version/s: None
    • Component/s: Tooling
    • Labels:
      None
    • Environment:
      • Operating system Windows 7
      • Titanium Studio, build: 1.0.1.201106171427

      Description

      As per this Q&A thread, 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)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ingo Ingo Muschenetz
                Reporter:
                pdowsett Paul Dowsett
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-5216
                    Sync status:
                    ERROR
                    Last sent:

                    Git Source Code