[6.1]openerp-cron-worker crash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP Publisher's Warranty Team |
Bug Description
I noticed a bug when launching the openerp-
After the first execution, it raises an exception :
Traceback (most recent call last):
File "/usr/local/
openerp.
File "/usr/local/
openerp.
TypeError: post_request() takes exactly 2 arguments (3 given)
Indeed, the post_request method from wsgi.core takes only 3 arguments, but the ir_cron.py calls with 3 arguments.
Edit : after checking the code, it seems that it executes the faulty code only when the cpu time limit parameter is not 60, for instance when launching the openerp-cron-worker with --cpu-time-limit 300.
Related branches
- Martin Trigaux (OpenERP) (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedopenerp/addons/base/ir/ir_cron.py (+1/-1)
description: | updated |
Changed in openobject-server: | |
assignee: | nobody → OpenERP Publisher's Warranty Team (openerp-opw) |
status: | Won't Fix → New |
tags: | added: maintenance |
Changed in openobject-server: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in openobject-server: | |
milestone: | 7.0 → 6.1 |
Hello David,
I have checked your issue. But its working fine with this. I am not facing any kind of error with this. I have tried it with 4 workers, and I did the same which you had given in you bug description. but its working fine.
So, would you please check it again with and correct me I did any wrong.
Thanks & waiting for your answer.