Re: [qooxdoo-devel] Migration of an individual file from 0.6.6 to 0.7
Brought to you by:
ecker,
martinwittemann
From: Daniel H. <dan...@gm...> - 2007-05-31 13:40:21
|
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 |