{"action":"created","issue":{"url":"https://api.github.com/repos/odoo/odoo/issues/5313","labels_url":"https://api.github.com/repos/odoo/odoo/issues/5313/labels{/name}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/5313/comments","events_url":"https://api.github.com/repos/odoo/odoo/issues/5313/events","html_url":"https://github.com/odoo/odoo/issues/5313","id":57839877,"number":5313,"title":"[8.0] Exception during JSON request handling http.py","user":{"login":"missilefish","id":5114246,"avatar_url":"https://avatars.githubusercontent.com/u/5114246?v=3","gravatar_id":"","url":"https://api.github.com/users/missilefish","html_url":"https://github.com/missilefish","followers_url":"https://api.github.com/users/missilefish/followers","following_url":"https://api.github.com/users/missilefish/following{/other_user}","gists_url":"https://api.github.com/users/missilefish/gists{/gist_id}","starred_url":"https://api.github.com/users/missilefish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/missilefish/subscriptions","organizations_url":"https://api.github.com/users/missilefish/orgs","repos_url":"https://api.github.com/users/missilefish/repos","events_url":"https://api.github.com/users/missilefish/events{/privacy}","received_events_url":"https://api.github.com/users/missilefish/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-02-16T18:58:45Z","updated_at":"2015-05-06T05:34:20Z","closed_at":null,"body":"This seems to be calendar related, I do have google syncd. \r\n\r\n```\r\n2015-02-16 18:56:36,238 8715 ERROR *****(redacted) openerp.http: Exception during JSON request handling.\r\nTraceback (most recent call last):\r\n  File \"/opt/odoo/odoo-server/openerp/http.py\", line 530, in _handle_exception\r\n    return super(JsonRequest, self)._handle_exception(exception)\r\n  File \"/opt/odoo/odoo-server/openerp/http.py\", line 567, in dispatch\r\n    result = self._call_function(**self.params)\r\n  File \"/opt/odoo/odoo-server/openerp/http.py\", line 303, in _call_function\r\n    return checked_call(self.db, *args, **kwargs)\r\n  File \"/opt/odoo/odoo-server/openerp/service/model.py\", line 113, in wrapper\r\n    return f(dbname, *args, **kwargs)\r\n  File \"/opt/odoo/odoo-server/openerp/http.py\", line 300, in checked_call\r\n    return self.endpoint(*a, **kw)\r\n  File \"/opt/odoo/odoo-server/openerp/http.py\", line 796, in __call__\r\n    return self.method(*args, **kw)\r\n  File \"/opt/odoo/odoo-server/openerp/http.py\", line 396, in response_wrap\r\n    response = f(*args, **kw)\r\n  File \"/opt/odoo/odoo-server/addons/calendar/controllers/main.py\", line 61, in notify\r\n    res = registry.get(\"calendar.alarm_manager\").get_next_notif(cr, uid, context=context)\r\n  File \"/opt/odoo/odoo-server/openerp/api.py\", line 241, in wrapper\r\n    return old_api(self, *args, **kwargs)\r\n  File \"/opt/odoo/odoo-server/addons/calendar/calendar.py\", line 495, in get_next_notif\r\n    for one_date in self.pool.get(\"calendar.event\").get_recurrent_date_by_event(cr, uid, curEvent, context=context):\r\n  File \"/opt/odoo/odoo-server/openerp/api.py\", line 241, in wrapper\r\n    return old_api(self, *args, **kwargs)\r\n  File \"/opt/odoo/odoo-server/addons/calendar/calendar.py\", line 711, in get_recurrent_date_by_event\r\n    rset1 = rrule.rrulestr(str(event.rrule), dtstart=startdate, forceset=True)\r\n  File \"/usr/lib/python2.7/dist-packages/dateutil/rrule.py\", line 1093, in __call__\r\n    return self._parse_rfc(s, **kwargs)\r\n  File \"/usr/lib/python2.7/dist-packages/dateutil/rrule.py\", line 994, in _parse_rfc\r\n    raise ValueError, \"empty string\"\r\nValueError: empty string\r\n2015-02-16 18:56:36,239 8715 INFO jafactory werkzeug: 68.231.67.174 - - [16/Feb/2015 18:56:36] \"POST /calendar/notify HTTP/1.1\" 200 -\r\n```"},"comment":{"url":"https://api.github.com/repos/odoo/odoo/issues/comments/99328644","html_url":"https://github.com/odoo/odoo/issues/5313#issuecomment-99328644","issue_url":"https://api.github.com/repos/odoo/odoo/issues/5313","id":99328644,"user":{"login":"malatestay","id":5101602,"avatar_url":"https://avatars.githubusercontent.com/u/5101602?v=3","gravatar_id":"","url":"https://api.github.com/users/malatestay","html_url":"https://github.com/malatestay","followers_url":"https://api.github.com/users/malatestay/followers","following_url":"https://api.github.com/users/malatestay/following{/other_user}","gists_url":"https://api.github.com/users/malatestay/gists{/gist_id}","starred_url":"https://api.github.com/users/malatestay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malatestay/subscriptions","organizations_url":"https://api.github.com/users/malatestay/orgs","repos_url":"https://api.github.com/users/malatestay/repos","events_url":"https://api.github.com/users/malatestay/events{/privacy}","received_events_url":"https://api.github.com/users/malatestay/received_events","type":"User","site_admin":false},"created_at":"2015-05-06T05:34:20Z","updated_at":"2015-05-06T05:34:20Z","body":"@xmo-odoo and @mart-e \r\n\r\nHello,\r\nBased on your suggestion I started looking for events whose fields \"recurrent\" is true and \"rrule\" is empty.\r\n\r\nThen I realized  that some unidentified event \"name\" = \"Busy (s)\" that did not count \"startdate\". It is by removing these record that the error message disappeared.\r\n\r\nTo describe the context of the use of ODOO calendar I should clarify:\r\n\r\n- I use for my Oulook profesional use.\r\n- I use a synchronization tool between Oulook and Google Calendar because I need to provide my agenda towards outsider.\r\n- That's what Google calendar that is synchronized with ODOO.\r\n\r\nI still found the étonanntes things:\r\n- When I look at the number of recording \"calendar.event\" it is 1492.\r\n- When I look at the number of calendar event Odoo it is 23577! I see that the repetitive events are listed in this view which does not seem to me sensible.\r\n\r\nFinally I did not understand the generation of invalid events from Google Calendar because I have failed to see a relationship, hence my question on the Odoo synchronization tool between the two calendars.\r\n\r\nI remain at your disposal if you want more information.\r\nThank you for your help\r\nYves"}}