Page 1 of 1

BrainVISA 3.1 does not launch

Posted: Mon Jun 16, 2008 3:15 pm
by Melanie PELEGRINI
Hi gurus

I've installed the latest Brainvisa binary package on linux (FC3 and FC8) and it works fine when I run 'brainvisa' or 'anatomist' from the machine where the binary distribution is installed.

Now I tried to run 'anatomist' from another linux FC3 machine (on which the disk with the binary distribution is mounted). Works fine.

I tried to run 'brainvisa', and then I get this :


. /MyPathToBrainvisa/bin/brainvisa
/MyPathToBrainvisa/bin/brainvisa

Traceback (most recent call last):
File "<string>", line 27, in <module>
File "/MyPathToBrainvisa/brainvisa/neuro.py", line 49, in <module>
import neuroConfig
File "/MyPathToBrainvisa/brainvisa/neuroConfig.py", line 44, in <module>
from soma.wip.application.api import Application
File "/MyPathToBrainvisa/python/soma/wip/application/api.py", line 40, in <module>
from soma.wip.application.plugins import Plugin, Plugins
File "/MyPathToBrainvisa/python/soma/wip/application/plugins.py", line 40, in <module>
from soma.minf.api import readMinf, minfFormat, writeMinf
File "/MyPathToBrainvisa/python/soma/minf/api.py", line 51, in <module>
import gzip
File "/MyPathToBrainvisa/lib/python2.5/gzip.py", line 9, in <module>
import zlib
ImportError: /MyPathToBrainvisa/lib/python2.5/lib-dynload/zlib.so: undefined symbol: inflateCopy

Anyone has an idea why I would have some problems with python when running brainvisa from a remote machine ?

Re: BrainVISA 3.1 does not launch

Posted: Mon Jun 16, 2008 4:33 pm
by riviere
Hi Mélanie,

I don't think it should be related to remote execution. I rather suspect an incompatibility on the system itself.
The binary packages have been built on FC4, while you are running FC3, which is older and could have older, incompatibe libraries. As you have succedded in running brainvisa on a FC3 machine, I guess it can work, but isn't it just that your other FC3 machine has not been updated with the most recent FC3 updates (which anyway are several years old) ?
Check if /lib/libz.so.1 from both system are the same or not...

Remote execution problems should be "restricted" to 3D/OpenGL/GLX problems...

Denis

Re: BrainVISA 3.1 does not launch

Posted: Tue Jun 17, 2008 10:05 am
by Melanie PELEGRINI
In fact it's not from a remote FC3 that I try to run Brainvisa, but from an FC6...
OK, I'll make some tests on different machines and let you know :?

Re: BrainVISA 3.1 does not launch

Posted: Tue Jun 17, 2008 2:15 pm
by Melanie PELEGRINI
Once again once more :D

Local installation on FC3 and FC8 : everything OK.

Remote run from an FC3 or an FC7 or an FC8 system : everything OK

Local installation or remote run from an FC6 system : problem with zlib on all machines (I've tried 4) but one :?:
What's the matter with FC6 ?

Re: BrainVISA 3.1 does not launch

Posted: Tue Jun 17, 2008 3:11 pm
by Melanie PELEGRINI
Got it 8)

Nothing wrong with FC6...

It happens that in the .bashrc of my FC6 users, there was an 'export LD_LIBRARY_PATH' for matlab libraries, that are incompatible with python's zlib library...

Now it works :yeah: