Found the cause of the exception, it was this dodgy code:
members: {

function a4Letter: function(writer) {

// ... snip ...

},


Is this known/shall I add a bug report?

John


From:  John Spackman <john-li...@zenesis.com>
Date:  Tuesday, 10 July 2012 05:01
To:  qooxdoo Development <qooxdoo-devel@lists.sourceforge.net>
Subject:  Generator error: Terminating on terminal  exception
(AssertionError())

Hi

When running the generating I get "Terminating on terminal exception
(AssertionError())" - no other information, including nothing about which
line of (my) code triggered the issue.  I ran generate with ­v ­s, output is
below.

I'm using trunk/master.

Thanks,
John

[1]:
>>> Initializing cache...
    - Checking path
'/Users/John/dev/Grasshopper/smart/Local/temp/cache-qooxdoo-trunk'
    - Using existing directory
>>> Scanning libraries
  - Re-scanning lib
/Users/John/dev/Grasshopper/smart/Local/smartsites/www.locumexpress.co.uk/pu
blic/grasshopper/sitelib
  - Scanning 
/Users/John/dev/Grasshopper/smart/Local/smartsites/www.locumexpress.co.uk/pu
blic/grasshopper/sitelib...
    - Scanning class folder...
-
    - Adding class js.uk.co.locumexpress.widgets.srv.MyLocumProfile
-
    - Adding class js.uk.co.locumexpress.www.client.locum.EditLocum
/
    - Adding class js.uk.co.locumexpress.www.client.locum.PrintDlg
|
    - Parsing file: js.uk.co.locumexpress.www.srv.Skin...
    - Generating tree: js.uk.co.locumexpress.www.srv.Skin...
Traceback (most recent call last):
  File 
"/Users/John/dev/Grasshopper/smart/Local/WebContent/public/grasshopper/qooxd
oo-trunk/tool/bin/generator.py", line 233, in <module>
    main()
  File 
"/Users/John/dev/Grasshopper/smart/Local/WebContent/public/grasshopper/qooxd
oo-trunk/tool/bin/generator.py", line 216, in main
    generatorObj.run()
  File 
"/Volumes/MIRROR/Users/john/dev/Grasshopper/smart/Local/WebContent/public/gr
asshopper/qooxdoo-trunk/tool/pylib/generator/Generator.py", line 485, in run
    prepareGenerator1()
  File 
"/Volumes/MIRROR/Users/john/dev/Grasshopper/smart/Local/WebContent/public/gr
asshopper/qooxdoo-trunk/tool/pylib/generator/Generator.py", line 418, in
prepareGenerator1
    self._libraries)     = self.scanLibrary(config.get("library", []))
  File 
"/Volumes/MIRROR/Users/john/dev/Grasshopper/smart/Local/WebContent/public/gr
asshopper/qooxdoo-trunk/tool/pylib/generator/Generator.py", line 1925, in
scanLibrary
    libObj.scan(cacheTime)
  File 
"/Volumes/MIRROR/Users/john/dev/Grasshopper/smart/Local/WebContent/public/gr
asshopper/qooxdoo-trunk/tool/pylib/generator/resource/Library.py", line 220,
in scan
    scanres = self._scanClassPath(timeOfLastScan)
  File 
"/Volumes/MIRROR/Users/john/dev/Grasshopper/smart/Local/WebContent/public/gr
asshopper/qooxdoo-trunk/tool/pylib/generator/resource/Library.py", line 439,
in _scanClassPath
    fileCodeId = self._getCodeId(clazz)
  File 
"/Volumes/MIRROR/Users/john/dev/Grasshopper/smart/Local/WebContent/public/gr
asshopper/qooxdoo-trunk/tool/pylib/generator/resource/Library.py", line 242,
in _getCodeId
    tree     = clazz.tree()
  File 
