Has been fixed by Andreas in revision 4445.
Sebastian
Dietrich Streifert schrieb:
> Thank you Sebastian.
>
> But now the build fails in a previous state:
>
> make[1]: Entering directory `/development/www/qooxdoo/frontend/api'
>
> INITIALIZATION:
> ----------------------------------------------------------------------------
> * Processing arguments...
>
> SOURCE LOADER:
> ----------------------------------------------------------------------------
> * Indexing files...
> * 281 files were found
> * Resolving dependencies:
> .........................................................................................................................................................................................................................................................................................
> * Added 1077 dependencies
> * Storing file entries...
> * Updated 281 files
>
> SORT OF INCLUDE LIST:
> ----------------------------------------------------------------------------
> * Sorting classes...
> * Arranged 117 classes
>
> STRING OPTIMIZATION:
> ----------------------------------------------------------------------------
> * Searching strings: ..Traceback (most recent call last):
> File "../framework/tool/generator/generator.py", line 928, in ?
> main()
> File "../framework/tool/generator/generator.py", line 292, in main
> argparser(sys.argv[1:])
> File "../framework/tool/generator/generator.py", line 277, in argparser
> execute(fileDb, moduleDb, options, options.packageId)
> File "../framework/tool/generator/generator.py", line 502, in execute
> localMap = loader.getStrings(fileDb, fileId, options)
> File
> "/development/www/qooxdoo/frontend/framework/tool/generator/modules/loader.py",
>
> line 227, in getStrings
> strings = stringoptimizer.search(getTree(fileDb, fileId, options),
> options.verbose)
> File
> "/development/www/qooxdoo/frontend/framework/tool/generator/modules/loader.py",
>
> line 190, in getTree
> tree = treegenerator.createSyntaxTree(getTokens(fileDb, fileId,
> options))
> File
> "/development/www/qooxdoo/frontend/framework/tool/generator/modules/treegenerator.py",
>
> line 157, in createSyntaxTree
> rootBlock.addChild(readStatement(stream))
> File
> "/development/www/qooxdoo/frontend/framework/tool/generator/modules/treegenerator.py",
>
> line 183, in readStatement
> item.addListChild("right", readExpression(stream))
> File
> "/development/www/qooxdoo/frontend/framework/tool/generator/modules/treegenerator.py",
>
> line 164, in readExpression
> return readStatement(stream, True)
> File
> "/development/www/qooxdoo/frontend/framework/tool/generator/modules/treegenerator.py",
>
> line 204, in readStatement
> item.addListChild("body", readBlock(stream))
> File
> "/development/www/qooxdoo/frontend/framework/tool/generator/modules/treegenerator.py",
>
> line 496, in readBlock
> child = readStatement(stream)
> File
> "/development/www/qooxdoo/frontend/framework/tool/generator/modules/treegenerator.py",
>
> line 295, in readStatement
> item = readLoop(stream)
> File
> "/development/www/qooxdoo/frontend/framework/tool/generator/modules/treegenerator.py",
>
> line 629, in readLoop
> item.addListChild("statement", readStatement(stream))
> File
> "/development/www/qooxdoo/frontend/framework/tool/generator/modules/treegenerator.py",
>
> line 362, in readStatement
> item.addListChild("second", readExpression(stream))
> File
> "/development/www/qooxdoo/frontend/framework/tool/generator/modules/treegenerator.py",
>
> line 164, in readExpression
> return readStatement(stream, True)
> File
> "/development/www/qooxdoo/frontend/framework/tool/generator/modules/treegenerator.py",
>
> line 347, in readStatement
> raiseSyntaxException(stream.curr(), expectedDesc)
> File
> "/development/www/qooxdoo/frontend/framework/tool/generator/modules/treegenerator.py",
>
> line 141, in raiseSyntaxException
> raise SyntaxException(msg)
> treegenerator.SyntaxException: Expected expression but found token/DIV:
> '/'. file qx.OO line 110
> make[1]: *** [generate-script-build] Error 1
> make[1]: Leaving directory `/development/www/qooxdoo/frontend/api'
> make: *** [build] Error 2
>
>
> Sebastian Werner schrieb:
>> Hey!
>>
>> This is already fixed in SVN revision 4443. :)
>>
>> Sebastian
>>
>>
>> Dietrich Streifert schrieb:
>>
>>> The current svn rev. 4441 fails building with the following error:
>>>
>>> make[1]: Entering directory `/development/www/qooxdoo/frontend/api'
>>>
>>> INITIALIZATION:
>>> ----------------------------------------------------------------------------
>>> * Processing arguments...
>>>
>>> SOURCE LOADER:
>>> ----------------------------------------------------------------------------
>>> * Indexing files...
>>> * 281 files were found
>>> * Resolving dependencies:
>>> .........................................................................................................................................................................................................................................................................................
>>> * Added 1077 dependencies
>>> * Storing file entries...
>>> * Updated 281 files
>>>
>>> SORT OF INCLUDE LIST:
>>> ----------------------------------------------------------------------------
>>> * Sorting classes...
>>> * Arranged 117 classes
>>>
>>> STRING OPTIMIZATION:
>>> ----------------------------------------------------------------------------
>>> * Searching strings:
>>> .....................................................................................................................
>>> * Found 998 strings (used 1721 times)
>>> * Replacing strings:
>>> .....................................................................................................................
>>> * Generating replacement...
>>>
>>> LOCAL VARIABLE OPTIMIZATION:
>>> ----------------------------------------------------------------------------
>>> * Optimizing variables:
>>> .....................................................................................................................
>>>
>>> CREATE COPY OF RESOURCES:
>>> ----------------------------------------------------------------------------
>>> * Preparing configuration...
>>> * Syncing...
>>> - Found 1 resources in qx.theme.icon.CrystalSvgIconTheme
>>> - Copy ../framework/source/resource/icon/crystalsvg =>
>>> build/resource/qooxdoo/icon/crystalsvg
>>> - Found 1 resources in qx.theme.widget.WindowsWidgetTheme
>>> - Copy ../framework/source/resource/widget/windows =>
>>> build/resource/qooxdoo/widget/windows
>>> - Found 2 resources in api.Viewer
>>> - Copy source/resource/css => build/resource/css
>>> - Copy source/resource/image => build/resource/image
>>> - Found 1 resources in qx.ui.basic.Image
>>> - Copy ../framework/source/resource/static/image =>
>>> build/resource/qooxdoo/static/image
>>> - Found 1 resources in qx.client.History
>>> - Copy ../framework/source/resource/static/history =>
>>> build/resource/qooxdoo/static/history
>>>
>>> GENERATION OF SETTINGS:
>>> ----------------------------------------------------------------------------
>>> * Processing input data...
>>>
>>> GENERATION OF COMPILED SCRIPT:
>>> ----------------------------------------------------------------------------
>>> * Compiling tree:
>>> .....................................................................................................................
>>> * Storing output as build/script/api.js...
>>>
>>> INITIALIZATION:
>>> ----------------------------------------------------------------------------
>>> * Processing arguments...
>>>
>>> SOURCE LOADER:
>>> ----------------------------------------------------------------------------
>>> * Indexing files...
>>> * 277 files were found
>>> * Resolving dependencies:
>>> * Added 0 dependencies
>>> * Storing file entries...
>>> * Updated 0 files
>>>
>>> SORT OF INCLUDE LIST:
>>> ----------------------------------------------------------------------------
>>> * Sorting classes...
>>> * Including all classes
>>> * Arranged 277 classes
>>>
>>> GENERATION OF API:
>>> ----------------------------------------------------------------------------
>>> * Generating API tree:
>>> .....................................................................................................................................................................................................................................................................................
>>> * Finalising tree...
>>> * Writing JSON API file to build/script/data.js
>>> Traceback (most recent call last):
>>> File "../framework/tool/generator/generator.py", line 928, in ?
>>> main()
>>> File "../framework/tool/generator/generator.py", line 292, in main
>>> argparser(sys.argv[1:])
>>> File "../framework/tool/generator/generator.py", line 277, in argparser
>>> execute(fileDb, moduleDb, options, options.packageId)
>>> File "../framework/tool/generator/generator.py", line 734, in execute
>>> jsonContent = tree.nodeToJsonString(docTree, "", "", "")
>>> File
>>> "/development/www/qooxdoo/frontend/framework/tool/generator/modules/tree.py",
>>>
>>> line 208, in nodeToJsonString
>>> asString += '"' + key + '":"' +
>>> escapeJsonChars(node.attributes[key]) + '"'
>>> TypeError: cannot concatenate 'str' and 'NoneType' objects
>>> make[1]: *** [generate-data-build] Error 1
>>> make[1]: Leaving directory `/development/www/qooxdoo/frontend/api'
>>> make: *** [build] Error 2
>>>
>>> Is this a transient bug?
>>>
>>>
>>
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>> opinions on IT & business topics through brief surveys -- and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>
> --
> Mit freundlichen Grüßen
> Dietrich Streifert
> Visionet GmbH
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel