credativ team mailing list archive
-
credativ team
-
Mailing list archive
-
Message #00348
[Bug 898070] [NEW] AssertionError: The report "report.bom.structure" already exists!
Public bug reported:
while installing the mrp module i got the trace back :
erver Traceback (most recent call last):
File "/home/amit/OpenERP/web/trunk/addons/web/common/openerplib/main.py", line 257, in send
result = openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/home/amit/OpenERP/server/trunk/openerp/netsvc.py", line 325, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/amit/OpenERP/server/trunk/openerp/service/web_services.py", line 580, in dispatch
res = fn(db, uid, *params)
File "/home/amit/OpenERP/server/trunk/openerp/osv/osv.py", line 120, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/amit/OpenERP/server/trunk/openerp/osv/osv.py", line 172, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/amit/OpenERP/server/trunk/openerp/osv/osv.py", line 163, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/amit/OpenERP/addons/trunk/base_setup/base_setup.py", line 311, in apply_cb
self.pool = pooler.restart_pool(cr.dbname, update_module=True)[1]
File "/home/amit/OpenERP/server/trunk/openerp/pooler.py", line 39, in restart_pool
registry = RegistryManager.new(db_name, force_demo, status, update_module, True)
File "/home/amit/OpenERP/server/trunk/openerp/modules/registry.py", line 160, in new
openerp.modules.load_modules(registry.db, force_demo, status, update_module)
File "/home/amit/OpenERP/server/trunk/openerp/modules/loading.py", line 336, in load_modules
processed = load_marked_modules(cr, graph, states_to_load, force, status, report, loaded_modules)
File "/home/amit/OpenERP/server/trunk/openerp/modules/loading.py", line 251, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules)
File "/home/amit/OpenERP/server/trunk/openerp/modules/loading.py", line 164, in load_module_graph
register_module_classes(package.name)
File "/home/amit/OpenERP/server/trunk/openerp/modules/module.py", line 334, in register_module_classes
__import__(m)
File "/home/amit/OpenERP/addons/trunk/mrp/__init__.py", line 26, in <module>
import report
File "/home/amit/OpenERP/addons/trunk/mrp/report/__init__.py", line 25, in <module>
import bom_structure
File "/home/amit/OpenERP/addons/trunk/mrp/report/bom_structure.py", line 61, in <module>
report_sxw.report_sxw('report.bom.structure','mrp.bom','mrp/report/bom_structure.rml',parser=bom_structure,header='internal')
File "/home/amit/OpenERP/server/trunk/openerp/report/report_sxw.py", line 380, in __init__
report_rml.__init__(self, name, table, rml, '')
File "/home/amit/OpenERP/server/trunk/openerp/report/interface.py", line 66, in __init__
super(report_rml, self).__init__(name)
File "/home/amit/OpenERP/server/trunk/openerp/report/interface.py", line 45, in __init__
assert not self.exists(name), 'The report "%s" already exists!' % name
AssertionError: The report "report.bom.structure" already exists!
** Affects: openobject-addons
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/898070
Title:
AssertionError: The report "report.bom.structure" already exists!
Status in OpenERP Addons (modules):
New
Bug description:
while installing the mrp module i got the trace back :
erver Traceback (most recent call last):
File "/home/amit/OpenERP/web/trunk/addons/web/common/openerplib/main.py", line 257, in send
result = openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/home/amit/OpenERP/server/trunk/openerp/netsvc.py", line 325, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/amit/OpenERP/server/trunk/openerp/service/web_services.py", line 580, in dispatch
res = fn(db, uid, *params)
File "/home/amit/OpenERP/server/trunk/openerp/osv/osv.py", line 120, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/amit/OpenERP/server/trunk/openerp/osv/osv.py", line 172, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/amit/OpenERP/server/trunk/openerp/osv/osv.py", line 163, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/amit/OpenERP/addons/trunk/base_setup/base_setup.py", line 311, in apply_cb
self.pool = pooler.restart_pool(cr.dbname, update_module=True)[1]
File "/home/amit/OpenERP/server/trunk/openerp/pooler.py", line 39, in restart_pool
registry = RegistryManager.new(db_name, force_demo, status, update_module, True)
File "/home/amit/OpenERP/server/trunk/openerp/modules/registry.py", line 160, in new
openerp.modules.load_modules(registry.db, force_demo, status, update_module)
File "/home/amit/OpenERP/server/trunk/openerp/modules/loading.py", line 336, in load_modules
processed = load_marked_modules(cr, graph, states_to_load, force, status, report, loaded_modules)
File "/home/amit/OpenERP/server/trunk/openerp/modules/loading.py", line 251, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules)
File "/home/amit/OpenERP/server/trunk/openerp/modules/loading.py", line 164, in load_module_graph
register_module_classes(package.name)
File "/home/amit/OpenERP/server/trunk/openerp/modules/module.py", line 334, in register_module_classes
__import__(m)
File "/home/amit/OpenERP/addons/trunk/mrp/__init__.py", line 26, in <module>
import report
File "/home/amit/OpenERP/addons/trunk/mrp/report/__init__.py", line 25, in <module>
import bom_structure
File "/home/amit/OpenERP/addons/trunk/mrp/report/bom_structure.py", line 61, in <module>
report_sxw.report_sxw('report.bom.structure','mrp.bom','mrp/report/bom_structure.rml',parser=bom_structure,header='internal')
File "/home/amit/OpenERP/server/trunk/openerp/report/report_sxw.py", line 380, in __init__
report_rml.__init__(self, name, table, rml, '')
File "/home/amit/OpenERP/server/trunk/openerp/report/interface.py", line 66, in __init__
super(report_rml, self).__init__(name)
File "/home/amit/OpenERP/server/trunk/openerp/report/interface.py", line 45, in __init__
assert not self.exists(name), 'The report "%s" already exists!' % name
AssertionError: The report "report.bom.structure" already exists!
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/898070/+subscriptions
Follow ups
References