o Juha Heinanen [05/26/09 11:05]:
Juha Heinanen writes:
> May 25 17:00:59 localhost sems[6491]: ERROR: [b7c7e6c0] import_ivr_builtins
(Ivr.cpp:278): IvrFactory: could not find the log python module.
> May 25 17:00:59 localhost sems[6491]: ERROR: [b7c7e6c0] import_ivr_builtins
(Ivr.cpp:279): IvrFactory: please check your installation.
stefan,
any comments on this one? could it be something that i have done wrong
here or is it a bug?
log python module has got installed in plug-in directory:
# ls -ls /usr/lib/sems/plug-in/log.pyc
4 -rwxr-xr-x 1 root root 1863 2009-05-25 12:44 /usr/lib/sems/plug-in/log.pyc*
and ivr module finds it from there if dsm module is not in load_plugins
list.
python apparently uses a global interpreter and dsm's mod_py was
initialized before ivr. I have added AmConfig::PlugInPath to PYTHONPATH
now in mod_py as well. I hope there are not other conflicts with running
the two at the same time - otherwise it would complicate things as we
would have to use different interpreter states and switch all the time
a.s.o.
Stefan
-- juha
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems
--
Stefan Sayer
VoIP Services
[email protected]
www.iptego.com
IPTEGO GmbH
Wittenbergplatz 1
10789 Berlin
Germany
Amtsgericht Charlottenburg, HRB 101010
Geschaeftsfuehrer: Alexander Hoffmann
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems