[6.1] missing timezone results in cron exception

Bug #969063 reported by jugglefish
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
New
Undecided
Unassigned

Bug Description

2012-03-30 09:44:33,150 4627 WARNING ? openerp.addons.base.ir.ir_cron: Exception in cron:
Traceback (most recent call last):
  File "/opt/openerp/server/6.1/openerp/addons/base/ir/ir_cron.py", line 254, in _run_jobs_multithread
    next_call = calendar.timegm(time.strptime(next_call, DEFAULT_SERVER_DATETIME_FORMAT))
AttributeError: _strptime_time
2012-03-30 09:58:10,411 4627 INFO ? openerp.netsvc: Stopping 0 services

could be fixed by adding a proper --timezone setting.

there should be a sensible default or a better hint on solving the exception.

Revision history for this message
jugglefish (pniederlag) wrote :
Revision history for this message
jugglefish (pniederlag) wrote :

well, exception unfortunatly is back again, even with timezone = Europe/Berlin

2012-03-30 10:47:13,390 6435 WARNING ? openerp.addons.base.ir.ir_cron: Exception in cron:
Traceback (most recent call last):
  File "/opt/openerp/server/6.1/openerp/addons/base/ir/ir_cron.py", line 254, in _run_jobs_multithread
    next_call = calendar.timegm(time.strptime(next_call, DEFAULT_SERVER_DATETIME_FORMAT))
AttributeError: _strptime_time

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.