Hi Frederic,
thank you for your report. Any sorry about any inconvenience. Should be
fixed with revision 4791.
Sebastian
frederic schrieb:
> Hello,
> With the latest SVN revision of Qooxdoo, I cannot compile a simple script
> with accent in string.
>
> =================================
> My test file class/custom/Application. (stored in UTF8 format):
>
> qx.OO.defineClass("custom.Application", qx.component.AbstractApplication,
> function () {
> qx.component.AbstractApplication.call(this);
> });
>
> qx.Proto.main = function(e)
> {
> var button1 = new qx.ui.form.Button("Welcome, enchanté!",
> "icon/16/reload.png");
> button1.addToDocument();
> };
>
> =================================
> the compilation command (from skeleton sample 1) :
>
> ...
> generate-script-build:
> @chmod u+x $(GENERATOR) && nice -n $(NICE) $(GENERATOR) \
> --script-input $(FRAMEWORK)/source/class \
> --script-input source/class \
> --generate-compiled-script \
> $(INCLUDE) $(OPTIMIZESTR) $(OPTIMIZEVAR) \
> --compiled-script-file build/script/$(SCRIPTNAME) \
> --copy-resources \
> --resource-input $(FRAMEWORK)/source/resource \
> --resource-output build/resource \
> --define-runtime-setting
> qx.manager.object.AliasManager.resourceUri:./resource \
> --cache-directory $(CACHE)
> ...
> =================================
> The error message :
>
>
> GENERATION OF SETTINGS:
> ----------------------------------------------------------------------------
> * Processing input data...
>
> GENERATION OF COMPILED SCRIPT:
> ----------------------------------------------------------------------------
> * Compiling: .Traceback (most recent call last):
> File "../qooxdoo/frontend/framework/tool/generator/generator.py", line
> 1056, in ?
> main()
> File "../qooxdoo/frontend/framework/tool/generator/generator.py", line
> 300, in main
> argparser(sys.argv[1:])
> File "../qooxdoo/frontend/framework/tool/generator/generator.py", line
> 285, in argparser
> execute(fileDb, moduleDb, options, options.packageId)
> File "../qooxdoo/frontend/framework/tool/generator/generator.py", line
> 1033, in execute
> compiledOutput += compiledFileContent
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 19078:
> ordinal not in range(128)
> make: *** [generate-script-build] Error 1
>
> =================================
>
> cheers,
> frederic
>
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel