← Back to team overview

credativ team mailing list archive

Re: [Merge] lp:~therp-nl/openupgrade-server/7.0_migrate_script into lp:openupgrade-server

 

Review: Needs Information

Testing your script as I need to upgrade a database. I downloaded the script separately as follows

bzr cat -d lp:~therp-nl/openupgrade-server/7.0_migrate_script scripts/migrate.py > migrate.py
./migrate.py -D diflbv -C ../../diflbv.cfg -R 6.1 -A add.py

Contents of add.py:

{'6.1': {'addons': {'banking': 'lp:banking-addons/6.1'}}}

This gives the following exception:

  File "./migrate.py", line 115, in <module>
    merge_migrations=merge_migrations_mod.migrations
AttributeError: 'module' object has no attribute 'migrations'

Line 113 attempts to load a python module called 'merge_migrations_mod' which I do not have because I downloaded the script as a standalone file but which is not present in the bzr branch either. Did you forget to push a module at some point?

-- 
https://code.launchpad.net/~therp-nl/openupgrade-server/7.0_migrate_script/+merge/162607
Your team OpenUpgrade Committers is subscribed to branch lp:openupgrade-server.


References