[7.0]meeting reminder failing

Bug #1191399 reported by Houssine
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
New
Low
OpenERP Publisher's Warranty Team

Bug Description

os : windows

to reproduce start from a new fresh db

create an event with reccuring option

for the until paramater give a end date ( e.g. next calendar date) set a reminder option(5min)

make the Run Event Reminder scheduler run

trying execute the function def get_recurrent_dates(rrulestring, exdate, startdate=None, exrule=None) of base_calendar.py

it fails with the following stack trace:

2013-06-15 22:24:55,983 2816 ERROR fusion openerp.addons.base.ir.ir_cron: Call of self.pool.get('calendar.alarm').do_run_scheduler(cr, uid, *(False,)) failed in Job 6
Traceback (most recent call last):
  File "C:\workspace_fusion\openerp_server\openerp\addons\base\ir\ir_cron.py", line 133, in _callback
    method(cr, uid, *args)
  File "C:\workspace_fusion\openerp_server\openerp\addons\base_calendar\base_calendar.py", line 861, in do_run_scheduler
    recurrent_dates = get_recurrent_dates(res_obj.rrule, res_obj.exdate, event_date, res_obj.exrule)
  File "C:\workspace_fusion\openerp_server\openerp\addons\base_calendar\base_calendar.py", line 66, in get_recurrent_dates
    return list(rset1)
  File "C:\Python27\lib\site-packages\python_dateutil-1.5-py2.7.egg\dateutil\rrule.py", line 869, in _iter
    self._genitem(rlist, gen)
  File "C:\Python27\lib\site-packages\python_dateutil-1.5-py2.7.egg\dateutil\rrule.py", line 829, in __init__
    self.dt = gen()
  File "C:\Python27\lib\site-packages\python_dateutil-1.5-py2.7.egg\dateutil\rrule.py", line 511, in _iter
    if until and res > until:
TypeError: can't compare offset-naive and offset-aware datetimes

Thanks for your help

Tags: maintenance

Related branches

Changed in openobject-addons:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
tags: added: maintenance
Revision history for this message
Martin Trigaux (OpenERP) (mat-openerp) wrote :

Hello,

We have merged a fix for this in 7.0, thanks for the report.

revno: 9929 [merge]
revision-id: <email address hidden>

Please note that this will not impact the existing events. If you have this issue with existing event, you need to force the recomputation (writing a change in recurrent parameters)

Changed in openobject-addons:
importance: Undecided → Low
Revision history for this message
Martin Trigaux (OpenERP) (mat-openerp) wrote :

Wrong commit reference, should be:

revno: 9930 [merge]
revision-id: <email address hidden>

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.