{"action":"created","issue":{"url":"https://api.github.com/repos/odoo/odoo/issues/9682","labels_url":"https://api.github.com/repos/odoo/odoo/issues/9682/labels{/name}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/9682/comments","events_url":"https://api.github.com/repos/odoo/odoo/issues/9682/events","html_url":"https://github.com/odoo/odoo/issues/9682","id":118328692,"number":9682,"title":"JSONDecodeError on google Calendar Synch","user":{"login":"gorjuce","id":634789,"avatar_url":"https://avatars.githubusercontent.com/u/634789?v=3","gravatar_id":"","url":"https://api.github.com/users/gorjuce","html_url":"https://github.com/gorjuce","followers_url":"https://api.github.com/users/gorjuce/followers","following_url":"https://api.github.com/users/gorjuce/following{/other_user}","gists_url":"https://api.github.com/users/gorjuce/gists{/gist_id}","starred_url":"https://api.github.com/users/gorjuce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gorjuce/subscriptions","organizations_url":"https://api.github.com/users/gorjuce/orgs","repos_url":"https://api.github.com/users/gorjuce/repos","events_url":"https://api.github.com/users/gorjuce/events{/privacy}","received_events_url":"https://api.github.com/users/gorjuce/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"JKE-be","id":4848797,"avatar_url":"https://avatars.githubusercontent.com/u/4848797?v=3","gravatar_id":"","url":"https://api.github.com/users/JKE-be","html_url":"https://github.com/JKE-be","followers_url":"https://api.github.com/users/JKE-be/followers","following_url":"https://api.github.com/users/JKE-be/following{/other_user}","gists_url":"https://api.github.com/users/JKE-be/gists{/gist_id}","starred_url":"https://api.github.com/users/JKE-be/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JKE-be/subscriptions","organizations_url":"https://api.github.com/users/JKE-be/orgs","repos_url":"https://api.github.com/users/JKE-be/repos","events_url":"https://api.github.com/users/JKE-be/events{/privacy}","received_events_url":"https://api.github.com/users/JKE-be/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-11-23T06:56:13Z","updated_at":"2015-11-25T09:07:23Z","closed_at":"2015-11-25T08:27:17Z","body":"Hi,\r\nI cannot synch my calendar with Google Calendar with my Odoo 8 instance. It's well configured but each time I click on the synch button I get:\r\n\r\nTraceback (most recent call last):\r\n  File \"/srv/openerp/mfianalytics/mfianalytics/parts/odoo/openerp/http.py\", line 537, in _handle_exception\r\n    return super(JsonRequest, self)._handle_exception(exception)\r\n  File \"/srv/openerp/mfianalytics/mfianalytics/parts/odoo/openerp/http.py\", line 574, in dispatch\r\n    result = self._call_function(**self.params)\r\n  File \"/srv/openerp/mfianalytics/mfianalytics/parts/odoo/openerp/http.py\", line 310, in _call_function\r\n    return checked_call(self.db, *args, **kwargs)\r\n  File \"/srv/openerp/mfianalytics/mfianalytics/parts/odoo/openerp/service/model.py\", line 113, in wrapper\r\n    return f(dbname, *args, **kwargs)\r\n  File \"/srv/openerp/mfianalytics/mfianalytics/parts/odoo/openerp/http.py\", line 307, in checked_call\r\n    return self.endpoint(*a, **kw)\r\n  File \"/srv/openerp/mfianalytics/mfianalytics/parts/odoo/openerp/http.py\", line 803, in __call__\r\n    return self.method(*args, **kw)\r\n  File \"/srv/openerp/mfianalytics/mfianalytics/parts/odoo/openerp/http.py\", line 403, in response_wrap\r\n    response = f(*args, **kw)\r\n  File \"/srv/openerp/mfianalytics/mfianalytics/parts/odoo/addons/google_calendar/controllers/main.py\", line 43, in sync_data\r\n    return gc_obj.synchronize_events(request.cr, request.uid, [], context=kw.get('local_context'))\r\n  File \"/srv/openerp/mfianalytics/mfianalytics/parts/odoo/openerp/api.py\", line 241, in wrapper\r\n    return old_api(self, *args, **kwargs)\r\n  File \"/srv/openerp/mfianalytics/mfianalytics/parts/odoo/addons/google_calendar/google_calendar.py\", line 605, in synchronize_events\r\n    res = self.update_events(cr, user_to_sync, lastSync, context)\r\n  File \"/srv/openerp/mfianalytics/mfianalytics/parts/odoo/openerp/api.py\", line 241, in wrapper\r\n    return old_api(self, *args, **kwargs)\r\n  File \"/srv/openerp/mfianalytics/mfianalytics/parts/odoo/addons/google_calendar/google_calendar.py\", line 879, in update_events\r\n    error = simplejson.loads(e.read())\r\n  File \"/srv/openerp/eggs/simplejson-3.5.3-py2.7-linux-x86_64.egg/simplejson/__init__.py\", line 501, in loads\r\n    return _default_decoder.decode(s)\r\n  File \"/srv/openerp/eggs/simplejson-3.5.3-py2.7-linux-x86_64.egg/simplejson/decoder.py\", line 370, in decode\r\n    obj, end = self.raw_decode(s)\r\n  File \"/srv/openerp/eggs/simplejson-3.5.3-py2.7-linux-x86_64.egg/simplejson/decoder.py\", line 393, in raw_decode\r\n    return self.scan_once(s, idx=_w(s, idx).end())\r\nJSONDecodeError: Expecting value: line 1 column 1 (char 0)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/odoo/odoo/issues/comments/159542329","html_url":"https://github.com/odoo/odoo/issues/9682#issuecomment-159542329","issue_url":"https://api.github.com/repos/odoo/odoo/issues/9682","id":159542329,"user":{"login":"JKE-be","id":4848797,"avatar_url":"https://avatars.githubusercontent.com/u/4848797?v=3","gravatar_id":"","url":"https://api.github.com/users/JKE-be","html_url":"https://github.com/JKE-be","followers_url":"https://api.github.com/users/JKE-be/followers","following_url":"https://api.github.com/users/JKE-be/following{/other_user}","gists_url":"https://api.github.com/users/JKE-be/gists{/gist_id}","starred_url":"https://api.github.com/users/JKE-be/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JKE-be/subscriptions","organizations_url":"https://api.github.com/users/JKE-be/orgs","repos_url":"https://api.github.com/users/JKE-be/repos","events_url":"https://api.github.com/users/JKE-be/events{/privacy}","received_events_url":"https://api.github.com/users/JKE-be/received_events","type":"User","site_admin":false},"created_at":"2015-11-25T09:07:23Z","updated_at":"2015-11-25T09:07:23Z","body":"Nice !\nThank You for the feed-back !\n\nI try asap to catch the exception to have a more explicit error !\n\nJeremy Kersten (JKE)\n\n> Le 25 nov. 2015 à 09:27, gorjuce <notifications@github.com> a écrit :\n> \n> I've found the problem.\n> The parameter \"web.base.url\" was not the correct url.\n> Updating this parameter with the right url fixe the issue.\n> Thanks for your help.\n> \n> —\n> Reply to this email directly or view it on GitHub.\n> \n"}}