Problem to create a project

You must Login before you can answer or comment on any questions.

Hi, I aready install the SDK three times and, always when I want create a project, this error apeared:

Traceback (most recent call last):
File "C:\Userscaro\AppData\Roaming\Titanium\mobilesdk\win32\2.1.2.GA\project.py", line 136, in <module>
main(args, options.update_platforms)
File "C:\Userscaro\AppData\Roaming\Titanium\mobilesdk\win32\2.1.2.GA\project.py", line 31, in main
directory = os.path.abspath(os.path.expanduser(args[3].decode("utf-8")))
File "C:\Titanium Studio\plugins\com.appcelerator.titanium.python.win32_1.0.0.1338515509\python\lib\encodings\utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xcd in position 9: invalid continuation byte
Help me! P.S.: My OS is a Win 7 x64.

3 Answers

Accepted Answer

From what I read, the creation script seems to have problems with the Í character.

The message states:

UnicodeDecodeError: 'utf8' codec can't decode byte 0xcd in position 9:
And if you have a look at the 9th character in your path: (keep in mind that the index begins at 0)
C:\Users\Ícaro\...
Looks like you found a bug, you should file it in the JIRA tool.

In the mean time, I'm afraid your only option would be to re-install the SDK in another directory. (one who doesn't have UTF-8 characters)

— answered 10 months ago by Christian Brousseau
answer permalink
6 Comments
  • Its actually a python problem.

    — commented 10 months ago by Stephen Feather

  • True... :S

    — commented 10 months ago by Christian Brousseau

  • How I fix it? Install python? Or change the user?

    — commented 10 months ago by Ícaro Abreu

  • Show 3 more comments

For Windows, place your titanium studio, workspace, and libraries in folders that do not contain spaces.

This solves a lot of problems.

— answered 10 months ago by Stephen Feather
answer permalink
1 Comment
  • Your second issue:

    UnicodeDecodeError: 'utf8'

    sounds like you have either a name with extended ascii chars in the name, project directory, or in the description.

    — commented 10 months ago by Stephen Feather

Yeah, i started a new user with name 'Dev', and a lot of IDEs (who don't work before) works fine! Of course I have to reinstall all...

Your Answer

Think you can help? Login to answer this question!