Hi David, the variableoptimizer.py module have been updated in the trunk after the release of qx 0.7.2 ; perhaps this update breaks your code ; have you try with 0.7.2 ?
cheers. fred dperez wrote: > > Through trial and error, I've come to the conclusion that the dangerous > flag is: > --optimize-strings > > > dperez wrote: >> >> I have this simple class: >> >> qx.Class.define('CeldaClicable', { >> extend: qx.ui.table.cellrenderer.Default, >> >> members: { >> _getCellStyle: function(cellInfo) { >> return (cellInfo.style || '') + ';cursor:pointer >> !important' >> } >> } >> }); >> >> and two versions of qx.js, one for developping and the other one for >> debugging. >> The difference in command line parameters between the two are these >> additional ones for the release version: >> >> --optimize-strings >> --optimize-base-call >> --optimize-variables >> --use-variant qx.debug:off >> >> For the debug version, my app runs ok. >> For the release one, I receive this error: >> >> Error 1: >> syntax error >> ,,,,,,,CeldaClicable,, >> on this line in qx.js: >> var $B=new Function($A.join($[0])); >> must be with generated code from qx.Class.define >> >> This is the 2nd error: >> >> this.$$method[$r] has no properties >> (no name)(undefinedqx.log.DefaultFilterundefined _hashCode=1 __dbKey=1 >> $$initialized=true, undefinedqx.log.DefaultFilterundefined >> classname=qx.log.DefaultFilter, "enabled", undefined, [undefined, >> "__user$enabled", undefined, 7 more...], undefined)qx.js (line 1717) >> (no name)(undefinedqx.log.DefaultFilterundefined _hashCode=1 __dbKey=1 >> $$initialized=true, function(), "enabled", undefined)qx.js (line 1774) >> (no name)()qx.js (line 1649) >> decide(Object logger=undefinedqx.log.Loggerundefined level=200)qx.js >> (line 2436) >> decideLogEvent(Object logger=undefinedqx.log.Loggerundefined >> level=200)qx.js (line 2463) >> handleLogEvent(Object logger=undefinedqx.log.Loggerundefined >> level=200)qx.js (line 2750) >> (no name)(200, "qooxdoo NaNundefinedundefinedundefinedundefined", 4, >> undefined, undefined)qx.js (line 2769) >> debug("qooxdoo NaNundefinedundefinedundefinedundefined", 4, >> undefined)qx.js (line 2776) >> debug("qooxdoo NaNundefinedundefinedundefinedundefined", undefined)qx.js >> (line 1270) >> _onload(load ) >> >> I'm going to research which command line parameter is the guilty one >> >> Any ideas? >> >> Regards >> David >> > > -- View this message in context: http://www.nabble.com/generator-bug-tf4562351.html#a13024427 Sent from the qooxdoo-devel mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel