Centos OS 4.5 or Ubuntu

Questions about BrainVisa usage and installation

Moderators: denghien, riviere

Post Reply
Narly
Posts: 30
Joined: Wed Jul 20, 2005 8:20 pm
Location: ICN, UCL, London

Centos OS 4.5 or Ubuntu

Post by Narly »

Hello there,
I would like to know if the latest version of Brainvisa runs on Centos OS 4.5 and/or on Ubuntu 7.10.
thanks in advance,
Narly.
====================================
Narly Golestani
University of Geneva
& University College London
====================================
User avatar
riviere
Site Admin
Posts: 1361
Joined: Tue Jan 06, 2004 12:21 pm
Location: CEA NeuroSpin, Saint Aubin, France
Contact:

Re: Centos OS 4.5 or Ubuntu

Post by riviere »

Hi Narly,
I don't have any experience of Ubuntu 7.10 nor CentOS 4.5. But as we build our programs on a rather old system (Fedora 4 is 3 or 4 years old) I guess it should be OK. But I cannot be 100% sure before it has been tested...
If you try them, please tell us if it works or not...
Denis
Narly
Posts: 30
Joined: Wed Jul 20, 2005 8:20 pm
Location: ICN, UCL, London

Re: Centos OS 4.5 or Ubuntu

Post by Narly »

Hi Denis,
Ok I'lll let you know.
best,
Narly.
====================================
Narly Golestani
University of Geneva
& University College London
====================================
Narly
Posts: 30
Joined: Wed Jul 20, 2005 8:20 pm
Location: ICN, UCL, London

SUSE Linux Enterprise Server

Post by Narly »

Hi everyone,
I would like to know if anyone has installed and is using brainvisa on a system running the
SUSE Linux Enterprise Server, and if so whether this works.
thanks in advance,
Narly.
====================================
Narly Golestani
University of Geneva
& University College London
====================================
MichelLeipzig
Posts: 42
Joined: Tue May 29, 2007 8:31 am

Re: Centos OS 4.5 or Ubuntu

Post by MichelLeipzig »

I'm seeing the following on Ubuntu 8.10...

Anatomist seems to run.
Brainvisa, well...

michel@michel-desktop:~/sideprojects/brainvisa/bin$ ./brainvisa
Loading toolbox brainrat
Loading toolbox connectomist
Loading toolbox cortical_surface
Loading toolbox data management
Loading toolbox datamind
Loading toolbox editors
Loading toolbox fMRI
Loading toolbox morphometry
Loading toolbox structural_analysis
Loading toolbox sulci
Loading toolbox t1mri
Loading toolbox tools
Loading toolbox viewers
Loading toolbox My processes
Fontconfig error: "conf.d", line 1: no element found
Fontconfig warning: line 73: unknown element "cachedir"
Fontconfig warning: line 74: unknown element "cachedir"
The log file for this session is /home/michel/.brainvisa/brainvisa.log
Traceback (most recent call last):
File "<string>", line 27, in <module>
File "/home/michel/sideprojects/brainvisa/brainvisa/neuro.py", line 210, in <module>
main()
File "/home/michel/sideprojects/brainvisa/brainvisa/neuro.py", line 151, in main
readProcesses( neuroConfig.processesPath )
File "/home/michel/sideprojects/brainvisa/brainvisa/neuroProcesses.py", line 3006, in readProcesses
html=exceptionHTML( beforeError=_t_( 'Cannot write processes cache file <em>%s</em>' ) % ( processCacheFile, ) ),
NameError: global name 'processCacheFile' is not defined
Exception exceptions.AttributeError: "'NoneType' object has no attribute 'currentThread'" in <bound method ThreadSafeSQLiteConnection.__del__ of <soma.databases.sqlite_tools.ThreadSafeSQLiteConnection object at 0xa30394c>> ignored

Any advice about a workaround or missing library?

Edit: now running the latest... 3.1.

Cheers,

Michel
User avatar
Yann Cointepas
Posts: 316
Joined: Tue Jan 20, 2004 2:56 pm
Location: Neurospin, Saint Aubin, France
Contact:

Re: Centos OS 4.5 or Ubuntu

Post by Yann Cointepas »

Hi Michel,

I think there is no missing library but a syntax error in BrainVISA. BrainVISA had been tested a bit on Ubuntu 8.04 and Ubuntu 8.10.

1) You can ignore Fontconfig related messages. We provide some old system libraries (from Fedora Core 4) and old Fontconfig is not able to read newer configuration file. These messages disappear if we build BrainVISA package on a more recent system.

2) At begining, BrainVISA tries to write a process cache file (~/.brainvisa/processCache). If it fails for any reason (and it fails on your config), it is supposed to silently put a message in the log file. But the code for putting this message misspell a variable name and produces an error.

3) This error makes BrainVISA fails at startup.

This error will be fixed in next bug fix release but in the meantime you can fix it by editing the file brainvisa/neuroProcesses.py (the full name is in the error message at startup) and replacing processCacheFile by processesCacheFile in line 3006.

Thank you for your message,

Yann
MichelLeipzig
Posts: 42
Joined: Tue May 29, 2007 8:31 am

Re: Centos OS 4.5 or Ubuntu

Post by MichelLeipzig »

Looks like that did it, Yann. Thanks. I perhaps should have caught that, but the message was a little cryptic, even if explicit about the line number.

I'll be in touch as things progress.

Best wishes, Michel
Narly
Posts: 30
Joined: Wed Jul 20, 2005 8:20 pm
Location: ICN, UCL, London

SuSE Enterprise (SLED 10.2)

Post by Narly »

Hi Denis,
I've tested anatomist (but not all the brainvisa components) on SuSE Enterprise (SLED 10.2) and it works :)
(I did not test Centos / Ubuntu in the end)
all the best,
Narly.
====================================
Narly Golestani
University of Geneva
& University College London
====================================
Post Reply