[Dev] not finding Python site libs (incl. current linux snapshot)

Will Partain will.partain at verilab.com
Fri Aug 6 07:19:20 PDT 2004


Hi; two snapshots that I've tried (incl
Chandler_linux_20040805174456) have failed with:

   partain at hagrid% cd Chandler_linux_20040805174456/
   partain at hagrid% ./chandler 
   exePath:  [/home/partain/Chandler_linux_20040805174456]
   exeDir :  [/home/partain/Chandler_linux_20040805174456]
   libDir1:  [/home/partain/Chandler_linux_20040805174456/release/lib]
   libDir2:  [/home/partain/Chandler_linux_20040805174456/release/db/lib]
   libDir3:  [/home/partain/Chandler_linux_20040805174456/release/dbxml/lib]
   Could not find platform independent libraries <prefix>
   Could not find platform dependent libraries <exec_prefix>
   Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
   'import site' failed; use -v for traceback
   Traceback (most recent call last):
     File "Chandler.py", line 58, in ?
       main()
     File "Chandler.py", line 41, in main
       formattedBacktrace = "".join (traceback.format_exception (type, value, stack))
   UnboundLocalError: local variable 'traceback' referenced before assignment
   Python interpreter exited with value = -1

Setting PYTHONHOME to anything has no effect.  To test this,
I ran strace thusly... 

   PYTHONHOME=/our/.-ark-deploy/python--2.3.3 strace -f ./chandler

... and the given path never appeared in the strace output.
I have run Chandler snapshots before.  No big deal; keep up
the good work,

Will

PS: There is no obvious "bug reports" link on the chandler
osaf pages.



More information about the Dev mailing list