[Freeswitch-users] Issue with mod_python - exceptions.AttributeError
davy van de moere
davy.van.de.moere at gmail.com
Wed Mar 5 15:55:41 MSK 2014
I purified a method to reproduce my issue, just create a python file e.g. test containing:
from celery import Celery
def handler(session, args):
pass
in the cli go for a python test, this gives a:
2014-03-05 13:54:55.009293 [NOTICE] mod_python.c:212 Invoking py module: test
2014-03-05 13:54:55.009293 [ERR] mod_python.c:239 Error reloading module
2014-03-05 13:54:55.009293 [ERR] mod_python.c:164 Python Error by calling script "test": <type 'exceptions.AttributeError'>
Message: 'module' object has no attribute 'argv'
Exception: None
Traceback (most recent call last)
File: "/usr/local/freeswitch/scripts/test.py", line 1, in <module>
File: "/usr/local/lib/python2.7/dist-packages/celery/__init__.py", line 106, in <module>
Thx!
--
davy van de moere
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users
mailing list