openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #27789
[Bug 1318553] [NEW] [trunk] google calendar sync
Public bug reported:
Report folling indicate invalid field.
revision:
server 5217
openerp-web 4015
addons 9443
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/openerp-8.0alpha1-py2.7.egg/openerp/http.py", line 470, in dispatch
result = self._call_function(**self.params)
File "/usr/local/lib/python2.7/dist-packages/openerp-8.0alpha1-py2.7.egg/openerp/http.py", line 294, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/openerp-8.0alpha1-py2.7.egg/openerp/service/model.py", line 113, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/openerp-8.0alpha1-py2.7.egg/openerp/http.py", line 291, in checked_call
return self.endpoint(*a, **kw)
File "/usr/local/lib/python2.7/dist-packages/openerp-8.0alpha1-py2.7.egg/openerp/http.py", line 652, in __call__
return self.method(*args, **kw)
File "/usr/local/lib/python2.7/dist-packages/openerp-8.0alpha1-py2.7.egg/openerp/http.py", line 337, in response_wrap
response = f(*args, **kw)
File "/opt/openerp/addons/google_calendar/controllers/main.py", line 48, in sync_data
return gc_obj.synchronize_events(request.cr, request.uid, [], kw.get('local_context'))
File "/opt/openerp/addons/google_calendar/google_calendar.py", line 444, in synchronize_events
self.create_new_events(cr, uid, context=context)
File "/opt/openerp/addons/google_calendar/google_calendar.py", line 467, in create_new_events
], context=context_norecurrent)
File "/usr/local/lib/python2.7/dist-packages/openerp-8.0alpha1-py2.7.egg/openerp/osv/orm.py", line 1995, in search
return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
File "/usr/local/lib/python2.7/dist-packages/openerp-8.0alpha1-py2.7.egg/openerp/osv/orm.py", line 4641, in _search
query = self._where_calc(cr, user, args, context=context)
File "/usr/local/lib/python2.7/dist-packages/openerp-8.0alpha1-py2.7.egg/openerp/osv/orm.py", line 4467, in _where_calc
e = expression.expression(cr, user, domain, self, context)
File "/usr/local/lib/python2.7/dist-packages/openerp-8.0alpha1-py2.7.egg/openerp/osv/expression.py", line 645, in __init__
self.parse(cr, uid, context=context)
File "/usr/local/lib/python2.7/dist-packages/openerp-8.0alpha1-py2.7.egg/openerp/osv/expression.py", line 844, in parse
right_ids = relational_model.search(cr, uid, [(field_path[1], operator, right)], context=context)
File "/opt/openerp/addons/calendar/calendar.py", line 1413, in search
return super(calendar_event, self).search(cr, uid, new_args, offset=offset, limit=limit, order=order, context=context, count=count)
File "/usr/local/lib/python2.7/dist-packages/openerp-8.0alpha1-py2.7.egg/openerp/osv/orm.py", line 1995, in search
return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
File "/usr/local/lib/python2.7/dist-packages/openerp-8.0alpha1-py2.7.egg/openerp/osv/orm.py", line 4641, in _search
query = self._where_calc(cr, user, args, context=context)
File "/usr/local/lib/python2.7/dist-packages/openerp-8.0alpha1-py2.7.egg/openerp/osv/orm.py", line 4467, in _where_calc
e = expression.expression(cr, user, domain, self, context)
File "/usr/local/lib/python2.7/dist-packages/openerp-8.0alpha1-py2.7.egg/openerp/osv/expression.py", line 645, in __init__
self.parse(cr, uid, context=context)
File "/usr/local/lib/python2.7/dist-packages/openerp-8.0alpha1-py2.7.egg/openerp/osv/expression.py", line 809, in parse
raise ValueError("Invalid field %r in leaf %r" % (left, str(leaf)))
ValueError: Invalid field 'date_deadline' in leaf "<osv.ExtendedLeaf: ('date_deadline', '>', '2014-02-10 09:04:09') on calendar_event (ctx: )>"
** Affects: openobject-addons
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1318553
Title:
[trunk] google calendar sync
Status in OpenERP Addons (modules):
New
Bug description:
Report folling indicate invalid field.
revision:
server 5217
openerp-web 4015
addons 9443
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/openerp-8.0alpha1-py2.7.egg/openerp/http.py", line 470, in dispatch
result = self._call_function(**self.params)
File "/usr/local/lib/python2.7/dist-packages/openerp-8.0alpha1-py2.7.egg/openerp/http.py", line 294, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/openerp-8.0alpha1-py2.7.egg/openerp/service/model.py", line 113, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/openerp-8.0alpha1-py2.7.egg/openerp/http.py", line 291, in checked_call
return self.endpoint(*a, **kw)
File "/usr/local/lib/python2.7/dist-packages/openerp-8.0alpha1-py2.7.egg/openerp/http.py", line 652, in __call__
return self.method(*args, **kw)
File "/usr/local/lib/python2.7/dist-packages/openerp-8.0alpha1-py2.7.egg/openerp/http.py", line 337, in response_wrap
response = f(*args, **kw)
File "/opt/openerp/addons/google_calendar/controllers/main.py", line 48, in sync_data
return gc_obj.synchronize_events(request.cr, request.uid, [], kw.get('local_context'))
File "/opt/openerp/addons/google_calendar/google_calendar.py", line 444, in synchronize_events
self.create_new_events(cr, uid, context=context)
File "/opt/openerp/addons/google_calendar/google_calendar.py", line 467, in create_new_events
], context=context_norecurrent)
File "/usr/local/lib/python2.7/dist-packages/openerp-8.0alpha1-py2.7.egg/openerp/osv/orm.py", line 1995, in search
return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
File "/usr/local/lib/python2.7/dist-packages/openerp-8.0alpha1-py2.7.egg/openerp/osv/orm.py", line 4641, in _search
query = self._where_calc(cr, user, args, context=context)
File "/usr/local/lib/python2.7/dist-packages/openerp-8.0alpha1-py2.7.egg/openerp/osv/orm.py", line 4467, in _where_calc
e = expression.expression(cr, user, domain, self, context)
File "/usr/local/lib/python2.7/dist-packages/openerp-8.0alpha1-py2.7.egg/openerp/osv/expression.py", line 645, in __init__
self.parse(cr, uid, context=context)
File "/usr/local/lib/python2.7/dist-packages/openerp-8.0alpha1-py2.7.egg/openerp/osv/expression.py", line 844, in parse
right_ids = relational_model.search(cr, uid, [(field_path[1], operator, right)], context=context)
File "/opt/openerp/addons/calendar/calendar.py", line 1413, in search
return super(calendar_event, self).search(cr, uid, new_args, offset=offset, limit=limit, order=order, context=context, count=count)
File "/usr/local/lib/python2.7/dist-packages/openerp-8.0alpha1-py2.7.egg/openerp/osv/orm.py", line 1995, in search
return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
File "/usr/local/lib/python2.7/dist-packages/openerp-8.0alpha1-py2.7.egg/openerp/osv/orm.py", line 4641, in _search
query = self._where_calc(cr, user, args, context=context)
File "/usr/local/lib/python2.7/dist-packages/openerp-8.0alpha1-py2.7.egg/openerp/osv/orm.py", line 4467, in _where_calc
e = expression.expression(cr, user, domain, self, context)
File "/usr/local/lib/python2.7/dist-packages/openerp-8.0alpha1-py2.7.egg/openerp/osv/expression.py", line 645, in __init__
self.parse(cr, uid, context=context)
File "/usr/local/lib/python2.7/dist-packages/openerp-8.0alpha1-py2.7.egg/openerp/osv/expression.py", line 809, in parse
raise ValueError("Invalid field %r in leaf %r" % (left, str(leaf)))
ValueError: Invalid field 'date_deadline' in leaf "<osv.ExtendedLeaf: ('date_deadline', '>', '2014-02-10 09:04:09') on calendar_event (ctx: )>"
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1318553/+subscriptions
Follow ups
References