THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - arnaud chong (shine)
Attached to Project - sip-router Summary - app_python doesn't work Task Type - Bug Report Category - Module Status - Unconfirmed Assigned To - Operating System - Linux Severity - Medium Priority - Normal Reported Version - 3.1 Due in Version - Undecided Due Date - Undecided Details - Hello,
When I want to load a python script via the app_python module, kamailio crashes.
The module uses dirname & basename (http://git.sip-router.org/cgi-bin/gitweb.cgi?p=sip-router;a=blob;f=modules/a... lines 103-106).
" Both dirname() and basename() may modify the contents of path, so it may be desirable to pass a copy when calling one of these functions." (quote from the manual).
The path is actually changed and /my/path/blih.py becomes /my/patrh after the first dirname, so the return of basename is wrong and everything after is broken.
More information can be found at the following URL: http://sip-router.org/tracker/index.php?do=details&task_id=137
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.