Re: [qooxdoo-devel] Can not generate project on my machine with China Locale

2010-03-11 Thread thron7
Great. My gut feeling from the output is that the error is occuring during macro expansion, more particularly, when expanding the TMPDIR macro. This is a macro that is pre-defined in the generator, and uses a Python module to get a path to a default-ish temp directory. This would also explain the d

Re: [qooxdoo-devel] Can not generate project on my machine with China Locale

2010-03-11 Thread hchaojie
> Please use 'generate.py -s -v' ('-v' > in place of '-w'). This will produce quite a bit of output, so redirect > stdout and stderr to a file I attached the output file: http://n2.nabble.com/file/n4716353/source.out source.out -- View this message in context: http://n2.nabble.com/Can-not-gene

Re: [qooxdoo-devel] Can not generate project on my machine with China Locale

2010-03-10 Thread thron7
> -- add -w options(which you asked), and the command line prompts: > generator.py: error: no such option: -w Ah, sorry, I'm ahead of versions... Please use 'generate.py -s -v' ('-v' in place of '-w'). This will produce quite a bit of output, so redirect stdout and stderr to a file (The normal Cmd

Re: [qooxdoo-devel] Can not generate project on my machine with China Locale

2010-03-10 Thread hchaojie
Sorry Thomas I didn't describe my problem clearly. It's fairly easy to reproduce my issue, here are detailed steps (I will post output later): - log in my system with a non-English name. - E:\web\qooxdoo-1.0.1-sdk\tool\bin>create-application.py -n firstapp -o ..\..\application (OK) - cd ..\..\

Re: [qooxdoo-devel] Can not generate project on my machine with China Locale

2010-03-09 Thread Petr Kobalíček
Hi Guys, I noticed similar problem with other python libraries. When I bought my notebook there was user name in Czech language and Python reported the same problem (the same exception). I think that this is python problem. -- Best regards - Petr Kobalicek On Tue, Mar 9,

Re: [qooxdoo-devel] Can not generate project on my machine with China Locale

2010-03-09 Thread thron7
On 03/09/2010 04:25 PM, hchaojie wrote: > > 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. Ok. I presume the rest of the email is when you log

Re: [qooxdoo-devel] Can not generate project on my machine with China Locale

2010-03-09 Thread hchaojie
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 a

Re: [qooxdoo-devel] Can not generate project on my machine with China Locale

2010-03-08 Thread thron7
Hi, On 03/08/2010 04:05 PM, hchaojie wrote: > > See attached screenshot, > when I generate a project which created using create-application.py, Could you post the command line which ran create-application.py? > It failed and the message is: > 'utf8' codec can't decode byte 0xb1 in position 12:

[qooxdoo-devel] Can not generate project on my machine with China Locale

2010-03-08 Thread hchaojie
See attached screenshot, when I generate a project which created using create-application.py, It failed and the message is: 'utf8' codec can't decode byte 0xb1 in position 12: unexpected code byte My system is windows xp, and Locale is zh_CN I think there must be some encoding problem with the b