← Back to team overview

openupgrade-drivers team mailing list archive

Re: [Question #227563]: Testing Base module migration

 

Question #227563 on OpenUpgrade Server changed:
https://answers.launchpad.net/openupgrade-server/+question/227563

Khaled Sharara posted a new comment:
This is the complete log:

ubuntu@playground-sharara:~$ openupgrade-server/openerp-server --update=base --stop-after-init --database=new_database --addons-path=openupgrade-addons/
/usr/lib/python2.7/dist-packages/babel/__init__.py:33: UserWarning: Module openerp was already imported from /home/ubuntu/openupgrade-server/openerp/__init__.pyc, but /usr/local/lib/python2.7/dist-packages/openerp-6.1_20130312_004213-py2.7.egg is being added to sys.path
  from pkg_resources import get_distribution, ResolutionError
2013-05-03 10:15:55,559 14192 INFO ? openerp: OpenERP version 7.0
2013-05-03 10:15:55,559 14192 INFO ? openerp: addons paths: /home/ubuntu/openupgrade-addons
2013-05-03 10:15:55,559 14192 INFO ? openerp: database hostname: localhost
2013-05-03 10:15:55,559 14192 INFO ? openerp: database port: 5432
2013-05-03 10:15:55,559 14192 INFO ? openerp: database user: ubuntu
2013-05-03 10:15:55,559 14192 INFO new_database openerp.modules.loading: loading 1 modules...
2013-05-03 10:15:55,559 14192 INFO new_database openerp.modules.migration: module base: Running migration [>7.0.1.3] pre-migration
2013-05-03 10:15:55,559 14192 INFO new_database OpenUpgrade: base: pre-migration script called with version 6.1.1.3
2013-05-03 10:15:55,559 14192 DEBUG new_database OpenUpgrade: Running UPDATE ir_module_module SET name = %s WHERE name = %s
2013-05-03 10:15:55,559 14192 DEBUG new_database OpenUpgrade: 1 rows affected
2013-05-03 10:15:55,559 14192 DEBUG new_database OpenUpgrade: Running UPDATE ir_model_data SET module = %s WHERE module = %s 
2013-05-03 10:15:55,559 14192 DEBUG new_database OpenUpgrade: 0 rows affected
2013-05-03 10:15:55,559 14192 DEBUG new_database OpenUpgrade: Running UPDATE ir_module_module SET name = %s WHERE name = %s
2013-05-03 10:15:55,559 14192 DEBUG new_database OpenUpgrade: 1 rows affected
2013-05-03 10:15:55,559 14192 DEBUG new_database OpenUpgrade: Running UPDATE ir_model_data SET module = %s WHERE module = %s 
2013-05-03 10:15:55,559 14192 DEBUG new_database OpenUpgrade: 0 rows affected
2013-05-03 10:15:55,559 14192 DEBUG new_database OpenUpgrade: Running UPDATE ir_module_module SET name = %s WHERE name = %s
2013-05-03 10:15:55,559 14192 DEBUG new_database OpenUpgrade: 1 rows affected
2013-05-03 10:15:55,559 14192 DEBUG new_database OpenUpgrade: Running UPDATE ir_model_data SET module = %s WHERE module = %s 
2013-05-03 10:15:55,559 14192 DEBUG new_database OpenUpgrade: 0 rows affected
2013-05-03 10:15:55,559 14192 DEBUG new_database OpenUpgrade: Running UPDATE ir_module_module SET name = %s WHERE name = %s
2013-05-03 10:15:55,559 14192 DEBUG new_database OpenUpgrade: 1 rows affected
2013-05-03 10:15:55,559 14192 DEBUG new_database OpenUpgrade: Running UPDATE ir_model_data SET module = %s WHERE module = %s 
2013-05-03 10:15:55,559 14192 DEBUG new_database OpenUpgrade: 0 rows affected
2013-05-03 10:15:55,559 14192 DEBUG new_database OpenUpgrade: Running UPDATE ir_module_module SET name = %s WHERE name = %s
2013-05-03 10:15:55,559 14192 DEBUG new_database OpenUpgrade: 1 rows affected
2013-05-03 10:15:55,559 14192 DEBUG new_database OpenUpgrade: Running UPDATE ir_model_data SET module = %s WHERE module = %s 
2013-05-03 10:15:55,559 14192 DEBUG new_database OpenUpgrade: 0 rows affected
2013-05-03 10:15:55,559 14192 INFO new_database OpenUpgrade: table ir_actions_todo: drop column action_id
2013-05-03 10:15:55,559 14192 INFO new_database OpenUpgrade: table res_users, column date: renaming to login_date
2013-05-03 10:15:55,559 14192 INFO new_database OpenUpgrade: table res_users, column user_email: renaming to openupgrade_legacy_7_0_user_email
2013-05-03 10:15:55,559 14192 INFO new_database OpenUpgrade: table ir_attachment, column datas: renaming to db_datas
2013-05-03 10:15:56,331 14192 INFO new_database openerp.modules.module: module base: creating or updating database tables
2013-05-03 10:15:56,699 14192 INFO new_database openerp.osv.orm: Computing parent left and right for table ir_ui_menu...
2013-05-03 10:15:59,563 14192 INFO new_database openerp.osv.orm: column logo (Logo) in table res_company removed: converted to a function !

2013-05-03 10:15:59,563 14192 INFO new_database openerp.osv.orm: storing computed values of fields.function 'needaction_enabled'
2013-05-03 10:15:59,563 14192 INFO new_database openerp.osv.orm: storing computed values of fields.function 'logo_web'
2013-05-03 10:15:59,563 14192 INFO new_database openerp.osv.orm: storing computed values of fields.function 'image_medium'
2013-05-03 10:15:59,563 14192 INFO new_database openerp.osv.orm: storing computed values of fields.function 'image_small'
2013-05-03 10:15:59,563 14192 INFO new_database openerp.modules.loading: module base: loading base_data.xml
2013-05-03 10:15:59,563 14192 INFO new_database openerp.modules.loading: module base: loading currency_data.xml
2013-05-03 10:16:01,565 14192 INFO new_database openerp.modules.loading: module base: loading res/res_country_data.xml
2013-05-03 10:16:02,299 14192 INFO new_database openerp.modules.loading: module base: loading security/base_security.xml
2013-05-03 10:16:02,299 14192 ERROR new_database openerp.osv.orm: Can't find field 'context_tz' in the following view parts composing the view of object model 'res.users':
 * res.users.form

Either you wrongly customized this view, or some modules bringing those views are not compatible with your current data model
2013-05-03 10:16:02,299 14192 ERROR new_database openerp.osv.orm: Can't find field 'menu_tips' in the following view parts composing the view of object model 'res.users':
 * res.users.form

Either you wrongly customized this view, or some modules bringing those views are not compatible with your current data model
2013-05-03 10:16:02,299 14192 ERROR new_database openerp.osv.orm: Can't find field 'context_lang' in the following view parts composing the view of object model 'res.users':
 * res.users.form

Either you wrongly customized this view, or some modules bringing those views are not compatible with your current data model
2013-05-03 10:16:02,299 14192 INFO new_database openerp.modules.loading: module base: loading base_menu.xml
2013-05-03 10:16:02,566 14192 INFO new_database openerp.modules.loading: module base: loading res/res_security.xml
2013-05-03 10:16:02,566 14192 INFO new_database openerp.modules.loading: module base: loading res/res_config.xml
2013-05-03 10:16:02,566 14192 INFO new_database openerp.modules.loading: module base: loading data/res.country.state.csv
2013-05-03 10:16:02,566 14192 INFO new_database openerp.modules.loading: module base: loading ir/wizard/wizard_menu_view.xml
2013-05-03 10:16:02,566 14192 INFO new_database openerp.modules.loading: module base: loading ir/ir_actions.xml
2013-05-03 10:16:03,027 14192 INFO new_database openerp.modules.loading: module base: loading ir/ir_attachment_view.xml
2013-05-03 10:16:03,027 14192 INFO new_database openerp.modules.loading: module base: loading ir/ir_config_parameter_view.xml
2013-05-03 10:16:03,027 14192 INFO new_database openerp.modules.loading: module base: loading ir/ir_cron_view.xml
2013-05-03 10:16:03,475 14192 INFO new_database openerp.modules.loading: module base: loading ir/ir_filters.xml
2013-05-03 10:16:03,550 14192 INFO new_database openerp.modules.loading: module base: loading ir/ir_mail_server_view.xml
2013-05-03 10:16:03,733 14192 INFO new_database openerp.modules.loading: module base: loading ir/ir_model_view.xml
2013-05-03 10:16:03,764 14192 INFO new_database openerp.modules.loading: module base: loading ir/ir_rule_view.xml
2013-05-03 10:16:03,764 14192 INFO new_database openerp.modules.loading: module base: loading ir/ir_sequence_view.xml
2013-05-03 10:16:03,764 14192 INFO new_database openerp.modules.loading: module base: loading ir/ir_translation_view.xml
2013-05-03 10:16:03,764 14192 INFO new_database openerp.modules.loading: module base: loading ir/ir_ui_menu_view.xml
2013-05-03 10:16:03,764 14192 INFO new_database openerp.modules.loading: module base: loading ir/ir_ui_view_view.xml
2013-05-03 10:16:04,471 14192 INFO new_database openerp.modules.loading: module base: loading ir/ir_values_view.xml
2013-05-03 10:16:04,471 14192 INFO new_database openerp.modules.loading: module base: loading ir/osv_memory_autovacuum.xml
2013-05-03 10:16:04,471 14192 INFO new_database openerp.modules.loading: module base: loading ir/report/ir_report.xml
2013-05-03 10:16:04,471 14192 INFO new_database openerp.modules.loading: module base: loading ir/workflow/workflow_view.xml
2013-05-03 10:16:04,471 14192 INFO new_database openerp.modules.loading: module base: loading module/module_view.xml
2013-05-03 10:16:04,471 14192 INFO new_database openerp.modules.loading: module base: loading module/module_data.xml
2013-05-03 10:16:04,471 14192 ERROR new_database openerp.osv.orm: Can't find field 'context_tz' in the following view parts composing the view of object model 'res.users':
 * res.users.form

Either you wrongly customized this view, or some modules bringing those views are not compatible with your current data model
2013-05-03 10:16:04,471 14192 ERROR new_database openerp.osv.orm: Can't find field 'menu_tips' in the following view parts composing the view of object model 'res.users':
 * res.users.form

Either you wrongly customized this view, or some modules bringing those views are not compatible with your current data model
2013-05-03 10:16:04,471 14192 ERROR new_database openerp.osv.orm: Can't find field 'context_lang' in the following view parts composing the view of object model 'res.users':
 * res.users.form

Either you wrongly customized this view, or some modules bringing those views are not compatible with your current data model
2013-05-03 10:16:04,471 14192 ERROR new_database openerp.osv.orm: Can't find field 'context_tz' in the following view parts composing the view of object model 'res.users':
 * res.users.form

Either you wrongly customized this view, or some modules bringing those views are not compatible with your current data model
2013-05-03 10:16:04,471 14192 ERROR new_database openerp.osv.orm: Can't find field 'menu_tips' in the following view parts composing the view of object model 'res.users':
 * res.users.form

Either you wrongly customized this view, or some modules bringing those views are not compatible with your current data model
2013-05-03 10:16:04,471 14192 ERROR new_database openerp.osv.orm: Can't find field 'context_lang' in the following view parts composing the view of object model 'res.users':
 * res.users.form

Either you wrongly customized this view, or some modules bringing those views are not compatible with your current data model
2013-05-03 10:16:04,471 14192 ERROR new_database openerp.osv.orm: Can't find field 'context_tz' in the following view parts composing the view of object model 'res.users':
 * res.users.form

Either you wrongly customized this view, or some modules bringing those views are not compatible with your current data model
2013-05-03 10:16:04,471 14192 ERROR new_database openerp.osv.orm: Can't find field 'menu_tips' in the following view parts composing the view of object model 'res.users':
 * res.users.form

Either you wrongly customized this view, or some modules bringing those views are not compatible with your current data model
2013-05-03 10:16:04,471 14192 ERROR new_database openerp.osv.orm: Can't find field 'context_lang' in the following view parts composing the view of object model 'res.users':
 * res.users.form

Either you wrongly customized this view, or some modules bringing those views are not compatible with your current data model
2013-05-03 10:16:04,471 14192 ERROR new_database openerp.osv.orm: Can't find field 'context_tz' in the following view parts composing the view of object model 'res.users':
 * res.users.form

Either you wrongly customized this view, or some modules bringing those views are not compatible with your current data model
2013-05-03 10:16:04,471 14192 ERROR new_database openerp.osv.orm: Can't find field 'menu_tips' in the following view parts composing the view of object model 'res.users':
 * res.users.form

Either you wrongly customized this view, or some modules bringing those views are not compatible with your current data model
2013-05-03 10:16:04,471 14192 ERROR new_database openerp.osv.orm: Can't find field 'context_lang' in the following view parts composing the view of object model 'res.users':
 * res.users.form

Either you wrongly customized this view, or some modules bringing those views are not compatible with your current data model
2013-05-03 10:16:04,525 14192 ERROR new_database openerp.osv.orm: Can't find field 'context_tz' in the following view parts composing the view of object model 'res.users':
 * res.users.form

Either you wrongly customized this view, or some modules bringing those views are not compatible with your current data model
2013-05-03 10:16:04,525 14192 ERROR new_database openerp.osv.orm: Can't find field 'menu_tips' in the following view parts composing the view of object model 'res.users':
 * res.users.form

Either you wrongly customized this view, or some modules bringing those views are not compatible with your current data model
2013-05-03 10:16:04,525 14192 ERROR new_database openerp.osv.orm: Can't find field 'context_lang' in the following view parts composing the view of object model 'res.users':
 * res.users.form

Either you wrongly customized this view, or some modules bringing those views are not compatible with your current data model
2013-05-03 10:16:04,525 14192 ERROR new_database openerp.osv.orm: Can't find field 'context_tz' in the following view parts composing the view of object model 'res.users':
 * res.users.form

Either you wrongly customized this view, or some modules bringing those views are not compatible with your current data model
2013-05-03 10:16:04,525 14192 ERROR new_database openerp.osv.orm: Can't find field 'menu_tips' in the following view parts composing the view of object model 'res.users':
 * res.users.form

Either you wrongly customized this view, or some modules bringing those views are not compatible with your current data model
2013-05-03 10:16:04,525 14192 ERROR new_database openerp.osv.orm: Can't find field 'context_lang' in the following view parts composing the view of object model 'res.users':
 * res.users.form

Either you wrongly customized this view, or some modules bringing those views are not compatible with your current data model
2013-05-03 10:16:04,719 14192 ERROR new_database openerp.osv.orm: Can't find field 'context_tz' in the following view parts composing the view of object model 'res.users':
 * res.users.form

Either you wrongly customized this view, or some modules bringing those views are not compatible with your current data model
2013-05-03 10:16:04,719 14192 ERROR new_database openerp.osv.orm: Can't find field 'menu_tips' in the following view parts composing the view of object model 'res.users':
 * res.users.form

Either you wrongly customized this view, or some modules bringing those views are not compatible with your current data model
2013-05-03 10:16:04,719 14192 ERROR new_database openerp.osv.orm: Can't find field 'context_lang' in the following view parts composing the view of object model 'res.users':
 * res.users.form

Either you wrongly customized this view, or some modules bringing those views are not compatible with your current data model
2013-05-03 10:16:04,719 14192 ERROR new_database openerp.osv.orm: Can't find field 'context_tz' in the following view parts composing the view of object model 'res.users':
 * res.users.form

Either you wrongly customized this view, or some modules bringing those views are not compatible with your current data model
2013-05-03 10:16:04,719 14192 ERROR new_database openerp.osv.orm: Can't find field 'menu_tips' in the following view parts composing the view of object model 'res.users':
 * res.users.form

Either you wrongly customized this view, or some modules bringing those views are not compatible with your current data model
2013-05-03 10:16:04,719 14192 ERROR new_database openerp.osv.orm: Can't find field 'context_lang' in the following view parts composing the view of object model 'res.users':
 * res.users.form

Either you wrongly customized this view, or some modules bringing those views are not compatible with your current data model
2013-05-03 10:16:04,719 14192 INFO new_database openerp.modules.loading: module base: loading module/module_report.xml
2013-05-03 10:16:04,719 14192 INFO new_database openerp.modules.loading: module base: loading module/wizard/base_module_import_view.xml
2013-05-03 10:16:04,719 14192 INFO new_database openerp.modules.loading: module base: loading module/wizard/base_module_update_view.xml
2013-05-03 10:16:05,472 14192 INFO new_database openerp.modules.loading: module base: loading module/wizard/base_language_install_view.xml
2013-05-03 10:16:05,472 14192 INFO new_database openerp.modules.loading: module base: loading module/wizard/base_import_language_view.xml
2013-05-03 10:16:05,472 14192 INFO new_database openerp.modules.loading: module base: loading module/wizard/base_module_upgrade_view.xml
2013-05-03 10:16:05,472 14192 INFO new_database openerp.modules.loading: module base: loading module/wizard/base_module_configuration_view.xml
2013-05-03 10:16:05,472 14192 INFO new_database openerp.modules.loading: module base: loading module/wizard/base_export_language_view.xml
2013-05-03 10:16:05,472 14192 INFO new_database openerp.modules.loading: module base: loading module/wizard/base_update_translations_view.xml
2013-05-03 10:16:05,472 14192 INFO new_database openerp.modules.loading: module base: loading module/wizard/base_module_immediate_install.xml
2013-05-03 10:16:05,472 14192 INFO new_database openerp.modules.loading: module base: loading res/res_company_view.xml
2013-05-03 10:16:05,472 14192 INFO new_database openerp.modules.loading: module base: loading res/res_request_view.xml
2013-05-03 10:16:05,472 14192 INFO new_database openerp.modules.loading: module base: loading res/res_lang_view.xml
2013-05-03 10:16:05,472 14192 INFO new_database openerp.modules.loading: module base: loading res/res_partner_report.xml
2013-05-03 10:16:05,472 14192 INFO new_database openerp.modules.loading: module base: loading res/res_partner_view.xml
2013-05-03 10:16:06,298 14192 INFO new_database openerp.modules.loading: module base: loading res/res_partner_shortcut_data.xml
2013-05-03 10:16:06,298 14192 INFO new_database openerp.modules.loading: module base: loading res/res_bank_view.xml
2013-05-03 10:16:06,298 14192 INFO new_database openerp.modules.loading: module base: loading res/res_country_view.xml
2013-05-03 10:16:06,473 14192 INFO new_database openerp.modules.loading: module base: loading res/res_currency_view.xml
2013-05-03 10:16:06,473 14192 INFO new_database openerp.modules.loading: module base: loading res/wizard/change_password_wizard_view.xml
2013-05-03 10:16:06,473 14192 INFO new_database openerp.modules.loading: module base: loading res/res_users_view.xml
2013-05-03 10:16:06,473 14192 INFO new_database openerp.modules.loading: module base: loading res/res_partner_data.xml
2013-05-03 10:16:06,473 14192 INFO new_database openerp.modules.loading: module base: loading res/ir_property_view.xml
2013-05-03 10:16:06,473 14192 INFO new_database openerp.modules.loading: module base: loading security/base_security.xml
2013-05-03 10:16:06,473 14192 INFO new_database openerp.modules.loading: module base: loading security/ir.model.access.csv
2013-05-03 10:16:07,474 14192 INFO new_database openerp.modules.migration: module base: Running migration [7.0.1.3>] post-migration
2013-05-03 10:16:07,474 14192 INFO new_database OpenUpgrade: base: post-migration script called with version 6.1.1.3
2013-05-03 10:16:07,474 14192 DEBUG new_database OpenUpgrade: model ir.mail_server, field active: setting default value of resources [1] to True
2013-05-03 10:16:07,474 14192 DEBUG new_database OpenUpgrade: model ir.rule, field active: setting default value of resources [1, 8, 3, 2, 7, 4, 5, 6, 9, 16] to True
2013-05-03 10:16:07,474 14192 ERROR new_database OpenUpgrade: base: error in migration script /home/ubuntu/openupgrade-server/openerp/addons/base/migrations/7.0.1.3/post-migration.py: 'NoneType' object has no attribute 'is_transient'
2013-05-03 10:16:07,474 14192 ERROR new_database openerp.modules.loading: Error executing post migration script for module base
: 'NoneType' object has no attribute 'is_transient'
2013-05-03 10:16:07,474 14192 ERROR new_database openerp: Failed to initialize database `new_database`.
Traceback (most recent call last):
  File "/home/ubuntu/openupgrade-server/openerp/cli/server.py", line 98, in preload_registry
    db, registry = openerp.pooler.get_db_and_pool(dbname,update_module=update_module)
  File "/home/ubuntu/openupgrade-server/openerp/pooler.py", line 33, in get_db_and_pool
    registry = RegistryManager.get(db_name, force_demo, status, update_module)
  File "/home/ubuntu/openupgrade-server/openerp/modules/registry.py", line 192, in get
    update_module)
  File "/home/ubuntu/openupgrade-server/openerp/modules/registry.py", line 214, in new
    openerp.modules.load_modules(registry.db, force_demo, status, update_module)
  File "/home/ubuntu/openupgrade-server/openerp/modules/loading.py", line 470, in load_modules
    cr.close()
  File "/home/ubuntu/openupgrade-server/openerp/sql_db.py", line 161, in wrapper
    raise psycopg2.OperationalError(msg)
OperationalError: Unable to use a closed cursor.

-- 
You received this question notification because you are a member of
OpenUpgrade Drivers, which is an answer contact for OpenUpgrade Server.