c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #01361
[Bug 667371] [NEW] openerp V6.0 RC 1 Error when after exclude range in meetings
Public bug reported:
After excluding some dates from recurency meeting a receive this message
and can't get in meeting views
same probleme in GTK and web
Platform Ubuntu 9.1
[code]
Environment Information :
System : Windows-XP-5.1.2600-SP3
OS Name : nt
Operating System Release : XP
Operating System Version : 5.1.2600
Operating System Architecture : 32bit
Operating System Locale : fr_FR.cp1252
Python Version : 2.5.2
OpenERP-Client Version : 6.0.0-rc1-1
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 586, in dispatch
res = fn(db, uid, *params)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 57, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 140, in execute
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 130, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base_calendar/base_calendar.py", line 1437, in search
res = self.get_recurrent_ids(cr, uid, res, start_date, until_date, limit)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base_calendar/base_calendar.py", line 1335, in get_recurrent_ids
rdates = get_recurrent_dates(str(new_rrule_str), exdate, start_date, data['exrule'])
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base_calendar/base_calendar.py", line 63, in get_recurrent_dates
return list(rset1._iter())
File "/usr/local/lib/python2.6/dist-packages/python_dateutil-1.4.1-py2.6.egg/dateutil/rrule.py", line 875, in _iter
self._genitem(exlist, gen)
File "/usr/local/lib/python2.6/dist-packages/python_dateutil-1.4.1-py2.6.egg/dateutil/rrule.py", line 829, in __init__
self.dt = gen()
File "/usr/local/lib/python2.6/dist-packages/python_dateutil-1.4.1-py2.6.egg/dateutil/rrule.py", line 511, in _iter
if until and res > until:
TypeError: can't compare offset-naive and offset-aware datetimes
[code]
** Affects: openobject-addons
Importance: Undecided
Status: New
--
openerp V6.0 RC 1 Error when after exclude range in meetings
https://bugs.launchpad.net/bugs/667371
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Addons Modules: New
Bug description:
After excluding some dates from recurency meeting a receive this message and can't get in meeting views
same probleme in GTK and web
Platform Ubuntu 9.1
[code]
Environment Information :
System : Windows-XP-5.1.2600-SP3
OS Name : nt
Operating System Release : XP
Operating System Version : 5.1.2600
Operating System Architecture : 32bit
Operating System Locale : fr_FR.cp1252
Python Version : 2.5.2
OpenERP-Client Version : 6.0.0-rc1-1
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 586, in dispatch
res = fn(db, uid, *params)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 57, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 140, in execute
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 130, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base_calendar/base_calendar.py", line 1437, in search
res = self.get_recurrent_ids(cr, uid, res, start_date, until_date, limit)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base_calendar/base_calendar.py", line 1335, in get_recurrent_ids
rdates = get_recurrent_dates(str(new_rrule_str), exdate, start_date, data['exrule'])
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base_calendar/base_calendar.py", line 63, in get_recurrent_dates
return list(rset1._iter())
File "/usr/local/lib/python2.6/dist-packages/python_dateutil-1.4.1-py2.6.egg/dateutil/rrule.py", line 875, in _iter
self._genitem(exlist, gen)
File "/usr/local/lib/python2.6/dist-packages/python_dateutil-1.4.1-py2.6.egg/dateutil/rrule.py", line 829, in __init__
self.dt = gen()
File "/usr/local/lib/python2.6/dist-packages/python_dateutil-1.4.1-py2.6.egg/dateutil/rrule.py", line 511, in _iter
if until and res > until:
TypeError: can't compare offset-naive and offset-aware datetimes
[code]
Follow ups
References