Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

JSONDecodeError on google calendar Synch

By
smorele
on 11/23/15, 2:02 AM 528 views

Hi,

My Odoo 8 instance is properly configured with the Google Calendar API but each time I click on the synch button, I have this traceback:

Traceback (most recent call last):

File "/srv/openerp/mfianalytics/mfianalytics/parts/odoo/openerp/http.py", line 537, in _handle_exception

return super(JsonRequest, self)._handle_exception(exception)

File "/srv/openerp/mfianalytics/mfianalytics/parts/odoo/openerp/http.py", line 574, in dispatch

result = self._call_function(**self.params)

File "/srv/openerp/mfianalytics/mfianalytics/parts/odoo/openerp/http.py", line 310, in _call_function

return checked_call(self.db, *args, **kwargs)

File "/srv/openerp/mfianalytics/mfianalytics/parts/odoo/openerp/service/model.py", line 113, in wrapper

return f(dbname, *args, **kwargs)

File "/srv/openerp/mfianalytics/mfianalytics/parts/odoo/openerp/http.py", line 307, in checked_call

return self.endpoint(*a, **kw)

File "/srv/openerp/mfianalytics/mfianalytics/parts/odoo/openerp/http.py", line 803, in __call__

return self.method(*args, **kw)

File "/srv/openerp/mfianalytics/mfianalytics/parts/odoo/openerp/http.py", line 403, in response_wrap

response = f(*args, **kw)

File "/srv/openerp/mfianalytics/mfianalytics/parts/odoo/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 "/srv/openerp/mfianalytics/mfianalytics/parts/odoo/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/srv/openerp/mfianalytics/mfianalytics/parts/odoo/addons/google_calendar/google_calendar.py", line 605, in synchronize_events

res = self.update_events(cr, user_to_sync, lastSync, context)

File "/srv/openerp/mfianalytics/mfianalytics/parts/odoo/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/srv/openerp/mfianalytics/mfianalytics/parts/odoo/addons/google_calendar/google_calendar.py", line 879, in update_events

error = simplejson.loads(e.read())

File "/srv/openerp/eggs/simplejson-3.5.3-py2.7-linux-x86_64.egg/simplejson/__init__.py", line 501, in loads

return _default_decoder.decode(s)

File "/srv/openerp/eggs/simplejson-3.5.3-py2.7-linux-x86_64.egg/simplejson/decoder.py", line 370, in decode

obj, end = self.raw_decode(s)

File "/srv/openerp/eggs/simplejson-3.5.3-py2.7-linux-x86_64.egg/simplejson/decoder.py", line 393, in raw_decode

return self.scan_once(s, idx=_w(s, idx).end())

JSONDecodeError: Expecting value: line 1 column 1 (char 0)



Does someone knows the reason or reproduces ? 

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 11/23/15, 2:02 AM
Seen: 528 times
Last updated: 11/23/15, 2:02 AM