[7.0] missing arguments to logging statement in workers.py
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Fix Committed
|
Undecided
|
Unassigned | |||
OpenERP Community Backports (Server) | Status tracked in 7.0 | |||||
7.0 |
Fix Released
|
Undecided
|
Alexandre Fayolle - camptocamp |
Bug Description
in openerp/
def time_expired(n, stack):
There is a missing parameter, which cause a stack trace in the logging module:
Traceback (most recent call last):
File "/usr/lib/
msg = self.format(record)
File "/usr/lib/
return fmt.format(record)
File "/home/
logging.
File "/home/
try:
File "/usr/lib/
record.message = record.getMessage()
File "/usr/lib/
msg = msg % self.args
TypeError: not enough arguments for format string
Related branches
- Lionel Sausin - Initiatives/Numérigraphe (community): Approve (code review, not test)
- OpenERP Core Team: Pending requested
-
Diff: 12 lines (+1/-1)1 file modifiedopenerp/service/workers.py (+1/-1)
- Guewen Baconnier @ Camptocamp: Approve (code review)
- Nicolas Bessi - Camptocamp (community): Approve
- Yannick Vaucher @ Camptocamp: Approve (code review, no test)
- Pedro Manuel Baeza: Approve (code review)
-
Diff: 12 lines (+1/-1)1 file modifiedopenerp/service/workers.py (+1/-1)
Changed in openobject-server: | |
assignee: | nobody → Alexandre Fayolle - camptocamp (alexandre-fayolle-c2c) |
assignee: | Alexandre Fayolle - camptocamp (alexandre-fayolle-c2c) → nobody |
Changed in openobject-server: | |
status: | New → Fix Committed |