Hi,
The make clean;make migration same error.
I have added
if fileId is None:
return
at ligne 277 in the migrator.py, the migration is OK.
Thanks for your help.
Bests regards
Sebastien Hupin
Fabian Jakobs-2 wrote:
>
> Hello Sebastien,
>> Hi,
>>
>> Congratulation for your work, I see the showcase and
>> the performance are better, the new "Ext" theme is beautiful.
>>
>> I have an error on migration 0.6.6 to 0.7 Alpha 2.
>>
>> Error :
>>
>> Traceback (most recent call last):
>> File
>> "../qooxdoo-0.7-alpha2-sdk/frontend/framework/tool/migrator.py",
>> line 588
>> , in ?
>> main()
>> File
>> "../qooxdoo-0.7-alpha2-sdk/frontend/framework/tool/migrator.py",
>> line 568
>> , in main
>> handle(fileDb, options, getNormalizedVersion(version),
>> verbose=options.verbo
>> se)
>> File
>> "../qooxdoo-0.7-alpha2-sdk/frontend/framework/tool/migrator.py",
>> line 294
>> , in handle
>> migrate(fileList, options, migrationTarget, encodings,
>> migrationInput, verbo
>> se)
>> File
>> "../qooxdoo-0.7-alpha2-sdk/frontend/framework/tool/migrator.py",
>> line 345
>> , in migrate
>> encoding=encodings[i])
>> File
>> "../qooxdoo-0.7-alpha2-sdk/frontend/framework/tool/migrator.py",
>> line 281
>> , in migrateFile
>> if patch.patch(fileId, tree):
>> File "/cygdrive/c/Program
>> Files/EasyPHP1-7/www/qooxdoo-0.7-alpha2-sdk/frontend
>> /framework/tool/migration/0.7/patch.py", line 128, in patch
>> classDefine, className, classMap, settingsMap,
>> variantsMap, propertiesMap, m
>> embersMap, staticsMap = createClassDefine(id)
>> File "/cygdrive/c/Program
>> Files/EasyPHP1-7/www/qooxdoo-0.7-alpha2-sdk/frontend
>> /framework/tool/migration/0.7/patch.py", line 402, in
>> createClassDefine
>> classDefine, className, classMap = createClassDefineCore(id)
>> File "/cygdrive/c/Program
>> Files/EasyPHP1-7/www/qooxdoo-0.7-alpha2-sdk/frontend
>> /framework/tool/migration/0.7/patch.py", line 387, in
>> createClassDefineCore
>> con = createConstant("string", id)
>> File "/cygdrive/c/Program
>> Files/EasyPHP1-7/www/qooxdoo-0.7-alpha2-sdk/frontend
>> /framework/tool/migration/0.7/patch.py", line 364, in
>> createConstant
>> constant.set("value", value)
>> File "/cygdrive/c/Program
>> Files/EasyPHP1-7/www/qooxdoo-0.7-alpha2-sdk/frontend
>> /framework/tool/modules/tree.py", line 71, in set
>> raise NodeAccessException("'value' is no string or number:
>> " + str(value), s
>> elf)
>> tree.NodeAccessException: 'value' is no string or number: None
>> make: *** [exec-migration] Error 1
>>
>
> first try to do a 'make clean' and retry again. If this doen't solve
> your problem, please add the following lines into the file
> qooxdoo-0.7-alpha2-sdk/frontend/framework/tool/migrator.py at line 277:
>
> if fileId is None:
> return
>
>
> I hope this helps,
> Best Fabian
>
> -------------------------------------------------------------------------
> 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
>
>
--
View this message in context:
http://www.nabble.com/Error-on-migrate-application-0.6.6-to-0.7-alpha-2-tf3536272.html#a9881860
Sent from the qooxdoo-devel mailing list archive at Nabble.com.
-------------------------------------------------------------------------
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