{"action":"created","issue":{"url":"https://api.github.com/repos/pazz/alot/issues/1154","repository_url":"https://api.github.com/repos/pazz/alot","labels_url":"https://api.github.com/repos/pazz/alot/issues/1154/labels{/name}","comments_url":"https://api.github.com/repos/pazz/alot/issues/1154/comments","events_url":"https://api.github.com/repos/pazz/alot/issues/1154/events","html_url":"https://github.com/pazz/alot/issues/1154","id":256695785,"number":1154,"title":"multiple values for sync_maildir_flags prevents sent mail saving to db","user":{"login":"NoctuaNivalis","id":994166,"avatar_url":"https://avatars1.githubusercontent.com/u/994166?v=4","gravatar_id":"","url":"https://api.github.com/users/NoctuaNivalis","html_url":"https://github.com/NoctuaNivalis","followers_url":"https://api.github.com/users/NoctuaNivalis/followers","following_url":"https://api.github.com/users/NoctuaNivalis/following{/other_user}","gists_url":"https://api.github.com/users/NoctuaNivalis/gists{/gist_id}","starred_url":"https://api.github.com/users/NoctuaNivalis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoctuaNivalis/subscriptions","organizations_url":"https://api.github.com/users/NoctuaNivalis/orgs","repos_url":"https://api.github.com/users/NoctuaNivalis/repos","events_url":"https://api.github.com/users/NoctuaNivalis/events{/privacy}","received_events_url":"https://api.github.com/users/NoctuaNivalis/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-09-11T13:07:32Z","updated_at":"2017-09-12T06:58:21Z","closed_at":"2017-09-11T21:37:10Z","author_association":"NONE","body":"Python version: 2.7.13\r\nAlot version: current master (afcdc5f)\r\n[Configuration](https://github.com/NoctuaNivalis/dotfiles/blob/master/config/alot/config)\r\nnotmuch --version: notmuch 0.25+76~gec37900\r\npip2 freeze: notmuch==0.25\r\n\r\n__Observed behavior__: Mails I send aren't saved upon sending. I get an error message instead. Mails are sent, and I receive them shortly after by IMAP. Traceback is below.\r\n\r\n__Expected behavior__: Mail I send are saved.\r\n\r\n```\r\nERROR:ui:Traceback (most recent call last):\r\n  File \"/home/noctua/.local/lib/python2.7/site-packages/twisted/internet/defer.py\", line 321, in addCallback\r\n    callbackKeywords=kw)\r\n  File \"/home/noctua/.local/lib/python2.7/site-packages/twisted/internet/defer.py\", line 310, in addCallbacks\r\n    self._runCallbacks()\r\n  File \"/home/noctua/.local/lib/python2.7/site-packages/twisted/internet/defer.py\", line 653, in _runCallbacks\r\n    current.result = callback(current.result, *args, **kw)\r\n  File \"/home/noctua/.local/lib/python2.7/site-packages/alot/ui.py\", line 679, in call_apply\r\n    return defer.maybeDeferred(cmd.apply, self)\r\n--- <exception caught here> ---\r\n  File \"/home/noctua/.local/lib/python2.7/site-packages/twisted/internet/defer.py\", line 150, in maybeDeferred\r\n    result = f(*args, **kw)\r\n  File \"/home/noctua/.local/lib/python2.7/site-packages/alot/commands/globals.py\", line 576, in apply\r\n    ui.dbman.flush()\r\n  File \"/home/noctua/.local/lib/python2.7/site-packages/alot/db/manager.py\", line 143, in flush\r\n    msg, _ = db.add_message(path, sync_maildir_flags=sync)\r\n  File \"/home/noctua/.local/lib/python2.7/site-packages/notmuch/database.py\", line 474, in add_message\r\n    self.index_file(self, filename, sync_maildir_flags=sync_maildir_flags)\r\nexceptions.TypeError: index_file() got multiple values for keyword argument 'sync_maildir_flags'\r\n```"},"comment":{"url":"https://api.github.com/repos/pazz/alot/issues/comments/328758107","html_url":"https://github.com/pazz/alot/issues/1154#issuecomment-328758107","issue_url":"https://api.github.com/repos/pazz/alot/issues/1154","id":328758107,"user":{"login":"NoctuaNivalis","id":994166,"avatar_url":"https://avatars1.githubusercontent.com/u/994166?v=4","gravatar_id":"","url":"https://api.github.com/users/NoctuaNivalis","html_url":"https://github.com/NoctuaNivalis","followers_url":"https://api.github.com/users/NoctuaNivalis/followers","following_url":"https://api.github.com/users/NoctuaNivalis/following{/other_user}","gists_url":"https://api.github.com/users/NoctuaNivalis/gists{/gist_id}","starred_url":"https://api.github.com/users/NoctuaNivalis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoctuaNivalis/subscriptions","organizations_url":"https://api.github.com/users/NoctuaNivalis/orgs","repos_url":"https://api.github.com/users/NoctuaNivalis/repos","events_url":"https://api.github.com/users/NoctuaNivalis/events{/privacy}","received_events_url":"https://api.github.com/users/NoctuaNivalis/received_events","type":"User","site_admin":false},"created_at":"2017-09-12T06:58:21Z","updated_at":"2017-09-12T06:58:21Z","author_association":"NONE","body":"Oh, sorry for getting the origin wrong, I should've read the traceback better. Thanks for fixing this so quickly."}}
{"actor":{"display_login":"NoctuaNivalis"}}