Hi,
Since i try to configure Google Calendar, it work one time. But now after some "try", i get the following error after 10 minutes when i press the button SYNC.
Have you an idée?
Thanks
Odoo Server Error
Traceback (most recent call last):
File "/opt/odoo/odoo-server/openerp/http.py", line 530, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/odoo-server/openerp/http.py", line 567, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo/odoo-server/openerp/http.py", line 303, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo/odoo-server/openerp/service/model.py", line 113, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo/odoo-server/openerp/http.py", line 300, in checked_call
return self.endpoint(*a, **kw)
File "/opt/odoo/odoo-server/openerp/http.py", line 796, in __call__
return self.method(*args, **kw)
File "/opt/odoo/odoo-server/openerp/http.py", line 396, in response_wrap
response = f(*args, **kw)
File "/opt/odoo/odoo-server/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 "/opt/odoo/odoo-server/openerp/api.py", line 241, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/odoo/odoo-server/addons/google_calendar/google_calendar.py", line 561, in synchronize_events
new_ids += self.bind_recurring_events_to_google(cr, uid, context)
File "/opt/odoo/odoo-server/openerp/api.py", line 241, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/odoo/odoo-server/addons/google_calendar/google_calendar.py", line 626, in bind_recurring_events_to_google
source_attendee_record_id = att_obj.search(cr, uid, [('partner_id', '=', myPartnerID), ('event_id', '=', source_event_record.id)], context=context)
File "/opt/odoo/odoo-server/openerp/api.py", line 241, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/odoo/odoo-server/openerp/models.py", line 1637, in search
return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
File "/opt/odoo/odoo-server/openerp/api.py", line 241, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/odoo/odoo-server/openerp/models.py", line 4605, in _search
cr.execute(query_str, where_clause_params)
File "/opt/odoo/odoo-server/openerp/sql_db.py", line 158, in wrapper
return f(self, *args, **kwargs)
File "/opt/odoo/odoo-server/openerp/sql_db.py", line 234, in execute
res = self._obj.execute(query, params)
InternalError: current transaction is aborted, commands ignored until end of transaction block
I got something similar 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'