Thank you very much, Thomas  :-)

I found the problem is that my use name is not English but contains UNICODE
characters.
When I log into my system with a English name, every thing is OK now.


create-application.py runs OK, and all files have been generated.
generate.py -info also does not work and stops at the step "resolving
macros"
Here is the output when I run generate.py with -s switch:

===================================================
    INITIALIZING: FIRSTAPP
===================================================
>>> Configuration: config.json
>>> Jobs: source-all
>>> Resolving config includes...
>>> Resolving jobs...
>>> Incorporating job defaults...
>>> Resolving macros...
Traceback (most recent call last):
  File "E:\web\qooxdoo-1.0.1-sdk\tool\bin\generator.py", line 183, in
<module>
    main()
  File "E:\web\qooxdoo-1.0.1-sdk\tool\bin\generator.py", line 158, in main
    config.resolveMacros(expandedjobs)
  File "E:\web\qooxdoo-1.0.1-sdk\tool\pylib\generator\config\Config.py",
line 594, in resolveMacros
    jobObj.resolveMacros()
  File "E:\web\qooxdoo-1.0.1-sdk\tool\pylib\generator\config\Job.py", line
206, in resolveMacros
    letMap = self._expandMacrosInLet(letMap)
  File "E:\web\qooxdoo-1.0.1-sdk\tool\pylib\generator\config\Job.py", line
368, in _expandMacrosInLet
    enew = self._expandMacrosInValues(letDict[k1], kdicts)
  File "E:\web\qooxdoo-1.0.1-sdk\tool\pylib\generator\config\Job.py", line
336, in _expandMacrosInValues
    result = self._expandString(data, maps['str'], maps['bin'])
  File "E:\web\qooxdoo-1.0.1-sdk\tool\pylib\generator\config\Job.py", line
278, in _expandString
    sub = templ.safe_substitute(mapstr)
  File "C:\Python26\lib\string.py", line 205, in safe_substitute
    return self.pattern.sub(convert, self.template)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xb1 in position 12:
unexpected code byt

Thanks,
hchaojie

-- 
View this message in context: 
http://n2.nabble.com/Can-not-generate-project-on-my-machine-with-China-Locale-tp4695736p4702075.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to