Community mailing list archives

community@mail.odoo.com

Error syncing to Google Calendar

by
Mark Lewis
- 07/20/2015 12:43:30
Hello

Any idea what I can do, sync to Google Calendar fails although I created id and client secret as instructed.
Some calendar elements are synced and then I get this error message

What does it mean? Thanks
Regards Mark

Traceback (most recent call last):
  File "/home/odoo/src/odoo/8.0/openerp/http.py", line 537, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/home/odoo/src/odoo/8.0/openerp/http.py", line 574, in dispatch
    result = self._call_function(**self.params)
  File "/home/odoo/src/odoo/8.0/openerp/http.py", line 310, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/home/odoo/src/odoo/8.0/openerp/service/model.py", line 113, in wrapper
    return f(dbname, *args, **kwargs)
  File "/home/odoo/src/odoo/8.0/openerp/http.py", line 307, in checked_call
    return self.endpoint(*a, **kw)
  File "/home/odoo/src/odoo/8.0/openerp/http.py", line 803, in __call__
    return self.method(*args, **kw)
  File "/home/odoo/src/odoo/8.0/openerp/http.py", line 403, in response_wrap
    response = f(*args, **kw)
  File "/home/odoo/src/odoo/8.0/addons/google_calendar/controllers/main.py", line 43, in sync_data
    return gc_obj.synchronize_events(request.cr, request.uid, [], context=kw.get('local_context'))
  File "/home/odoo/src/odoo/8.0/openerp/api.py", line 241, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/odoo/src/odoo/8.0/addons/google_calendar/google_calendar.py", line 599, in synchronize_events
    res = self.update_events(cr, user_to_sync, lastSync, context)
  File "/home/odoo/src/odoo/8.0/openerp/api.py", line 241, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/odoo/src/odoo/8.0/addons/google_calendar/google_calendar.py", line 826, in update_events
    res = self.update_from_google(cr, uid, False, event.GG.event, "create", context=context_tmp)
  File "/home/odoo/src/odoo/8.0/openerp/api.py", line 241, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/odoo/src/odoo/8.0/addons/google_calendar/google_calendar.py", line 435, in update_from_google
    attendee_id = res_partner_obj.search(cr, uid, [('email', '=', google_attendee['email'])], context=context)
KeyError: 'email'

--
Mark Lewis
02 97 24 86 18
06 73 27 65 95