qooxdoo 3.5 generate.py fails

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

qooxdoo 3.5 generate.py fails

Marcel Ruff-3
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: qooxdoo 3.5 generate.py fails

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 <[hidden email]> 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
> [hidden email]
> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: qooxdoo 3.5 generate.py fails

Marcel Ruff-3
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 <[hidden email]> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: qooxdoo 3.5 generate.py fails

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 <[hidden email]> 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 <[hidden email]> 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
> [hidden email]
> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: qooxdoo 3.5 generate.py fails

Marcel Ruff-3
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 <[hidden email]> 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 <[hidden email]> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: qooxdoo 3.5 generate.py fails

thron7
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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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
> [hidden email]
> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: qooxdoo 3.5 generate.py fails: Resolved in 3.6

Marcel Ruff-3
I did a
   git clone --depth=1 https://github.com/qooxdoo/qooxdoo
and now it works.

version.txt shows 3.6

Thank you for fixing,
Marcel

Am 20.12.2013 14:47, schrieb thron7:

> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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
>> ists.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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: qooxdoo 3.5 generate.py fails: Resolved in 3.6

Richard Sternagel
Hey Marcel,

can you please in retrospect narrow it down
to the insulting class and add the top of its
source code (comments, if any, and first few lines of code)
and then post those? That would be awesome!

Regards
Richard

Am 04.01.14 19:46, schrieb Marcel Ruff:
> I did a
>     git clone --depth=1 https://github.com/qooxdoo/qooxdoo
> and now it works.
>
> version.txt shows 3.6
>
> Thank you for fixing,
> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel