Woot!!  I figured it out

I needed to have the export PYTHONPATH at the beginning of the .bashrc and not 
at the end.  I will have to work up some sort of automated install to handle 
this but for now I am just pleased that it is working now.

 export PYTHONPATH=${HOME}/python/lib/python2.4/site-packages


For others benefit, I figured this out by attempted to run

ssh [email protected] '/home/zenoss/bin/zenplugin.py disk /'

Code:
ssh: /usr/local/zenoss/common/lib/libcrypto.so.0.9.8: no version information 
available (required by ssh)
Traceback (most recent call last):
  File "/home/zenoss/bin/zenplugin.py", line 49, in <module>
    from zenoss.plugins.common import ApplicationError
ImportError: No module named zenoss.plugins.common



Since a full ssh session was working I then looked in the .bashrc and saw 

Code:
# If not running interactively, don't do anything
[ -z "$PS1" ] && return




That little comment let me know that the following code was going to keep 
anything from happening if not run interactively.  So by putting the export at 
the front of the file things are working swimmingly.  Since I am working to 
automate the entire setup in my environment I will probably overwrite the 
.bashrc with a custom built script for the zenoss user.




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

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

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



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to