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

Heikki Toivonen heikki at osafoundation.org
Fri Aug 6 09:56:31 PDT 2004


This is http://bugzilla.osafoundation.org/show_bug.cgi?id=1672 "Linux 
launcher binary does not work - bad chandler_bin in launcher package". 
The workaround is to use the RunChandler scripts if they are available:

cd chandler
./release/RunChandler

or for debug:

./debug/RunChandler

Will Partain wrote:

> 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.
> 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> 
> Open Source Applications Foundation "Dev" mailing list
> http://lists.osafoundation.org/mailman/listinfo/dev


-- 
   Heikki Toivonen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.osafoundation.org/pipermail/dev/attachments/20040806/9d6d0585/signature.bin


More information about the Dev mailing list