"/Volumes/MIRROR/Users/john/dev/Grasshopper/smart/Local/WebContent/public/gr
asshopper/qooxdoo-trunk/tool/pylib/generator/code/clazz/MClassCode.py", line
80, in tree
    tree = treegen.createSyntaxTree(tokens, fileId)
  File 
"/Volumes/MIRROR/Users/john/dev/Grasshopper/smart/Local/WebContent/public/gr
asshopper/qooxdoo-trunk/tool/pylib/ecmascript/frontend/treegenerator.py",
line 2012, in createSyntaxTree
    fileNode.childappend(TreeGenerator().parse(tokenArr))
  File 
"/Volumes/MIRROR/Users/john/dev/Grasshopper/smart/Local/WebContent/public/gr
asshopper/qooxdoo-trunk/tool/pylib/ecmascript/frontend/treegenerator.py",
line 2002, in parse
    return statements()
  File 
"/Volumes/MIRROR/Users/john/dev/Grasshopper/smart/Local/WebContent/public/gr
asshopper/qooxdoo-trunk/tool/pylib/ecmascript/frontend/treegenerator.py",
line 1844, in statements
    st = statement()
  File 
"/Volumes/MIRROR/Users/john/dev/Grasshopper/smart/Local/WebContent/public/gr
asshopper/qooxdoo-trunk/tool/pylib/ecmascript/frontend/treegenerator.py",
line 1773, in statement
    s = expression()
  File 
"/Volumes/MIRROR/Users/john/dev/Grasshopper/smart/Local/WebContent/public/gr
asshopper/qooxdoo-trunk/tool/pylib/ecmascript/frontend/treegenerator.py",
line 1749, in expression
    left = t.ifix(left)
  File 
"/Volumes/MIRROR/Users/john/dev/Grasshopper/smart/Local/WebContent/public/gr
asshopper/qooxdoo-trunk/tool/pylib/ecmascript/frontend/treegenerator.py",
line 918, in ifix
    group = self.pfix()
  File 
"/Volumes/MIRROR/Users/john/dev/Grasshopper/smart/Local/WebContent/public/gr
asshopper/qooxdoo-trunk/tool/pylib/ecmascript/frontend/treegenerator.py",
line 938, in pfix
    group.childappend(expression())
  File 
"/Volumes/MIRROR/Users/john/dev/Grasshopper/smart/Local/WebContent/public/gr
asshopper/qooxdoo-trunk/tool/pylib/ecmascript/frontend/treegenerator.py",
line 1745, in expression
    left = t.pfix()
  File 
"/Volumes/MIRROR/Users/john/dev/Grasshopper/smart/Local/WebContent/public/gr
asshopper/qooxdoo-trunk/tool/pylib/ecmascript/frontend/treegenerator.py",
line 1046, in pfix
    keyval = expression()
  File 
"/Volumes/MIRROR/Users/john/dev/Grasshopper/smart/Local/WebContent/public/gr
asshopper/qooxdoo-trunk/tool/pylib/ecmascript/frontend/treegenerator.py",
line 1745, in expression
    left = t.pfix()
  File 
"/Volumes/MIRROR/Users/john/dev/Grasshopper/smart/Local/WebContent/public/gr
asshopper/qooxdoo-trunk/tool/pylib/ecmascript/frontend/treegenerator.py",
line 1036, in pfix
    keyname = expression()
  File 
"/Volumes/MIRROR/Users/john/dev/Grasshopper/smart/Local/WebContent/public/gr
asshopper/qooxdoo-trunk/tool/pylib/ecmascript/frontend/treegenerator.py",
line 1745, in expression
    left = t.pfix()
  File 
"/Volumes/MIRROR/Users/john/dev/Grasshopper/smart/Local/WebContent/public/gr
asshopper/qooxdoo-trunk/tool/pylib/ecmascript/frontend/treegenerator.py",
line 1133, in pfix
    assert token.id == "("
AssertionError
Johns-Mac:server john$



------------------------------------------------------------------------------
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
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to