Message: Onx (Lab) can't find libOnXPython.so to open a file Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Onx (Lab) can't find libOnXPython.so to open a file 

Keywords: OpenScientist
Forum: Analysis
Re: None How can I use Geant4 within OpenScientist? (Yang Bin)
Date: 20 Jan, 2005
From: Karen Saucke <Karen Saucke>

Hello,

I tried so see the output of Example AnaEx1. therefore I used Lab, calling with sh> onx

Lab/Main opened with the warning Xlib: extension "Xfree86-DRI" missing on display ":0.0".

trying to open a .py file e.g. hello.py with

->File ->File -> Import hello.py

I get the error:

Lib::DLL::DLL : can't laod OnXPhton library. Lib::DLL::DLL : error : libOnXPython.so: cannot open shared file: Nu such file or directory OnX:: ScriptManager::executeScript : Interpreter (Python) function not found for script : from OnX import sys_import;sys_import('Onx_Hello')

the library libOnxPython.so does exsist: find |grep libOnXPython.so ./usr/OpenScientist/v14r0/InstallArea/i386_linux24/lib/libOnXPython.so ./usr/OpenScientist/v14r0/OnX/v16r0/i386_linux24/libOnXPython.so ./usr/OpenScientist/v14r0/OpenScientist/v14r0/i386_linux24/libOnXPython.so

Where can I find inwith Onx, under which path the programm is looking for libOnXPython?

I checked, that the pathes /OpenSientist/v../OnX/... /OpenScientist/v../OpenScientist/... like above are added to

LD_LIBRARY_PATH, PATH and PYTHONPATH

that didn't help.

Any suggestions, what to do? Thanks, Karen

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Onx (Lab) can't find libOnXPython.so to open a file   (Guy Barrand - 20 Jan, 2005)
 Add Message Add Message
to: "Onx (Lab) can't find libOnXPython.so to open a file"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]