** Branch linked: lp:openobject-addons/extra-5.0
--
can't install label module on 5.0.14
https://bugs.launchpad.net/bugs/658419
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP OpenObject.
Status in OpenERP Spanish Localization Project: New
Status in OpenObject Addons Modules: Confirmed
Bug description:
The OS is ubuntu server 10.04.1. I'm using openerp 5.0.14 server and GTK client
as downloaded from the www.openerp.com site.
I have downloaded the full openerp branch and copied the label module from
addons-extra to the server's addons directory. My current revision of the
branch is 4571.
I have a fresh install and when I try to install the label module I got the
following error at the server:
[2010-10-11 16:34:57,945][test1] INFO:init:module base: loading objects
[2010-10-11 16:34:58,006][test1] INFO:init:updating modules list
[2010-10-11 16:34:58,010][test1] INFO:init:module base: loading objects
[2010-10-11 16:34:58,070][test1] INFO:init:module base_setup: loading objects
[2010-10-11 16:34:58,070][test1] INFO:init:module label: loading objects
[2010-10-11 16:34:58,070][test1] INFO:init:module label: registering objects
[2010-10-11 16:34:58,240][test1] INFO:init:module label: creating or updating
database tables
[2010-10-11 16:34:59,116][test1] INFO:init:module label: no quality certificate
[2010-10-11 16:34:59,116][test1] INFO:init:module label: loading
report_label_data.xml
[2010-10-11 16:35:00,157][test1] INFO:init:module label: loading label_data.xml
[2010-10-11 16:35:01,021][test1] ERROR:init:[01]:
[2010-10-11 16:35:01,022][test1] ERROR:init:[02]: Environment Information :
[2010-10-11 16:35:01,022][test1] ERROR:init:[03]: System :
Linux-2.6.32-25-generic-pae-i686-with-Ubuntu-10.04-lucid
[2010-10-11 16:35:01,022][test1] ERROR:init:[04]: OS Name : posix
[2010-10-11 16:35:01,022][test1] ERROR:init:[05]: Distributor ID: Ubuntu
[2010-10-11 16:35:01,022][test1] ERROR:init:[06]: Description: Ubuntu 10.04.1
LTS
[2010-10-11 16:35:01,023][test1] ERROR:init:[07]: Release: 10.04
[2010-10-11 16:35:01,023][test1] ERROR:init:[08]: Codename: lucid
[2010-10-11 16:35:01,023][test1] ERROR:init:[09]: Operating System Release :
2.6.32-25-generic-pae
[2010-10-11 16:35:01,023][test1] ERROR:init:[10]: Operating System Version :
#44-Ubuntu SMP Fri Sep 17 21:57:48 UTC 2010
[2010-10-11 16:35:01,023][test1] ERROR:init:[11]: Operating System Architecture
: 32bit
[2010-10-11 16:35:01,023][test1] ERROR:init:[12]: Operating System Locale : NOT
SET
[2010-10-11 16:35:01,024][test1] ERROR:init:[13]: Python Version : 2.6.5
[2010-10-11 16:35:01,024][test1] ERROR:init:[14]: OpenERP-Server Version :
5.0.14
[2010-10-11 16:35:01,024][test1] ERROR:init:[15]: Last revision No. & ID :
[2010-10-11 16:35:01,024][test1] ERROR:init:[16]: <record
id="label_templates_partner0" model="label.templates">
[2010-10-11 16:35:01,024][test1] ERROR:init:[17]: <field
eval="'Partner'" name="name"/>
[2010-10-11 16:35:01,024][test1] ERROR:init:[18]: <field
eval="'res.partner'" name="model_int_name"/>
[2010-10-11 16:35:01,025][test1] ERROR:init:[19]: <field
eval="'object.address/o.country_id.name'" name="sort_field1"/>
[2010-10-11 16:35:01,025][test1] ERROR:init:[20]: <field
eval="'object.address/o.state_id.name'" name="sort_field2"/>
[2010-10-11 16:35:01,025][test1] ERROR:init:[21]: <field
eval="[(6,0,[ref('base.group_partner_manager')])]" name="allowed_groups"/>
[2010-10-11 16:35:01,025][test1] ERROR:init:[22]: <field
name="object_name" ref="base.model_res_partner"/>
[2010-10-11 16:35:01,025][test1] ERROR:init:[23]: <field
eval=""""%for o in object.address:\n <blockTable
style="mytable">\n <tr><td>\n <b>${object.name
or ''}${object.title and ' '+object.title or ''}</b>\n ${o.title and
o.title+' ' or ''}${o.name or ''}\n ${o.street or ''}\n ${o.street2 or ''}\n
${o.zip or ''} ${o.city or ''}\n ${o.state_id.name or ''}\n ${o.country_id.name
or ''}\n </td></tr>\n </blockTable>\n <nextFrame/>\n
%endfor"""" name="def_body_text"/>
[2010-10-11 16:35:01,025][test1] ERROR:init:[24]: <field
eval=""""<blockTableStyle id='mytable'>\n
<blockAlignment value='CENTER' />\n <blockValign value='MIDDLE'
/>\n <lineStyle kind='GRID' colorName='black' tickness='1' />\n
</blockTableStyle>"""" name="report_stylesheets"/>
[2010-10-11 16:35:01,026][test1] ERROR:init:[25]: <field
name="type">xsl</field>
[2010-10-11 16:35:01,026][test1] ERROR:init:[26]: </record>
[2010-10-11 16:35:01,154][test1] ERROR:web-services:[01]:
[2010-10-11 16:35:01,154][test1] ERROR:web-services:[02]: Environment
Information :
[2010-10-11 16:35:01,155][test1] ERROR:web-services:[03]: System :
Linux-2.6.32-25-generic-pae-i686-with-Ubuntu-10.04-lucid
[2010-10-11 16:35:01,155][test1] ERROR:web-services:[04]: OS Name : posix
[2010-10-11 16:35:01,155][test1] ERROR:web-services:[05]: Distributor ID:
Ubuntu
[2010-10-11 16:35:01,155][test1] ERROR:web-services:[06]: Description: Ubuntu
10.04.1 LTS
[2010-10-11 16:35:01,155][test1] ERROR:web-services:[07]: Release: 10.04
[2010-10-11 16:35:01,155][test1] ERROR:web-services:[08]: Codename: lucid
[2010-10-11 16:35:01,155][test1] ERROR:web-services:[09]: Operating System
Release : 2.6.32-25-generic-pae
[2010-10-11 16:35:01,155][test1] ERROR:web-services:[10]: Operating System
Version : #44-Ubuntu SMP Fri Sep 17 21:57:48 UTC 2010
[2010-10-11 16:35:01,155][test1] ERROR:web-services:[11]: Operating System
Architecture : 32bit
[2010-10-11 16:35:01,155][test1] ERROR:web-services:[12]: Operating System
Locale : NOT SET
[2010-10-11 16:35:01,156][test1] ERROR:web-services:[13]: Python Version : 2.6.5
[2010-10-11 16:35:01,156][test1] ERROR:web-services:[14]: OpenERP-Server
Version : 5.0.14
[2010-10-11 16:35:01,156][test1] ERROR:web-services:[15]: Last revision No. &
ID :
[2010-10-11 16:35:01,156][test1] ERROR:web-services:[16]: Exception in call:
Traceback (most recent call last):
[2010-10-11 16:35:01,156][test1] ERROR:web-services:[17]: File
"/openerp/openerp-server/wizard/__init__.py", line 73, in execute_cr
[2010-10-11 16:35:01,156][test1] ERROR:web-services:[18]: action_res =
action(self, cr, uid, data, context)
[2010-10-11 16:35:01,156][test1] ERROR:web-services:[19]: File
"/openerp/openerp-server/addons/base/module/wizard/wizard_module_upgrade.py",
line 92, in _upgrade_module
[2010-10-11 16:35:01,156][test1] ERROR:web-services:[20]: db, pool =
pooler.restart_pool(cr.dbname, update_module=True)
[2010-10-11 16:35:01,156][test1] ERROR:web-services:[21]: File
"/openerp/openerp-server/pooler.py", line 62, in restart_pool
[2010-10-11 16:35:01,156][test1] ERROR:web-services:[22]: return
get_db_and_pool(db_name, force_demo, status, update_module=update_module)
[2010-10-11 16:35:01,157][test1] ERROR:web-services:[23]: File
"/openerp/openerp-server/pooler.py", line 40, in get_db_and_pool
[2010-10-11 16:35:01,157][test1] ERROR:web-services:[24]:
addons.load_modules(db, force_demo, status, update_module)
[2010-10-11 16:35:01,157][test1] ERROR:web-services:[25]: File
"/openerp/openerp-server/addons/__init__.py", line 736, in load_modules
[2010-10-11 16:35:01,157][test1] ERROR:web-services:[26]: r =
load_module_graph(cr, graph, status, report=report)
[2010-10-11 16:35:01,157][test1] ERROR:web-services:[27]: File
"/openerp/openerp-server/addons/__init__.py", line 626, in load_module_graph
[2010-10-11 16:35:01,157][test1] ERROR:web-services:[28]:
tools.convert_xml_import(cr, m, fp, idref, mode=mode, **kwargs)
[2010-10-11 16:35:01,157][test1] ERROR:web-services:[29]: File
"/openerp/openerp-server/tools/convert.py", line 877, in convert_xml_import
[2010-10-11 16:35:01,157][test1] ERROR:web-services:[30]:
obj.parse(doc.getroot())
[2010-10-11 16:35:01,157][test1] ERROR:web-services:[31]: File
"/openerp/openerp-server/tools/convert.py", line 774, in parse
[2010-10-11 16:35:01,157][test1] ERROR:web-services:[32]:
self._tags[rec.tag](self.cr, rec, n)
[2010-10-11 16:35:01,157][test1] ERROR:web-services:[33]: File
"/openerp/openerp-server/tools/convert.py", line 746, in _tag_record
[2010-10-11 16:35:01,158][test1] ERROR:web-services:[34]: id =
self.pool.get('ir.model.data')._update(cr, self.uid, rec_model, self.module,
res, rec_id or False, not self.isnoupdate(data_node),
noupdate=self.isnoupdate(data_node), mode=self.mode )
[2010-10-11 16:35:01,158][test1] ERROR:web-services:[35]: File
"/openerp/openerp-server/addons/base/ir/ir_model.py", line 515, in _update
[2010-10-11 16:35:01,158][test1] ERROR:web-services:[36]: res_id =
model_obj.create(cr, uid, values, context=context)
[2010-10-11 16:35:01,158][test1] ERROR:web-services:[37]: File
"/openerp/openerp-server/addons/label/label.py", line 332, in create
[2010-10-11 16:35:01,158][test1] ERROR:web-services:[38]: 'view_id':
self.pool.get('ir.ui.view').search(cr, uid, [('name', '=',
'label.wizard.form')], context=context)[0],
[2010-10-11 16:35:01,158][test1] ERROR:web-services:[39]: IndexError: list
index out of range
[2010-10-11 16:35:01,586][test1] INFO:init:module base: loading objects
[2010-10-11 16:35:01,668][test1] INFO:init:module base: loading objects
[2010-10-11 16:35:01,729][test1] INFO:init:module base_setup: loading objects
and this one at the client:
ERROR:common.message:Message list index out of range:
Environment Information :
System : Linux-2.6.32-25-generic-pae-i686-with-Ubuntu-10.04-lucid
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 10.04.1 LTS
Release: 10.04
Codename: lucid
Operating System Release : 2.6.32-25-generic-pae
Operating System Version : #44-Ubuntu SMP Fri Sep 17 21:57:48 UTC 2010
Operating System Architecture : 32bit
Operating System Locale : es_ES.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 5.0.14
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call
last):
File "/openerp/openerp-server/netsvc.py", line 256, in dispatch
result = LocalService(service_name)(method, *params)
File "/openerp/openerp-server/netsvc.py", line 76, in __call__
return getattr(self, method)(*params)
File "/openerp/openerp-server/service/web_services.py", line 633, in execute
return self._execute(db, uid, wiz_id, datas, action, context)
File "/openerp/openerp-server/service/web_services.py", line 613, in _execute
return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context)
File "/openerp/openerp-server/wizard/__init__.py", line 178, in execute
res = self.execute_cr(cr, uid, data, state, context)
File "/openerp/openerp-server/wizard/__init__.py", line 73, in execute_cr
action_res = action(self, cr, uid, data, context)
File
"/openerp/openerp-server/addons/base/module/wizard/wizard_module_upgrade.py",
line 92, in _upgrade_module
db, pool = pooler.restart_pool(cr.dbname, update_module=True)
File "/openerp/openerp-server/pooler.py", line 62, in restart_pool
return get_db_and_pool(db_name, force_demo, status,
update_module=update_module)
File "/openerp/openerp-server/pooler.py", line 40, in get_db_and_pool
addons.load_modules(db, force_demo, status, update_module)
File "/openerp/openerp-server/addons/__init__.py", line 736, in load_modules
r = load_module_graph(cr, graph, status, report=report)
File "/openerp/openerp-server/addons/__init__.py", line 626, in
load_module_graph
tools.convert_xml_import(cr, m, fp, idref, mode=mode, **kwargs)
File "/openerp/openerp-server/tools/convert.py", line 877, in
convert_xml_import
obj.parse(doc.getroot())
File "/openerp/openerp-server/tools/convert.py", line 774, in parse
self._tags[rec.tag](self.cr, rec, n)
File "/openerp/openerp-server/tools/convert.py", line 746, in _tag_record
id = self.pool.get('ir.model.data')._update(cr, self.uid, rec_model,
self.module, res, rec_id or False, not self.isnoupdate(data_node),
noupdate=self.isnoupdate(data_node), mode=self.mode )
File "/openerp/openerp-server/addons/base/ir/ir_model.py", line 515, in
_update
res_id = model_obj.create(cr, uid, values, context=context)
File "/openerp/openerp-server/addons/label/label.py", line 332, in create
'view_id': self.pool.get('ir.ui.view').search(cr, uid, [('name', '=',
'label.wizard.form')], context=context)[0],
IndexError: list index out of range
Thank your very much for any help to resolve this issue.
_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help : https://help.launchpad.net/ListHelp