{"action":"created","issue":{"url":"https://api.github.com/repos/gaubert/gmvault/issues/207","labels_url":"https://api.github.com/repos/gaubert/gmvault/issues/207/labels{/name}","comments_url":"https://api.github.com/repos/gaubert/gmvault/issues/207/comments","events_url":"https://api.github.com/repos/gaubert/gmvault/issues/207/events","html_url":"https://github.com/gaubert/gmvault/issues/207","id":91215521,"number":207,"title":"restore fails in a while","user":{"login":"itogo","id":13063137,"avatar_url":"https://avatars.githubusercontent.com/u/13063137?v=3","gravatar_id":"","url":"https://api.github.com/users/itogo","html_url":"https://github.com/itogo","followers_url":"https://api.github.com/users/itogo/followers","following_url":"https://api.github.com/users/itogo/following{/other_user}","gists_url":"https://api.github.com/users/itogo/gists{/gist_id}","starred_url":"https://api.github.com/users/itogo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itogo/subscriptions","organizations_url":"https://api.github.com/users/itogo/orgs","repos_url":"https://api.github.com/users/itogo/repos","events_url":"https://api.github.com/users/itogo/events{/privacy}","received_events_url":"https://api.github.com/users/itogo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gaubert/gmvault/labels/bugs","name":"bugs","color":"e10c02"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-26T10:20:12Z","updated_at":"2015-08-05T19:43:36Z","closed_at":null,"body":"Hi,\r\n\r\nI've been trying to restore recently backuped mailbox to the new one and got an error after processing a few hundreds emails:\r\n\r\nEugene-MacBook:bin ei$ ./gmvault restore *******@gmail.com --resume\r\n[....]\r\nJun 25 23:02:02 Eugene-MacBook.local gmv_runner[30449] <Notice>: Pushing email body with id 1407299977163162301.\r\nJun 25 23:02:03 Eugene-MacBook.local gmv_runner[30449] <Notice>: Pushing email body with id 1407316912607036964.\r\nJun 25 23:02:03 Eugene-MacBook.local gmv_runner[30449] <Notice>: Applying labels to the current batch of emails.\r\nJun 25 23:02:04 Eugene-MacBook.local gmv_runner[30449] <Notice>: Error: %d format: a number is required, not set. \r\nJun 25 23:02:04 Eugene-MacBook.local gmv_runner[30449] <Notice>: \r\nJun 25 23:02:04 Eugene-MacBook.local gmv_runner[30449] <Notice>: === Exception traceback ===\r\nJun 25 23:02:04 Eugene-MacBook.local gmv_runner[30449] <Notice>: Traceback (most recent call last):\r\nJun 25 23:02:04 Eugene-MacBook.local gmv_runner[30449] <Notice>:   File \"gmv/gmv_cmd.pyc\", line 745, in run\r\nJun 25 23:02:04 Eugene-MacBook.local gmv_runner[30449] <Notice>:   File \"gmv/gmv_cmd.pyc\", line 621, in _restore\r\nJun 25 23:02:04 Eugene-MacBook.local gmv_runner[30449] <Notice>:   File \"gmv/gmvault.pyc\", line 882, in restore\r\nJun 25 23:02:04 Eugene-MacBook.local gmv_runner[30449] <Notice>:   File \"gmv/gmvault.pyc\", line 1146, in restore_emails\r\nJun 25 23:02:04 Eugene-MacBook.local gmv_runner[30449] <Notice>: TypeError: %d format: a number is required, not set\r\nJun 25 23:02:04 Eugene-MacBook.local gmv_runner[30449] <Notice>: \r\nJun 25 23:02:04 Eugene-MacBook.local gmv_runner[30449] <Notice>: === End of Exception traceback ===\r\n\r\nin debug mode:\r\nEugene-MacBook:bin ei$ ./gmvault restore ********@gmail.com --resume -debug\r\n[....]\r\nJun 25 23:15:58 Eugene-MacBook.local gmv_runner[30528] <Notice>: result_uid = 882\r\nJun 25 23:15:58 Eugene-MacBook.local gmv_runner[30528] <Notice>: label = \\Inbox\r\nJun 25 23:15:58 Eugene-MacBook.local gmv_runner[30528] <Notice>: \r\nJun 25 23:15:58 Eugene-MacBook.local gmv_runner[30528] <Notice>: Pushing email body with id 1407316912607036964.\r\nJun 25 23:15:58 Eugene-MacBook.local gmv_runner[30528] <Notice>: Subject = Re: news.\r\nJun 25 23:15:58 Eugene-MacBook.local gmv_runner[30528] <Notice>: Before to Append email contents\r\nJun 25 23:15:58 Eugene-MacBook.local gmv_runner[30528] <Notice>: Appended data with flags [u'\\\\Seen'] and internal time 2012-07-12 22:39:54. Operation time = 0.355708122253.\r\nJun 25 23:15:58 Eugene-MacBook.local gmv_runner[30528] <Notice>: res = [APPENDUID 11 883] (Success)\r\nJun 25 23:15:58 Eugene-MacBook.local gmv_runner[30528] <Notice>: \r\nJun 25 23:15:58 Eugene-MacBook.local gmv_runner[30528] <Notice>: result_uid = 883\r\nJun 25 23:15:58 Eugene-MacBook.local gmv_runner[30528] <Notice>: label = \\Inbox\r\nJun 25 23:15:58 Eugene-MacBook.local gmv_runner[30528] <Notice>: \r\nJun 25 23:15:58 Eugene-MacBook.local gmv_runner[30528] <Notice>: label = \\Important\r\nJun 25 23:15:58 Eugene-MacBook.local gmv_runner[30528] <Notice>: \r\nJun 25 23:15:58 Eugene-MacBook.local gmv_runner[30528] <Notice>: Labels creation tentative for emails with ids <itertools.ifilter object at 0x10622e390>.\r\nJun 25 23:15:58 Eugene-MacBook.local gmv_runner[30528] <Notice>: Labels to create: [set([u'\\\\Draft', u'\\\\Inbox', u'\\\\Sent', u'\\\\Important'])]\r\nJun 25 23:15:58 Eugene-MacBook.local gmv_runner[30528] <Notice>: Applying labels to the current batch of emails.\r\nJun 25 23:15:58 Eugene-MacBook.local gmv_runner[30528] <Notice>: Changing directory. Going into ALLMAIL\r\nJun 25 23:15:58 Eugene-MacBook.local gmv_runner[30528] <Notice>: Changed dir. Operation time = 0.190242052078 ms\r\nJun 25 23:15:58 Eugene-MacBook.local gmv_runner[30528] <Notice>: Applying labels [u'\\\\Draft']\r\nJun 25 23:15:59 Eugene-MacBook.local gmv_runner[30528] <Notice>: After storing labels (\\Draft). Operation time = 0.106867074966 s.\r\nJun 25 23:15:59 Eugene-MacBook.local gmv_runner[30528] <Notice>: ret = NO\r\nJun 25 23:15:59 Eugene-MacBook.local gmv_runner[30528] <Notice>: data=['System Error (Failure)']\r\nJun 25 23:15:59 Eugene-MacBook.local gmv_runner[30528] <Notice>: Problem when applying labels \\Draft to the following ids: set([865, 874])\r\nJun 25 23:15:59 Eugene-MacBook.local gmv_runner[30528] <Notice>: Problem when applying labels.\r\nJun 25 23:15:59 Eugene-MacBook.local gmv_runner[30528] <Notice>: Error: %d format: a number is required, not set. \r\nJun 25 23:15:59 Eugene-MacBook.local gmv_runner[30528] <Notice>: \r\nJun 25 23:15:59 Eugene-MacBook.local gmv_runner[30528] <Notice>: === Exception traceback ===\r\nJun 25 23:15:59 Eugene-MacBook.local gmv_runner[30528] <Notice>: Traceback (most recent call last):\r\nJun 25 23:15:59 Eugene-MacBook.local gmv_runner[30528] <Notice>:   File \"gmv/gmv_cmd.pyc\", line 745, in run\r\nJun 25 23:15:59 Eugene-MacBook.local gmv_runner[30528] <Notice>:   File \"gmv/gmv_cmd.pyc\", line 621, in _restore\r\nJun 25 23:15:59 Eugene-MacBook.local gmv_runner[30528] <Notice>:   File \"gmv/gmvault.pyc\", line 882, in restore\r\nJun 25 23:15:59 Eugene-MacBook.local gmv_runner[30528] <Notice>:   File \"gmv/gmvault.pyc\", line 1146, in restore_emails\r\nJun 25 23:15:59 Eugene-MacBook.local gmv_runner[30528] <Notice>: TypeError: %d format: a number is required, not set\r\nJun 25 23:15:59 Eugene-MacBook.local gmv_runner[30528] <Notice>: \r\nJun 25 23:15:59 Eugene-MacBook.local gmv_runner[30528] <Notice>: === End of Exception traceback ===\r\n"},"comment":{"url":"https://api.github.com/repos/gaubert/gmvault/issues/comments/128126061","html_url":"https://github.com/gaubert/gmvault/issues/207#issuecomment-128126061","issue_url":"https://api.github.com/repos/gaubert/gmvault/issues/207","id":128126061,"user":{"login":"gaubert","id":1482,"avatar_url":"https://avatars.githubusercontent.com/u/1482?v=3","gravatar_id":"","url":"https://api.github.com/users/gaubert","html_url":"https://github.com/gaubert","followers_url":"https://api.github.com/users/gaubert/followers","following_url":"https://api.github.com/users/gaubert/following{/other_user}","gists_url":"https://api.github.com/users/gaubert/gists{/gist_id}","starred_url":"https://api.github.com/users/gaubert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaubert/subscriptions","organizations_url":"https://api.github.com/users/gaubert/orgs","repos_url":"https://api.github.com/users/gaubert/repos","events_url":"https://api.github.com/users/gaubert/events{/privacy}","received_events_url":"https://api.github.com/users/gaubert/received_events","type":"User","site_admin":false},"created_at":"2015-08-05T19:43:36Z","updated_at":"2015-08-05T19:43:36Z","body":"All Ok I need to check. Give me couple of days. Thanks"}}