modpython broken in nightlies [$5 awarded] #448

Closed
opened 2026-10-05 04:21:35 +02:00 by adam · 1 comment
Owner
<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]
<md_5> trying to use python2 instead of python3 ?
<md_5> (znc-git-2015-01-05.tar.gz on Ubuntu 14.10)
<DarthGandalf> How does line 3382 of znc_cory.py look like?
<DarthGandalf> oh, nightly?
<md_5> def CDir_MakeDir(sPath: 'CString', iMode: 'mode_t'=0700) -> "bool":
<md_5> that is the line
<DarthGandalf> Oh...
<DarthGandalf> SWIG 3.0.3 :(

The $5 bounty on this issue has been claimed at Bountysource.

``` <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] <md_5> trying to use python2 instead of python3 ? <md_5> (znc-git-2015-01-05.tar.gz on Ubuntu 14.10) <DarthGandalf> How does line 3382 of znc_cory.py look like? <DarthGandalf> oh, nightly? <md_5> def CDir_MakeDir(sPath: 'CString', iMode: 'mode_t'=0700) -> "bool": <md_5> that is the line <DarthGandalf> Oh... <DarthGandalf> SWIG 3.0.3 :( ``` ## <bountysource-plugin> The **[$5 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 has been claimed at [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github). </bountysource-plugin> <!-- github-sync-id:53455536 -->
adam closed this issue 2026-10-05 04:21:36 +02:00
Author
Owner

Dessa downgraded SWIG to 3.0.2 on nightlies

Dessa downgraded SWIG to 3.0.2 on nightlies <!-- github-comment-id:69275879 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/znc#448