Python exceptions not sent to status window after first line #129

Closed
opened 2026-10-05 04:00:24 +02:00 by adam · 0 comments
Owner
<*status> Unable to find modinfo for [pyeval] [Traceback (most recent call last):

the rest ends up in the server window like such

*   File "/root/znc-git/modules/modpython/znc.py", line 577, in get_mod_info
*     pymodule, datadir = find_open(modname)
*   File "/root/znc-git/modules/modpython/znc.py", line 457, in find_open
*     pymodule = imp.load_module(modname, *x)
*   File "/home/znc-git/modules/pyeval.py", line 7, in <module>
*     class pyeval(znc.Module, InteractiveInterpreter):
*   File "/home/znc-git/modules/pyeval.py", line 10, in pyeval
*     module_fake = znc.IsNotDefined
* AttributeError: 'module' object has no attribute 'IsNotDefined'
* ]
``` <*status> Unable to find modinfo for [pyeval] [Traceback (most recent call last): ``` the rest ends up in the server window like such ``` * File "/root/znc-git/modules/modpython/znc.py", line 577, in get_mod_info * pymodule, datadir = find_open(modname) * File "/root/znc-git/modules/modpython/znc.py", line 457, in find_open * pymodule = imp.load_module(modname, *x) * File "/home/znc-git/modules/pyeval.py", line 7, in <module> * class pyeval(znc.Module, InteractiveInterpreter): * File "/home/znc-git/modules/pyeval.py", line 10, in pyeval * module_fake = znc.IsNotDefined * AttributeError: 'module' object has no attribute 'IsNotDefined' * ] ``` <!-- github-sync-id:5891352 -->
adam closed this issue 2026-10-05 04:00:24 +02:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/znc#129