[zenoss-users] Asterisk Zenpack - Python Import Errors

AlecIs mqb at adelphia.net
Mon Sep 8 21:55:55 EDT 2008


I've got Zen 2.2.3 on SuSE Linux with Python 2.4.4 (the whole thing installed by the stack installer).

I installed and configured the the Asterisk Zenpack.  When I run the pack by hand from a command prompt ("python asx-stats.py"), it runs just fine and I get results from my Asterisk box.

However, when I try to run it from within Zen, I get an error as follows:


Code:

 
Executing command against igimon
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "/usr/local/zenoss/zenoss/ZenPacks/ZenPacks.AndreaConsadori.Asterisk-1.2-py2.4.egg/ZenPacks/AndreaConsadori/Asterisk/datasources/asx-stats.py", line 23, in <module>
import sys, os, re, socket
ImportError
:
No module named os
DONE in 0 seconds





Has anyone seen this before?  How can I troubleshoot it?




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=24820#24820

-------------------- m2f --------------------





More information about the zenoss-users mailing list