{"action":"closed","issue":{"url":"https://api.github.com/repos/znc/znc/issues/809","labels_url":"https://api.github.com/repos/znc/znc/issues/809/labels{/name}","comments_url":"https://api.github.com/repos/znc/znc/issues/809/comments","events_url":"https://api.github.com/repos/znc/znc/issues/809/events","html_url":"https://github.com/znc/znc/issues/809","id":53455536,"number":809,"title":"modpython broken in nightlies [$5]","user":{"login":"md-5","id":1007849,"avatar_url":"https://avatars.githubusercontent.com/u/1007849?v=3","gravatar_id":"","url":"https://api.github.com/users/md-5","html_url":"https://github.com/md-5","followers_url":"https://api.github.com/users/md-5/followers","following_url":"https://api.github.com/users/md-5/following{/other_user}","gists_url":"https://api.github.com/users/md-5/gists{/gist_id}","starred_url":"https://api.github.com/users/md-5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/md-5/subscriptions","organizations_url":"https://api.github.com/users/md-5/orgs","repos_url":"https://api.github.com/users/md-5/repos","events_url":"https://api.github.com/users/md-5/events{/privacy}","received_events_url":"https://api.github.com/users/md-5/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/znc/znc/labels/Bountysource","name":"Bountysource","color":"129e5e"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-05T22:20:00Z","updated_at":"2015-01-09T00:34:42Z","closed_at":"2015-01-09T00:34:42Z","body":"````\r\n<md_5> [2015-01-06 09:06:10.711558] Unable to load module [modpython] [Module [modpython] aborted: Traceback (most recent call last):\\x0A  File \"./modules/modpython/znc.py\", line 23, in <module>\\x0A    from znc_core import *\\x0A  File \"./modules/modpython/znc_core.py\", line 3382\\x0A    def CDir_MakeDir(sPath: 'CString', iMode: 'mode_t'=0700) -> \"bool\":\\x0A                                                          ^\\x0ASyntaxError: invalid token\\x0A]\r\n<md_5> trying to use python2 instead of python3 ?\r\n<md_5> (znc-git-2015-01-05.tar.gz on Ubuntu 14.10)\r\n<DarthGandalf> How does line 3382 of znc_cory.py look like?\r\n<DarthGandalf> oh, nightly?\r\n<md_5> def CDir_MakeDir(sPath: 'CString', iMode: 'mode_t'=0700) -> \"bool\":\r\n<md_5> that is the line\r\n<DarthGandalf> Oh...\r\n<DarthGandalf> SWIG 3.0.3 :(\r\n````\r\n<bountysource-plugin>\r\n\r\n---\r\nThere is a **[<total-bounty>$5</total-bounty> open bounty](https://www.bountysource.com/issues/7513124-modpython-broken-in-nightlies?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github)** on this issue. Add to the bounty at [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"}}