Thanks! Now it works fine;)
-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Fabian Jakobs
Gesendet: Montag, 16. Juli 2007 16:05
An: qooxdoo Development
Betreff: Re: [qooxdoo-devel] migration-error 0.6.6 to 0.7.x
Tobias Koller (GERMO GmbH) schrieb:
>
> Hi,
>
>
>
> I got the following error while migrate my application to 0.7.x
>
>
>
> Traceback (most recent call last):
>
> File
> "../../../../workspace/qooxdoo/frontend/framework/tool/migrator.py",
> line 614, in ?
>
> main()
>
> File
> "../../../../workspace/qooxdoo/frontend/framework/tool/migrator.py",
> line 593, in main
>
> handle(fileDb, options, getNormalizedVersion(version), htmlFiles,
> verbose=options.verbose)
>
> File
> "../../../../workspace/qooxdoo/frontend/framework/tool/migrator.py",
> line 305, in handle
>
> migrate(fileList, options, migrationTarget, encodings,
> migrationInput, verbose)
>
> File
> "../../../../workspace/qooxdoo/frontend/framework/tool/migrator.py",
> line 358, in migrate
>
> encoding=encodings[i])
>
> File
> "../../../../workspace/qooxdoo/frontend/framework/tool/migrator.py",
> line 288, in migrateFile
>
> if patch.patch(fileId, tree):
>
> File
> "/cygdrive/c/workspace/qooxdoo/frontend/framework/tool/migration/0.7-beta1/patch.py",
>
> line 134, in patch
>
> breakBefore = child.get("breakBefore")
>
> File
> "/cygdrive/c/workspace/qooxdoo/frontend/framework/tool/modules/tree.py",
> line 84, in get
>
> raise NodeAccessException("Node " + self.type + " has no attribute
> " + key, self)
>
> tree.NodeAccessException: Node comment has no attribute breakBefore
>
> make: *** [exec-migration] Fehler 1
>
>
>
>
>
> what could it be?
>
>
>
Hi Tobias,
I think you hit a bug in the patch script. Please try to change the line
134 of file frontend/framework/tool/migration/0.7-beta1/patch.py:
breakBefore = child.get("breakBefore")
into:
breakBefore = child.get("breakBefore", False)
if breakBefore == None:
breakBefore = False
I have fixed it in svn now.
Best Fabian
--
Fabian Jakobs
JavaScript Framework Developer
1&1 Internet AG
Brauerstraße 48
76135 Karlsruhe
Amtsgericht Montabaur HRB 6484
Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Andreas Gauger,
Matthias Greve, Robert Hoffmann, Norbert Lang, Achim Weiss
Aufsichtsratsvorsitzender: Michael Scheeren
-------------------------------------------------------------------------
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