{"action":"created","issue":{"url":"https://api.github.com/repos/pimutils/khal/issues/490","repository_url":"https://api.github.com/repos/pimutils/khal","labels_url":"https://api.github.com/repos/pimutils/khal/issues/490/labels{/name}","comments_url":"https://api.github.com/repos/pimutils/khal/issues/490/comments","events_url":"https://api.github.com/repos/pimutils/khal/issues/490/events","html_url":"https://github.com/pimutils/khal/issues/490","id":173745257,"number":490,"title":"`khal list week` crashes ","user":{"login":"untitaker","id":837573,"avatar_url":"https://avatars.githubusercontent.com/u/837573?v=3","gravatar_id":"","url":"https://api.github.com/users/untitaker","html_url":"https://github.com/untitaker","followers_url":"https://api.github.com/users/untitaker/followers","following_url":"https://api.github.com/users/untitaker/following{/other_user}","gists_url":"https://api.github.com/users/untitaker/gists{/gist_id}","starred_url":"https://api.github.com/users/untitaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/untitaker/subscriptions","organizations_url":"https://api.github.com/users/untitaker/orgs","repos_url":"https://api.github.com/users/untitaker/repos","events_url":"https://api.github.com/users/untitaker/events{/privacy}","received_events_url":"https://api.github.com/users/untitaker/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pimutils/khal/labels/bug","name":"bug","color":"e11d21"}],"state":"closed","locked":false,"assignee":{"login":"geier","id":275330,"avatar_url":"https://avatars.githubusercontent.com/u/275330?v=3","gravatar_id":"","url":"https://api.github.com/users/geier","html_url":"https://github.com/geier","followers_url":"https://api.github.com/users/geier/followers","following_url":"https://api.github.com/users/geier/following{/other_user}","gists_url":"https://api.github.com/users/geier/gists{/gist_id}","starred_url":"https://api.github.com/users/geier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geier/subscriptions","organizations_url":"https://api.github.com/users/geier/orgs","repos_url":"https://api.github.com/users/geier/repos","events_url":"https://api.github.com/users/geier/events{/privacy}","received_events_url":"https://api.github.com/users/geier/received_events","type":"User","site_admin":false},"assignees":[{"login":"geier","id":275330,"avatar_url":"https://avatars.githubusercontent.com/u/275330?v=3","gravatar_id":"","url":"https://api.github.com/users/geier","html_url":"https://github.com/geier","followers_url":"https://api.github.com/users/geier/followers","following_url":"https://api.github.com/users/geier/following{/other_user}","gists_url":"https://api.github.com/users/geier/gists{/gist_id}","starred_url":"https://api.github.com/users/geier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geier/subscriptions","organizations_url":"https://api.github.com/users/geier/orgs","repos_url":"https://api.github.com/users/geier/repos","events_url":"https://api.github.com/users/geier/events{/privacy}","received_events_url":"https://api.github.com/users/geier/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2016-08-29T10:35:14Z","updated_at":"2016-08-29T23:45:02Z","closed_at":"2016-08-29T23:44:02Z","body":"Since https://github.com/pimutils/khal/commit/48020f06560f3ffd0d7845d24b6464ad8f7dd3c0 `khal list week` crashes like this:\r\n\r\n\tTraceback (most recent call last):\r\n\t  File \"/home/untitaker/.local/bin/khal\", line 9, in <module>\r\n\t\tload_entry_point('khal', 'console_scripts', 'khal')()\r\n\t  File \"/home/untitaker/projects/click/click/core.py\", line 716, in __call__\r\n\t\treturn self.main(*args, **kwargs)\r\n\t  File \"/home/untitaker/projects/click/click/core.py\", line 696, in main\r\n\t\trv = self.invoke(ctx)\r\n\t  File \"/home/untitaker/projects/click/click/core.py\", line 1065, in invoke\r\n\t\treturn _process_result(sub_ctx.command.invoke(sub_ctx))\r\n\t  File \"/home/untitaker/projects/click/click/core.py\", line 892, in invoke\r\n\t\treturn ctx.invoke(self.callback, **ctx.params)\r\n\t  File \"/home/untitaker/projects/click/click/core.py\", line 534, in invoke\r\n\t\treturn callback(*args, **kwargs)\r\n\t  File \"/home/untitaker/projects/click/click/decorators.py\", line 17, in new_func\r\n\t\treturn f(get_current_context(), *args, **kwargs)\r\n\t  File \"/home/untitaker/projects/khal/khal/cli.py\", line 315, in klist\r\n\t\tenv={\"calendars\": ctx.obj['conf']['calendars']}\r\n\t  File \"/home/untitaker/projects/khal/khal/controllers.py\", line 262, in khal_list\r\n\t\tstart, end = start_end_from_daterange(daterange, conf['locale'], td)\r\n\t  File \"/home/untitaker/projects/khal/khal/controllers.py\", line 144, in start_end_from_daterange\r\n\t\tdaterange, locale, default_timedelta=default_timedelta)\r\n\t  File \"/home/untitaker/projects/khal/khal/aux.py\", line 350, in guessrangefstr\r\n\t\tif len(end) == 0:\r\n\tTypeError: object of type 'datetime.datetime' has no len()\r\n\r\nI feel like it is time to implement #169 with the `parsedatetime`.\r\n"},"comment":{"url":"https://api.github.com/repos/pimutils/khal/issues/comments/243291442","html_url":"https://github.com/pimutils/khal/issues/490#issuecomment-243291442","issue_url":"https://api.github.com/repos/pimutils/khal/issues/490","id":243291442,"user":{"login":"untitaker","id":837573,"avatar_url":"https://avatars.githubusercontent.com/u/837573?v=3","gravatar_id":"","url":"https://api.github.com/users/untitaker","html_url":"https://github.com/untitaker","followers_url":"https://api.github.com/users/untitaker/followers","following_url":"https://api.github.com/users/untitaker/following{/other_user}","gists_url":"https://api.github.com/users/untitaker/gists{/gist_id}","starred_url":"https://api.github.com/users/untitaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/untitaker/subscriptions","organizations_url":"https://api.github.com/users/untitaker/orgs","repos_url":"https://api.github.com/users/untitaker/repos","events_url":"https://api.github.com/users/untitaker/events{/privacy}","received_events_url":"https://api.github.com/users/untitaker/received_events","type":"User","site_admin":false},"created_at":"2016-08-29T23:45:02Z","updated_at":"2016-08-29T23:45:02Z","body":"Thanks!\n\nOn 30 August 2016 01:44:04 CEST, Christian Geier <notifications@github.com> wrote:\n>Closed #490 via #494.\n>\n>-- \n>You are receiving this because you authored the thread.\n>Reply to this email directly or view it on GitHub:\n>https://github.com/pimutils/khal/issues/490#event-771445712\n\n-- \nSent from my Android device with K-9 Mail. Please excuse my brevity."}}
{"actor":{"display_login":"untitaker"}}