The @param JSDoc entries on lines 212 and 213 in dialog.Form are wrong,
they are missing the type specification. The correct syntax is
@param name {Type} comment...
This has changed recently, but I'm sure you already read that [1] ;-). The
error handling and reporting will be improved once the new lint
implementation stabilizes. The message that you've got is indeed of little
help, as it is from the underlying parsing framework which only sees a
single line of text (the one starting with "@param ...").
Cheers,
T.
[1] http://news.qooxdoo.org/new-lint-module
> [cboulanger@cloud9]:/workspace/demo/default$ python ./generate.py info
> [...]
>>>> Environment information
> - Platform: Linux Red Hat Enterprise Linux Server 6.3
> - Python version: 2.6.6 (r266:84292, May 1 2012, 13:52:17)
> [GCC 4.4.6 20110731 (Red Hat 4.4.6-3)]
> - qooxdoo path:
> /var/lib/stickshift/176cf7781ab8433284efa4a1b366af2c/app-root/data/249807/qooxdoo
> - Framework version: 2.1
> - Kit looks OK: True
> - Looking for generated versions...
> - Build version generated: True
> - Source version generated: True
> - Cache settings
> - Compile cache path is: /tmp/qx2.1/cache
> - Existing directory: True
> - Cache file revision: 143586237
> - Elements in cache: 1540
> - Download cache path is: /tmp/qx2.1/cache/downloads
> - Existing directory: False
>>>> Done (0m00.30)
>
> ------------
>
> [cboulanger@cloud9]:/workspace/demo/default$ python ./generate.py -sI
> source-hybrid
> ----------------------------------------------------------------------------
> Initializing: default
> ----------------------------------------------------------------------------
>>>> Processing configuration
> - Warning: ! Shadowing job "libraries" with local one
> ----------------------------------------------------------------------------
> Executing: source-hybrid::source-script
> ----------------------------------------------------------------------------
>>>> Scanning libraries
>>>> Collecting classes
> Traceback (most recent call last):
> File
> "/var/lib/stickshift/176cf7781ab8433284efa4a1b366af2c/app-root/data/249807/qooxdoo/tool/bin/generator.py",
> line 233, in <module>
> main()
> File
> "/var/lib/stickshift/176cf7781ab8433284efa4a1b366af2c/app-root/data/249807/qooxdoo/tool/bin/generator.py",
> line 216, in main
> generatorObj.run()
> File
> "/var/lib/stickshift/176cf7781ab8433284efa4a1b366af2c/app-root/data/249807/qooxdoo/tool/pylib/generator/Generator.py",
> line 548, in run
> includeNoDeps, script, verifyDeps=True)
> File
> "/var/lib/stickshift/176cf7781ab8433284efa4a1b366af2c/app-root/data/249807/qooxdoo/tool/pylib/generator/Generator.py",
> line 203, in computeClassList
> classList = self._depLoader.getClassList(includeWithDeps,
> excludeWithDeps, includeNoDeps, [], script, verifyDeps)
> File
> "/var/lib/stickshift/176cf7781ab8433284efa4a1b366af2c/app-root/data/249807/qooxdoo/tool/pylib/generator/code/DependencyLoader.py",
> line 98, in getClassList
> result = resolveDepsSmartCludes()
> File
> "/var/lib/stickshift/176cf7781ab8433284efa4a1b366af2c/app-root/data/249807/qooxdoo/tool/pylib/generator/code/DependencyLoader.py",
> line 77, in resolveDepsSmartCludes
> result = self.classlistFromInclude(includeWithDeps, excludeWithDeps,
> script.variants, verifyDeps, script)
> File
> "/var/lib/stickshift/176cf7781ab8433284efa4a1b366af2c/app-root/data/249807/qooxdoo/tool/pylib/generator/code/DependencyLoader.py",
> line 276, in classlistFromInclude
> classlistFromClassRecursive(depsItem, excludeWithDeps, variants,
> result,
> warn_deps, [], allowBlockLoaddeps)
> File
> "/var/lib/stickshift/176cf7781ab8433284efa4a1b366af2c/app-root/data/249807/qooxdoo/tool/pylib/generator/code/DependencyLoader.py",
> line 167, in classlistFromClassRecursive
> classlistFromClassRecursive(subitem, excludeWithDeps, variants,
> result,
> warn_deps, loadDepsChain, allowBlockLoaddeps)
> File
> "/var/lib/stickshift/176cf7781ab8433284efa4a1b366af2c/app-root/data/249807/qooxdoo/tool/pylib/generator/code/DependencyLoader.py",
> line 181, in classlistFromClassRecursive
> classlistFromClassRecursive(subitem, excludeWithDeps, variants,
> result,
> warn_deps, [], allowBlockLoaddeps)
> File
> "/var/lib/stickshift/176cf7781ab8433284efa4a1b366af2c/app-root/data/249807/qooxdoo/tool/pylib/generator/code/DependencyLoader.py",
> line 138, in classlistFromClassRecursive
> deps, cached = classObj.getCombinedDeps(self._classesObj, variants,
> self._jobconf, genProxy=genProxyIter.next())
> File
> "/var/lib/stickshift/176cf7781ab8433284efa4a1b366af2c/app-root/data/249807/qooxdoo/tool/pylib/generator/code/clazz/MClassDependencies.py",
> line 253, in getCombinedDeps
> static, cached = self.dependencies (variants, force, tree=tree)
> File
> "/var/lib/stickshift/176cf7781ab8433284efa4a1b366af2c/app-root/data/249807/qooxdoo/tool/pylib/generator/code/clazz/MClassDependencies.py",
> line 232, in dependencies
> deps = buildShallowDeps(tree)
> File
> "/var/lib/stickshift/176cf7781ab8433284efa4a1b366af2c/app-root/data/249807/qooxdoo/tool/pylib/generator/code/clazz/MClassDependencies.py",
> line 129, in buildShallowDeps
> lint.lint_check(tree, self.id, opts)
> File
> "/var/lib/stickshift/176cf7781ab8433284efa4a1b366af2c/app-root/data/249807/qooxdoo/tool/pylib/ecmascript/transform/check/lint.py",
> line 543, in lint_check
> lint.visit(node)
> File
> "/var/lib/stickshift/176cf7781ab8433284efa4a1b366af2c/app-root/data/249807/qooxdoo/tool/pylib/ecmascript/frontend/treeutil.py",
> line 741, in visit
> getattr(self, "visit_"+node.type)(node)
> File
> "/var/lib/stickshift/176cf7781ab8433284efa4a1b366af2c/app-root/data/249807/qooxdoo/tool/pylib/ecmascript/transform/check/lint.py",
> line 62, in visit_file
> self.visit(cld)
> File
> "/var/lib/stickshift/176cf7781ab8433284efa4a1b366af2c/app-root/data/249807/qooxdoo/tool/pylib/ecmascript/frontend/treeutil.py",
> line 746, in visit
> self.visit(child)
> File
> "/var/lib/stickshift/176cf7781ab8433284efa4a1b366af2c/app-root/data/249807/qooxdoo/tool/pylib/ecmascript/frontend/treeutil.py",
> line 746, in visit
> self.visit(child)
> File
> "/var/lib/stickshift/176cf7781ab8433284efa4a1b366af2c/app-root/data/249807/qooxdoo/tool/pylib/ecmascript/frontend/treeutil.py",
> line 746, in visit
> self.visit(child)
> File
> "/var/lib/stickshift/176cf7781ab8433284efa4a1b366af2c/app-root/data/249807/qooxdoo/tool/pylib/ecmascript/frontend/treeutil.py",
> line 741, in visit
> getattr(self, "visit_"+node.type)(node)
> File
> "/var/lib/stickshift/176cf7781ab8433284efa4a1b366af2c/app-root/data/249807/qooxdoo/tool/pylib/ecmascript/transform/check/lint.py",
> line 70, in visit_map
> self.visit(cld)
> File
> "/var/lib/stickshift/176cf7781ab8433284efa4a1b366af2c/app-root/data/249807/qooxdoo/tool/pylib/ecmascript/frontend/treeutil.py",
> line 746, in visit
> self.visit(child)
> File
> "/var/lib/stickshift/176cf7781ab8433284efa4a1b366af2c/app-root/data/249807/qooxdoo/tool/pylib/ecmascript/frontend/treeutil.py",
> line 746, in visit
> self.visit(child)
> File
> "/var/lib/stickshift/176cf7781ab8433284efa4a1b366af2c/app-root/data/249807/qooxdoo/tool/pylib/ecmascript/frontend/treeutil.py",
> line 741, in visit
> getattr(self, "visit_"+node.type)(node)
> File
> "/var/lib/stickshift/176cf7781ab8433284efa4a1b366af2c/app-root/data/249807/qooxdoo/tool/pylib/ecmascript/transform/check/lint.py",
> line 70, in visit_map
> self.visit(cld)
> File
> "/var/lib/stickshift/176cf7781ab8433284efa4a1b366af2c/app-root/data/249807/qooxdoo/tool/pylib/ecmascript/frontend/treeutil.py",
> line 746, in visit
> self.visit(child)
> File
> "/var/lib/stickshift/176cf7781ab8433284efa4a1b366af2c/app-root/data/249807/qooxdoo/tool/pylib/ecmascript/frontend/treeutil.py",
> line 746, in visit
> self.visit(child)
> File
> "/var/lib/stickshift/176cf7781ab8433284efa4a1b366af2c/app-root/data/249807/qooxdoo/tool/pylib/ecmascript/frontend/treeutil.py",
> line 741, in visit
> getattr(self, "visit_"+node.type)(node)
> File
> "/var/lib/stickshift/176cf7781ab8433284efa4a1b366af2c/app-root/data/249807/qooxdoo/tool/pylib/ecmascript/transform/check/lint.py",
> line 88, in visit_function
> self.function_used_deprecated(node)
> File
> "/var/lib/stickshift/176cf7781ab8433284efa4a1b366af2c/app-root/data/249807/qooxdoo/tool/pylib/ecmascript/transform/check/lint.py",
> line 123, in function_used_deprecated
> at_hints = get_at_hints(var_node) # check full_name against @ignore
> hints
> File
> "/var/lib/stickshift/176cf7781ab8433284efa4a1b366af2c/app-root/data/249807/qooxdoo/tool/pylib/ecmascript/transform/check/lint.py",
> line 487, in get_at_hints
> at_hints = get_at_hints(scope.node, at_hints)
> File
> "/var/lib/stickshift/176cf7781ab8433284efa4a1b366af2c/app-root/data/249807/qooxdoo/tool/pylib/ecmascript/transform/check/lint.py",
> line 467, in get_at_hints
> commentAttributes = Comment.parseNode(node) # searches comment
> "around"
> this node
> File
> "/var/lib/stickshift/176cf7781ab8433284efa4a1b366af2c/app-root/data/249807/qooxdoo/tool/pylib/ecmascript/frontend/Comment.py",
> line 897, in parseNode
> return Comment(comment.get("value", "")).parse()
> File
> "/var/lib/stickshift/176cf7781ab8433284efa4a1b366af2c/app-root/data/249807/qooxdoo/tool/pylib/ecmascript/frontend/Comment.py",
> line 334, in parse
> entry = getattr(self, "parse_at_"+hint_key)(line)
> File
> "/var/lib/stickshift/176cf7781ab8433284efa4a1b366af2c/app-root/data/249807/qooxdoo/tool/pylib/ecmascript/frontend/Comment.py",
> line 469, in parse_at_param
> presult = grammar.parseString(line)
> File
> "/var/lib/stickshift/176cf7781ab8433284efa4a1b366af2c/app-root/data/249807/qooxdoo/tool/pylib/pyparse/pyparsing.py",
> line 1100, in parseString
> raise exc
> pyparse.pyparsing.ParseException: Expected "{" (at char 16), (line:1,
> col:17)
>
> -----------
>
> The code of dialog.Form is here :
>
> https://github.com/cboulanger/qx-contrib-Dialog/blob/master/source/class/dialog/Form.js
>
> line 1, col 17 is a comment line. the error message doesn't seem to make
> sense.
>
>
>
>
> --
> View this message in context:
> http://qooxdoo.678.n2.nabble.com/Problem-with-qooxdoo-master-tp7581082p7581086.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel