{"action":"created","issue":{"url":"https://api.github.com/repos/OfflineIMAP/offlineimap/issues/413","repository_url":"https://api.github.com/repos/OfflineIMAP/offlineimap","labels_url":"https://api.github.com/repos/OfflineIMAP/offlineimap/issues/413/labels{/name}","comments_url":"https://api.github.com/repos/OfflineIMAP/offlineimap/issues/413/comments","events_url":"https://api.github.com/repos/OfflineIMAP/offlineimap/issues/413/events","html_url":"https://github.com/OfflineIMAP/offlineimap/issues/413","id":192146790,"number":413,"title":"Trying to create 'directory' error","user":{"login":"Blind55","id":595600,"avatar_url":"https://avatars.githubusercontent.com/u/595600?v=3","gravatar_id":"","url":"https://api.github.com/users/Blind55","html_url":"https://github.com/Blind55","followers_url":"https://api.github.com/users/Blind55/followers","following_url":"https://api.github.com/users/Blind55/following{/other_user}","gists_url":"https://api.github.com/users/Blind55/gists{/gist_id}","starred_url":"https://api.github.com/users/Blind55/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Blind55/subscriptions","organizations_url":"https://api.github.com/users/Blind55/orgs","repos_url":"https://api.github.com/users/Blind55/repos","events_url":"https://api.github.com/users/Blind55/events{/privacy}","received_events_url":"https://api.github.com/users/Blind55/received_events","type":"User","site_admin":false},"labels":[{"id":10007140,"url":"https://api.github.com/repos/OfflineIMAP/offlineimap/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":{"login":"nicolas33","id":90065,"avatar_url":"https://avatars.githubusercontent.com/u/90065?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolas33","html_url":"https://github.com/nicolas33","followers_url":"https://api.github.com/users/nicolas33/followers","following_url":"https://api.github.com/users/nicolas33/following{/other_user}","gists_url":"https://api.github.com/users/nicolas33/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolas33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolas33/subscriptions","organizations_url":"https://api.github.com/users/nicolas33/orgs","repos_url":"https://api.github.com/users/nicolas33/repos","events_url":"https://api.github.com/users/nicolas33/events{/privacy}","received_events_url":"https://api.github.com/users/nicolas33/received_events","type":"User","site_admin":false},"assignees":[{"login":"nicolas33","id":90065,"avatar_url":"https://avatars.githubusercontent.com/u/90065?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolas33","html_url":"https://github.com/nicolas33","followers_url":"https://api.github.com/users/nicolas33/followers","following_url":"https://api.github.com/users/nicolas33/following{/other_user}","gists_url":"https://api.github.com/users/nicolas33/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolas33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolas33/subscriptions","organizations_url":"https://api.github.com/users/nicolas33/orgs","repos_url":"https://api.github.com/users/nicolas33/repos","events_url":"https://api.github.com/users/nicolas33/events{/privacy}","received_events_url":"https://api.github.com/users/nicolas33/received_events","type":"User","site_admin":false}],"milestone":null,"comments":11,"created_at":"2016-11-28T23:31:00Z","updated_at":"2016-11-30T13:27:22Z","closed_at":"2016-11-30T13:27:21Z","body":"#### General informations\r\n\r\n- system/distribution (with version): ArchLinux (up-to-date)\r\n- offlineimap version (`offlineimap -V`): offlineimap v7.0.10, imaplib2 v2.55 (bundled), Python v2.7.12\r\n- Python version: Python v2.7.12\r\n- server name or domain: n/a\r\n- CLI options: n/a\r\n\r\n#### Configuration file offlineimaprc\r\n[general]\r\naccounts = main\r\n\r\n[Account main]\r\nremoterepository = GMail\r\nlocalrepository = MyIMAP\r\n\r\n[Repository MyIMAP]\r\ntype = IMAP\r\nremotehost = imap.somewhere.com\r\nremoteuser = me\r\nremotepass = notyou\r\nsslcacertfile = /etc/ssl/certs/ca-certificates.crt\r\n\r\n[Repository GMail]\r\ntype = Gmail\r\nremoteuser = me@gmail.com\r\nremotepass = notyou\r\nauth_mechanisms = PLAIN\r\n\r\nnametrans = lambda folder: 'INBOX'\r\nfolderfilter = lambda folder: folder.startswith('[Gmail]/All Mail')\r\nsslcacertfile = /etc/ssl/certs/ca-certificates.crt\r\n\r\n#### Logs, error\r\n$ offlineimap \r\nOfflineIMAP 7.0.10\r\n  Licensed under the GNU GPL v2 or any later version (with an OpenSSL exception)\r\nAccount sync main:\r\n *** Processing account main\r\n Establishing connection to imap.gmail.com:993 (GMail)\r\n Establishing connection to imap.somewhere.com:993 (MyIMAP)\r\n Creating folder INBOX[MyIMAP]\r\n ERROR: Creating folder INBOX on repository MyIMAP\r\n  Folder 'INBOX'[MyIMAP] could not be created. Server responded: ('NO', ['[ALREADYEXISTS] Mailbox already exists'])\r\n ERROR: Folder 'INBOX'[MyIMAP] could not be created. Server responded: ('NO', ['[ALREADYEXISTS] Mailbox already exists'])\r\n *** Finished account 'main' in 0:12\r\nERROR: Exceptions occurred during the run!\r\nERROR: Creating folder INBOX on repository MyIMAP\r\n  Folder 'INBOX'[MyIMAP] could not be created. Server responded: ('NO', ['[ALREADYEXISTS] Mailbox already exists'])\r\n\r\nTraceback:\r\n  File \"/usr/lib/python2.7/site-packages/offlineimap/repository/Base.py\", line 267, in sync_folder_structure\r\n    local_repo.makefolder(local_name)\r\n  File \"/usr/lib/python2.7/site-packages/offlineimap/repository/IMAP.py\", line 551, in makefolder\r\n    OfflineImapError.ERROR.FOLDER)\r\n\r\nERROR: Folder 'INBOX'[MyIMAP] could not be created. Server responded: ('NO', ['[ALREADYEXISTS] Mailbox already exists'])\r\n\r\nTraceback:\r\n  File \"/usr/lib/python2.7/site-packages/offlineimap/accounts.py\", line 278, in syncrunner\r\n    self.__sync()\r\n  File \"/usr/lib/python2.7/site-packages/offlineimap/accounts.py\", line 344, in __sync\r\n    remoterepos.sync_folder_structure(localrepos, statusrepos)\r\n  File \"/usr/lib/python2.7/site-packages/offlineimap/repository/Base.py\", line 267, in sync_folder_structure\r\n    local_repo.makefolder(local_name)\r\n  File \"/usr/lib/python2.7/site-packages/offlineimap/repository/IMAP.py\", line 551, in makefolder\r\n    OfflineImapError.ERROR.FOLDER)\r\n\r\n#### Steps to reproduce the error\r\nThis setup ran fine with 7.0.9.\r\nIf I run the program as outlined above, I now get the error about INBOX already existing in MyIMAP.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/OfflineIMAP/offlineimap/issues/comments/263872900","html_url":"https://github.com/OfflineIMAP/offlineimap/issues/413#issuecomment-263872900","issue_url":"https://api.github.com/repos/OfflineIMAP/offlineimap/issues/413","id":263872900,"user":{"login":"nicolas33","id":90065,"avatar_url":"https://avatars.githubusercontent.com/u/90065?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolas33","html_url":"https://github.com/nicolas33","followers_url":"https://api.github.com/users/nicolas33/followers","following_url":"https://api.github.com/users/nicolas33/following{/other_user}","gists_url":"https://api.github.com/users/nicolas33/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolas33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolas33/subscriptions","organizations_url":"https://api.github.com/users/nicolas33/orgs","repos_url":"https://api.github.com/users/nicolas33/repos","events_url":"https://api.github.com/users/nicolas33/events{/privacy}","received_events_url":"https://api.github.com/users/nicolas33/received_events","type":"User","site_admin":false},"created_at":"2016-11-30T13:27:21Z","updated_at":"2016-11-30T13:27:21Z","body":"> @Blind55 is saying that nicolas33@6b6fa4f indeed works for him in an edit to his message.\r\n\r\nAlright! I've read the message the other way around.\r\n\r\n> I'm testing directly with all my email.\r\n\r\nYes, this is what I do too. However, I've put the maildirs and offlineimap cache into a filesystem supporting snapshots (btrfs) to revert from issues easily. On top of this I have a testing account.\r\n\r\n> Because of the issues the other day, I added a local nametrans, which invalidated all uids in my email because of the md5. Then I fixed the fmd5 manually for all 200k messages in my local mailbox.\r\n> \r\n> Now I'm stuck with the local nametrans.\r\n\r\nHmm... The FMD5 is built from the translated local name! Ok. I understand more of #411. :-)\r\n\r\nThanks both for your feedback!"}}
{"actor":{"display_login":"nicolas33"}}