{"action":"created","issue":{"url":"https://api.github.com/repos/skarra/ASynK/issues/102","repository_url":"https://api.github.com/repos/skarra/ASynK","labels_url":"https://api.github.com/repos/skarra/ASynK/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/skarra/ASynK/issues/102/comments","events_url":"https://api.github.com/repos/skarra/ASynK/issues/102/events","html_url":"https://github.com/skarra/ASynK/issues/102","id":180187806,"number":102,"title":"Exception while synchronising Fastmail CardDAV","user":{"login":"duncan-bayne","id":65949,"avatar_url":"https://avatars.githubusercontent.com/u/65949?v=3","gravatar_id":"","url":"https://api.github.com/users/duncan-bayne","html_url":"https://github.com/duncan-bayne","followers_url":"https://api.github.com/users/duncan-bayne/followers","following_url":"https://api.github.com/users/duncan-bayne/following{/other_user}","gists_url":"https://api.github.com/users/duncan-bayne/gists{/gist_id}","starred_url":"https://api.github.com/users/duncan-bayne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duncan-bayne/subscriptions","organizations_url":"https://api.github.com/users/duncan-bayne/orgs","repos_url":"https://api.github.com/users/duncan-bayne/repos","events_url":"https://api.github.com/users/duncan-bayne/events{/privacy}","received_events_url":"https://api.github.com/users/duncan-bayne/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/skarra/ASynK/labels/CardDAV","name":"CardDAV","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-09-29T23:26:54Z","updated_at":"2016-10-06T00:43:04Z","closed_at":null,"body":"I get most of the way through the synchronisation, then ASynK crashes:\r\n\r\n```\r\n[09:17:30.558     INFO] =====================================================\r\nINFO:root:225 new entries to be synched.\r\n[09:17:30.558     INFO] 225 new entries to be synched.\r\nDEBUG:root:Sending Request URL: /dav/addressbooks/user/duncan%40bayne.id.au/Default/    Method: REPORT\r\nDEBUG:root:Received Response: HTTP/1.1 207 Multi-Status\r\n\r\nCRITICAL:root:Exception (<xml.etree.ElementTree.QName object at 0x7f9f19995b10>) while syncing profile duncan\r\n[09:17:33.593 CRITICAL] Exception (<xml.etree.ElementTree.QName object at 0x7f9f19995b10>) while syncing profile duncan\r\nCRITICAL:root:Traceback (most recent call last):\r\n  File \"/home/duncan/ASynK/asynk/asynk_core.py\", line 401, in op_sync\r\n    result = sync.sync(self.get_sync_dir())\r\n  File \"/home/duncan/ASynK/asynk/sync.py\", line 300, in sync\r\n    ret2 = sl2.sync_to_folder(self.get_f1())\r\n  File \"/home/duncan/ASynK/asynk/sync.py\", line 498, in sync_to_folder\r\n    res1 = self.send_news_to_folder(df)\r\n  File \"/home/duncan/ASynK/asynk/sync.py\", line 444, in send_news_to_folder\r\n    items = self.fold.find_items(self.get_news())\r\n  File \"/home/duncan/ASynK/asynk/folder_cd.py\", line 177, in find_items\r\n    etag = item.getNodeProperties()[davxml.getetag]\r\nKeyError: <xml.etree.ElementTree.QName object at 0x7f9f19995b10>\r\n\r\n[09:17:33.593 CRITICAL] Traceback (most recent call last):\r\n  File \"/home/duncan/ASynK/asynk/asynk_core.py\", line 401, in op_sync\r\n    result = sync.sync(self.get_sync_dir())\r\n  File \"/home/duncan/ASynK/asynk/sync.py\", line 300, in sync\r\n    ret2 = sl2.sync_to_folder(self.get_f1())\r\n  File \"/home/duncan/ASynK/asynk/sync.py\", line 498, in sync_to_folder\r\n    res1 = self.send_news_to_folder(df)\r\n  File \"/home/duncan/ASynK/asynk/sync.py\", line 444, in send_news_to_folder\r\n    items = self.fold.find_items(self.get_news())\r\n  File \"/home/duncan/ASynK/asynk/folder_cd.py\", line 177, in find_items\r\n    etag = item.getNodeProperties()[davxml.getetag]\r\nKeyError: <xml.etree.ElementTree.QName object at 0x7f9f19995b10>\r\n```\r\n\r\nI'm running Python 2.7.12 and the latest ASynK from Git (05b8118039aa2d8193a7f738b03e559e5d2becce)."},"comment":{"url":"https://api.github.com/repos/skarra/ASynK/issues/comments/251839152","html_url":"https://github.com/skarra/ASynK/issues/102#issuecomment-251839152","issue_url":"https://api.github.com/repos/skarra/ASynK/issues/102","id":251839152,"user":{"login":"duncan-bayne","id":65949,"avatar_url":"https://avatars.githubusercontent.com/u/65949?v=3","gravatar_id":"","url":"https://api.github.com/users/duncan-bayne","html_url":"https://github.com/duncan-bayne","followers_url":"https://api.github.com/users/duncan-bayne/followers","following_url":"https://api.github.com/users/duncan-bayne/following{/other_user}","gists_url":"https://api.github.com/users/duncan-bayne/gists{/gist_id}","starred_url":"https://api.github.com/users/duncan-bayne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duncan-bayne/subscriptions","organizations_url":"https://api.github.com/users/duncan-bayne/orgs","repos_url":"https://api.github.com/users/duncan-bayne/repos","events_url":"https://api.github.com/users/duncan-bayne/events{/privacy}","received_events_url":"https://api.github.com/users/duncan-bayne/received_events","type":"User","site_admin":false},"created_at":"2016-10-06T00:43:04Z","updated_at":"2016-10-06T00:43:04Z","body":"Nothing much like it, I'm afraid:\r\n\r\n```\r\n{ \"app_root\" : \"/home/duncan/ASynK\",\r\n  \"asynk_user_dir\" : \"/home/duncan/.asynk.carddav\",\r\n  \"default_profile\" : \"duncan\",\r\n  \"file_version\" : 5,\r\n  \"profiles\" : { \"defbbbb\" : { \"coll_1\" : { \"dbid\" : \"bb\",\r\n                                            \"foid\" : \"default\",\r\n                                            \"stid\" : \"~/.bbdb\"\r\n                                          },\r\n                               \"coll_2\" : { \"dbid\" : \"bb\",\r\n                                            \"foid\" : \"default\",\r\n                                            \"stid\" : \"/tmp/asynk.bbdb\"\r\n                                          },\r\n                               \"conflict_resolve\" : \"bb\",\r\n                               \"items\" : {  },\r\n                               \"last_sync_start\" : \"2016-09-29T23:10:34.98Z\",\r\n                               \"last_sync_stop\" : \"2016-09-29T23:10:34.99Z\",\r\n                               \"olgid\" : null,\r\n                               \"sync_dir\" : \"SYNC2WAY\"\r\n                             },\r\n                 \"defolbb\" : { \"coll_1\" : { \"dbid\" : \"ol\",\r\n                                            \"foid\" : null,\r\n                                            \"stid\" : null\r\n                                          },\r\n                               \"coll_2\" : { \"dbid\" : \"bb\",\r\n                                            \"foid\" : null,\r\n                                            \"stid\" : \"~/.bbdb\"\r\n                                          },\r\n                               \"conflict_resolve\" : \"ol\",\r\n                               \"last_sync_start\" : \"1980-01-01T00:00:00.00+00:00\",\r\n                               \"last_sync_stop\" : \"1980-01-01T00:00:00.00+00:00\",\r\n                               \"olgid\" : 36865,\r\n                               \"sync_dir\" : \"SYNC2WAY\"\r\n                             },\r\n                 \"duncan\" : { \"coll_1\" : { \"dbid\" : \"bb\",\r\n                                           \"foid\" : \"default\",\r\n                                           \"stid\" : \"/home/duncan/.emacs.d/bbdb\"\r\n                                         },\r\n                              \"coll_2\" : { \"dbid\" : \"cd\",\r\n                                           \"foid\" : \"default\",\r\n                                           \"stid\" : \"https://carddav.messagingengine.com/dav/addressbooks/user/duncan@bayne.id.au/Default\"\r\n                                         },\r\n                              \"conflict_resolve\" : \"1\",\r\n                              \"last_sync_start\" : \"1980-01-01T00:00:00.00+00:00\",\r\n                              \"last_sync_stop\" : \"1980-01-01T00:00:00.00+00:00\",\r\n                              \"olgid\" : null,\r\n                              \"sync_dir\" : \"SYNC2WAY\",\r\n                              \"sync_state\" : null\r\n                            }\r\n               }\r\n}\r\n```"}}
{"actor":{"display_login":"duncan-bayne"}}