Thanks. I've made a first commit for this bug (see bug report), please test it, I wasn't able to reproduce the issue with a skeleton. I would still be very interested to see the code that triggers that ... Please follow up in the bug report.
Cheers, Thomas On Fri, Dec 20, 2013 at 1:02 PM, Marcel Ruff <[email protected]> wrote: > http://bugzilla.qooxdoo.org/show_bug.cgi?id=8020 > > Thank you > Marcel > > Am 20.12.2013 12:44, schrieb thron7: >> Please open a bug report for this, and add your stack trace. >> >> Thanks, >> T. >> >> On Fri, Dec 20, 2013 at 11:44 AM, Marcel Ruff <[email protected]> wrote: >>> I have checked with qooxdoo 3.0.2, here I get no error. >>> >>> The output -s with qooxdoo 3.5: >>> >>> ... >>> - Warning: SessionProfile (429): Unable to parse JSDoc entry: >>> @param {String} loginName >>> \Traceback (most recent call last): >>> File "/home/watchee/watcheeweb/track/qooxdoo/tool/bin/generator.py", >>> line 268, in <module> >>> main() >>> File "/home/watchee/watcheeweb/track/qooxdoo/tool/bin/generator.py", >>> line 259, in main >>> generatorObj.run() >>> File >>> "/home/watchee/watcheeweb/track/qooxdoo/tool/pylib/generator/Generator.py", >>> line 591, in run >>> includeNoDeps, excludeWithDepsHard, script, verifyDeps=True) >>> File >>> "/home/watchee/watcheeweb/track/qooxdoo/tool/pylib/generator/Generator.py", >>> line 217, in >>> computeClassList >>> classList = self._depLoader.getClassList(includeWithDeps, >>> excludeWithDeps, includeNoDeps, >>> excludeWithDepsHard, script, verifyDeps) >>> File >>> "/home/watchee/watcheeweb/track/qooxdoo/tool/pylib/generator/code/DependencyLoader.py", >>> line >>> 111, in getClassList >>> result = resolveDepsSmartCludes(includeWithDeps, excludeList) >>> File >>> "/home/watchee/watcheeweb/track/qooxdoo/tool/pylib/generator/code/DependencyLoader.py", >>> line >>> 85, in resolveDepsSmartCludes >>> result = self.classlistFromInclude(includeWithDeps, excludeWithDeps, >>> script.variants, >>> verifyDeps, script) >>> File >>> "/home/watchee/watcheeweb/track/qooxdoo/tool/pylib/generator/code/DependencyLoader.py", >>> line >>> 286, in classlistFromInclude >>> classlistFromClassRecursive(depsItem, excludeWithDeps, variants, >>> result, warn_deps, [], >>> allowBlockLoaddeps) >>> File >>> "/home/watchee/watcheeweb/track/qooxdoo/tool/pylib/generator/code/DependencyLoader.py", >>> line >>> 204, in classlistFromClassRecursive >>> classlistFromClassRecursive(subitem, excludeWithDeps, variants, >>> result, warn_deps, [], >>> allowBlockLoaddeps) >>> File >>> "/home/watchee/watcheeweb/track/qooxdoo/tool/pylib/generator/code/DependencyLoader.py", >>> line >>> 204, in classlistFromClassRecursive >>> classlistFromClassRecursive(subitem, excludeWithDeps, variants, >>> result, warn_deps, [], >>> allowBlockLoaddeps) >>> File >>> "/home/watchee/watcheeweb/track/qooxdoo/tool/pylib/generator/code/DependencyLoader.py", >>> line >>> 153, in classlistFromClassRecursive >>> deps, cached = classObj.getCombinedDeps(self._classesObj, variants, >>> self._jobconf) >>> File >>> "/home/watchee/watcheeweb/track/qooxdoo/tool/pylib/generator/code/clazz/MClassDependencies.py", >>> line >>> 216, in getCombinedDeps >>> static, cached = self.dependencies (variants, force, tree=tree) >>> File >>> "/home/watchee/watcheeweb/track/qooxdoo/tool/pylib/generator/code/clazz/MClassDependencies.py", >>> line >>> 169, in dependencies >>> classVariants = self.classVariants() >>> File >>> "/home/watchee/watcheeweb/track/qooxdoo/tool/pylib/generator/code/clazz/MClassCode.py", >>> line >>> 167, in classVariants >>> tree = self.tree() # get complete tree >>> File >>> "/home/watchee/watcheeweb/track/qooxdoo/tool/pylib/generator/code/clazz/MClassCode.py", >>> line >>> 110, in tree >>> tree = jshints.create_hints_tree(tree) >>> File >>> "/home/watchee/watcheeweb/track/qooxdoo/tool/pylib/ecmascript/transform/check/jshints.py", >>> line 189, in create_hints_tree >>> cldColltor = CreateHintsVisitor(cld) >>> File >>> "/home/watchee/watcheeweb/track/qooxdoo/tool/pylib/ecmascript/transform/check/jshints.py", >>> line 33, in __init__ >>> hint = self.process_comments(tree) >>> File >>> "/home/watchee/watcheeweb/track/qooxdoo/tool/pylib/ecmascript/transform/check/jshints.py", >>> line 100, in process_comments >>> if self._key_is_ignored(entry['category'], hint): >>> File >>> "/home/watchee/watcheeweb/track/qooxdoo/tool/pylib/ecmascript/transform/check/jshints.py", >>> line 70, in _key_is_ignored >>> for hint in itertools.chain([hint_node], >>> self.curr_hint.search_upward()): >>> AttributeError: 'CreateHintsVisitor' object has no attribute 'curr_hint' >>> >>> >>> Thank you >>> Marcel >>> >>> Am 20.12.2013 11:22, schrieb thron7: >>>> Marcel, >>>> >>>> could you run generate.py with the '-s' option and post the output?! >>>> >>>> Can you narrow in on the code that triggers the exception? >>>> >>>> T. >>>> >>>> On Fri, Dec 20, 2013 at 10:32 AM, Marcel Ruff <[email protected]> wrote: >>>>> Hi, >>>>> >>>>> executing (qooxdoo 3.5 with Python 2.7.3 on OpenSuse 13.1 x86_64) >>>>> >>>>> python2.7 generate.py source >>>>> >>>>> fails with >>>>> >>>>> ---------------------------------------------------------------------------- >>>>> Executing: source::source-script >>>>> ---------------------------------------------------------------------------- >>>>> >>> Scanning libraries >>>>> >>> Collecting classes -<type 'exceptions.AttributeError'> : >>>>> 'CreateHintsVisitor' object has no attribute 'curr_hint' >>>>> >>>>> >>>>> It seems >>>>> >>>>> qooxdoo/tool/pylib/ecmascript/transform/check/jshints.py >>>>> >>>>> causes the problem. >>>>> >>>>> Thank you >>>>> Marcel > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
