Exception 'You try to upgrade a module that depends on the module

Asked by jugglefish

trying to run the migration script towards 6.0 I run into an exception:

Traceback (most recent call last):
  File "/opt/openupgrade/server/6.0/bin/openerp-server.py", line 121, in <module>
    db,pool = pooler.get_db_and_pool(dbname, update_module=tools.config['init'] or tools.config['update'], pooljobs=False)
  File "/opt/openupgrade/server/6.0/bin/pooler.py", line 39, in get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File "/opt/openupgrade/server/6.0/bin/addons/__init__.py", line 1000, in load_modules
    modobj.button_upgrade(cr, 1, ids)
  File "/opt/openupgrade/server/6.0/bin/addons/base/module/module.py", line 340, in button_upgrade
    raise orm.except_orm(_('Error'), _('You try to upgrade a module that depends on the module: %s.\nBut this module is not available in your system.') % (dep.name,))
osv.orm.except_orm: ('Error', u'You try to upgrade a module that depends on the module: report_analytic_planning.\nBut this module is not available in your system.')

In my database I have 'board_project' installed which depends on 'report_analytic_planning'.

Both of these modules seem not to be available anymore in 6.0.

Can you please give me some kind of advice on how to best tackle this problem?

Many thx and Greets,
Peter

Question information

Language:
English Edit question
Status:
Answered
For:
OpenUpgrade Server Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Stefan Rijnhart (Opener) (stefan-opener) said :
#1

Hi Jugglefish,

Could you please try adding these module names to the 'obsolete_modules' list in openupgrade-server/bin/addons/base/migrations/6.0.1.3/post-migration.py and rerun the migration on a fresh copy of your OpenERP 5 database.

Cheers,
Stefan.

Can you help with this problem?

Provide an answer of your own, or ask jugglefish for more information if necessary.

To post a message you must log in.