Error while creating report on OpenERP 7.0 with multiple workers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OERPLib |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Oerplib fails to generate reports when OpenERP 7.0 is running in multi-process mode using 'workers=N'.
Steps to reproduce:
1. make sure that workers = N (where N > 0) is in openerp-server.conf
2. Create a new database with demo data enabled
3. install 'warehouse' and 'sale' modules. These modules will create demo sale order
4. Use the following snippet to see the error:
#======
import oerplib
oerp = oerplib.
oerp.login(
print oerp.report(
#======
The following error is produced:
Traceback (most recent call last):
File "/home/
print oerp.report(
File "/usr/local/
report_type, context)
File "/usr/local/
raise error.RPCError(
oerplib.
5. If you set workers = 0 in openerp-server.conf the snippet prints out the name of the temporary file in which report is contained
Hi,
Have you access to the server log?
I will attempt to reproduce the bug anyway!