credativ team mailing list archive
-
credativ team
-
Mailing list archive
-
Message #05000
Re: [Bug 1043234] Re: AttributeError: 'Field name not found in browse_record(ir.module.category, 2)'
[options]
; This is the password that allows database operations:
; admin_passwd = admin
db_host = False
db_port = False
db_user = openerp
db_password = openerp
logfile = /var/log/openerp/openerp-server.log
addons = /opt/openerp/openupgrade-addons/
log-level = debug
debug=True
Stefan,
>From scanning the Database in Pgadmin, you are right about the
ir_module_category table migration being incomplete. The migrated one
only has 24 entries where as the original has 45.
If the migration script hits a category it does not know does it carry
on or just stop migrating that table?
Simon Vass
Managing Director
E-Tech Uganda Ltd
http://www.etech.ug
Tel: +256 (0) 312260620 or (0) 312260621
email: service_desk@xxxxxxxx
skype: e-techservicedesk
----- Original Message -----
From: "Stefan Rijnhart (Therp)" <1043234@xxxxxxxxxxxxxxxxxx>
To: svass@xxxxxxxx
Sent: Friday, 28 September, 2012 1:08:51 PM
Subject: [Bug 1043234] Re: AttributeError: 'Field name not found in browse_record(ir.module.category, 2)'
You do load a configuration file using a command line parameter. Could
you post or privately send me this file?
--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1043234
Title:
AttributeError: 'Field name not found in
browse_record(ir.module.category, 2)'
Status in OpenUpgrade Server:
Incomplete
Bug description:
When I run the migration script on my 6.0.4 db to update to 6.1 I get.
Traceback (most recent call last):
File "/opt/openerp/server/openerp-server", line 95, in preload_registry
db, registry = openerp.pooler.get_db_and_pool(dbname, update_module=config['init'] or config['update'], pooljobs=False)
File "/opt/openerp/server/openerp/pooler.py", line 33, in get_db_and_pool
registry = RegistryManager.get(db_name, force_demo, status, update_module, pooljobs)
File "/opt/openerp/server/openerp/modules/registry.py", line 180, in get
update_module, pooljobs)
File "/opt/openerp/server/openerp/modules/registry.py", line 202, in new
openerp.modules.load_modules(registry.db, force_demo, status, update_module)
File "/opt/openerp/server/openerp/modules/loading.py", line 471, in load_modules
modobj.update_list(cr, 1)
File "/opt/openerp/server/openerp/addons/base/module/module.py", line 497, in update_list
self._update_category(cr, uid, mod, terp.get('category', 'Uncategorized'))
File "/opt/openerp/server/openerp/addons/base/module/module.py", line 551, in _update_category
current_category_path.insert(0, current_category.name)
File "/opt/openerp/server/openerp/osv/orm.py", line 478, in __getattr__
raise AttributeError(e)
AttributeError: 'Field name not found in browse_record(ir.module.category, 2)'
To manage notifications about this bug go to:
https://bugs.launchpad.net/openupgrade-server/+bug/1043234/+subscriptions
--
You received this bug notification because you are a member of
OpenUpgrade Committers, which is subscribed to OpenUpgrade Server.
https://bugs.launchpad.net/bugs/1043234
Title:
AttributeError: 'Field name not found in
browse_record(ir.module.category, 2)'
Status in OpenUpgrade Server:
Incomplete
Bug description:
When I run the migration script on my 6.0.4 db to update to 6.1 I get.
Traceback (most recent call last):
File "/opt/openerp/server/openerp-server", line 95, in preload_registry
db, registry = openerp.pooler.get_db_and_pool(dbname, update_module=config['init'] or config['update'], pooljobs=False)
File "/opt/openerp/server/openerp/pooler.py", line 33, in get_db_and_pool
registry = RegistryManager.get(db_name, force_demo, status, update_module, pooljobs)
File "/opt/openerp/server/openerp/modules/registry.py", line 180, in get
update_module, pooljobs)
File "/opt/openerp/server/openerp/modules/registry.py", line 202, in new
openerp.modules.load_modules(registry.db, force_demo, status, update_module)
File "/opt/openerp/server/openerp/modules/loading.py", line 471, in load_modules
modobj.update_list(cr, 1)
File "/opt/openerp/server/openerp/addons/base/module/module.py", line 497, in update_list
self._update_category(cr, uid, mod, terp.get('category', 'Uncategorized'))
File "/opt/openerp/server/openerp/addons/base/module/module.py", line 551, in _update_category
current_category_path.insert(0, current_category.name)
File "/opt/openerp/server/openerp/osv/orm.py", line 478, in __getattr__
raise AttributeError(e)
AttributeError: 'Field name not found in browse_record(ir.module.category, 2)'
To manage notifications about this bug go to:
https://bugs.launchpad.net/openupgrade-server/+bug/1043234/+subscriptions
Follow ups
References