error at report load

Bug #1317059 reported by Yasin Zschiesche
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Aeroo Reports
New
Undecided
Unassigned

Bug Description

Hello Alistek-Team,

i get an error when i restart the openerp-server with an installed module that holds my report.

2014-05-07 11:57:44,247 846 INFO test_db openerp.addons.report_aeroo.report_aeroo: registering report.stock.picking.test.list (stock.picking)
Traceback (most recent call last):
  File "/home/yzschiesche/workspace/ecoservice_bzr/main_branches/openerp_server/7/openerp/modules/registry.py", line 200, in get
    return cls.registries[db_name]
KeyError: u'test_db'

I tested it with different db's and different reports. Everytime the same.
The report works fine. But this error occurs.

information type: Public → Public Security
information type: Public Security → Public
Revision history for this message
Anton Chepurov (anton-chepurov) wrote :

This bug has smth to do with multithreading.

Check this out:
http://www.alistek.com/forum/viewtopic.php?f=11&t=472

"""
Hi, the problem is, that registry.py was changed. See here:
http://bazaar.launchpad.net/~openerp/openobject-server/7.0/revision/5129#openerp/modules/registry.py

As a quick fix you can revert these changes and run OpenERP with one worker. Worked at least in my testings.

Best regards,
Goran
"""

Revision history for this message
Anton Chepurov (anton-chepurov) wrote :

Actually, I'm using the older version of registry.py (which doesn't obtain a lock) -- but I'm still getting the same error.

Revision history for this message
Yasin Zschiesche (y-zschiesche) wrote :

I tested it with the old registry and still get this error.

Revision history for this message
Yasin Zschiesche (y-zschiesche) wrote :

Hello Alistek-Team,

i posted this bug a month ago and its still in state 'new'.

Does anybody have a fix for this bug?
The registry.py solution doesn't work for me.

Best regards,
Yasin

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.