Daniel,

I've applied a quick fix for this problem (r8323). Please give it a try.
The immediate fix to avoid the exception is trivial, but there might be
some not-so-obvious side effects. Let us know.

=Thomas
> Hello Fabian,
>
> I have just tried to do the migration again with the current svn 8319.
>
> Now the migration process won't complete anymore.
>
> The first line in question is
> function getData(identifier, value) {
>
> The other lines are also functions in that style.
> It seems that the migration script doesn't like functions anymore that 
> aren't in the style of
> qx.Proto.getData = function(identifier, value) {
>
> Is this intended?
>
> Here is the error log:
> Do you want to start the migration now? [no] : yes
>
> UPGRADE TO 0.7-beta1
> ----------------------------------------------------------------------------
>    * Processing script files:
>    - File: source/class/timeit/UI.js
>        - Could not move element function at line 1001
>        - Could not move element function at line 1055
>        - Could not move element function at line 1073
>        - Could not move element function at line 1085
>        - Could not move element function at line 1105
>        - Could not move element function at line 1291
>        - Could not move element function at line 1304
>        - Could not move element function at line 1311
>        - Could not convert 8 elements.
> Traceback (most recent call last):
>    File "../../qooxdoo-trunk-sdk/frontend/framework/tool/migrator.py", 
> line 611,
> in ?
>      main()
>    File "../../qooxdoo-trunk-sdk/frontend/framework/tool/migrator.py", 
> line 590,
> in main
>      handle(fileDb, options, getNormalizedVersion(version), htmlFiles, 
> verbose=o
> tions.verbose)
>    File "../../qooxdoo-trunk-sdk/frontend/framework/tool/migrator.py", 
> line 302,
> in handle
>      migrate(fileList, options, migrationTarget, encodings, 
> migrationInput, verb
> se)
>    File "../../qooxdoo-trunk-sdk/frontend/framework/tool/migrator.py", 
> line 355,
> in migrate
>      encoding=encodings[i])
>    File "../../qooxdoo-trunk-sdk/frontend/framework/tool/migrator.py", 
> line 287,
> in migrateFile
>      patchedContent = compiler.compile(tree, options)
>    File 
> "/cygdrive/c/qooxdoo/qooxdoo-trunk-sdk/frontend/framework/tool/modules/c
> mpiler.py", line 412, in compile
>      compileNode(node,opts)
>    File 
> "/cygdrive/c/qooxdoo/qooxdoo-trunk-sdk/frontend/framework/tool/modules/c
> mpiler.py", line 1172, in compileNode
>      compileNode(child,optns)
>    File 
> "/cygdrive/c/qooxdoo/qooxdoo-trunk-sdk/frontend/framework/tool/modules/c
> mpiler.py", line 1172, in compileNode
>      compileNode(child,optns)
>    File 
> "/cygdrive/c/qooxdoo/qooxdoo-trunk-sdk/frontend/framework/tool/modules/c
> mpiler.py", line 1172, in compileNode
>      compileNode(child,optns)
>    File 
> "/cygdrive/c/qooxdoo/qooxdoo-trunk-sdk/frontend/framework/tool/modules/c
> mpiler.py", line 1172, in compileNode
>      compileNode(child,optns)
>    File 
> "/cygdrive/c/qooxdoo/qooxdoo-trunk-sdk/frontend/framework/tool/modules/c
> mpiler.py", line 1172, in compileNode
>      compileNode(child,optns)
>    File 
> "/cygdrive/c/qooxdoo/qooxdoo-trunk-sdk/frontend/framework/tool/modules/c
> mpiler.py", line 1172, in compileNode
>      compileNode(child,optns)
>    File 
> "/cygdrive/c/qooxdoo/qooxdoo-trunk-sdk/frontend/framework/tool/modules/c
> mpiler.py", line 1172, in compileNode
>      compileNode(child,optns)
>    File 
> "/cygdrive/c/qooxdoo/qooxdoo-trunk-sdk/frontend/framework/tool/modules/c
> mpiler.py", line 1172, in compileNode
>      compileNode(child,optns)
>    File 
> "/cygdrive/c/qooxdoo/qooxdoo-trunk-sdk/frontend/framework/tool/modules/c
> mpiler.py", line 1172, in compileNode
>      compileNode(child,optns)
>    File 
> "/cygdrive/c/qooxdoo/qooxdoo-trunk-sdk/frontend/framework/tool/modules/c
> mpiler.py", line 1172, in compileNode
>      compileNode(child,optns)
>    File 
> "/cygdrive/c/qooxdoo/qooxdoo-trunk-sdk/frontend/framework/tool/modules/c
> mpiler.py", line 1172, in compileNode
>      compileNode(child,optns)
>    File 
> "/cygdrive/c/qooxdoo/qooxdoo-trunk-sdk/frontend/framework/tool/modules/c
> mpiler.py", line 814, in compileNode
>      if not node.getPreviousSibling(True).type == "case":
>    File 
> "/cygdrive/c/qooxdoo/qooxdoo-trunk-sdk/frontend/framework/tool/modules/t
> ee.py", line 450, in getPreviousSibling
>      raise NodeAccessException("Node " + self.type + " has no previous 
> sibling",
> self)
> tree.NodeAccessException: Node default has no previous sibling
> make: *** [exec-migration] Error 1
>
>
>
>
> Regards,
> Daniel Haferkorn
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to