unable to save ROI file / error message: please help

Questions about Anatomist manipulation

Moderators: denghien, riviere

User avatar
rvboutin
Posts: 36
Joined: Tue Feb 09, 2010 12:53 pm

unable to save ROI file / error message: please help

Post by rvboutin »

Hi,
I am using the last release of BrainVisa/Anatomist for Linux 64 bit. I am running Ubuntu 11.10 4 bit English version.
With an image open (I tried .ima and .v format), create a new ROI file and try to save it, Anatomist exit with the following error coming up in the terminal:

Code: Select all

/home/mqbsshb9/BrainVisa_4.1.1+/bin/real-bin/anatomist: symbol lookup error: /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0: undefined symbol: cairo_has_current_point
As this completely prevented me to use Anatomist and as the error is related to a 64bit library, I gave a try to the 32bit version of BrainVisa/Anatomist, and it works OK, although having to run and switch back and forth between the 2 versions is not ideal.
Cheers,
Rv
__________________________________
Hervé BOUTIN, PhD
Senior Research Scientist
University of Manchester
Faculty of Biology, Medicine and Health
email: herve.boutin@manchester.ac.uk
__________________________________
Dominique Geffroy
Site Admin
Posts: 161
Joined: Thu Mar 01, 2007 4:22 pm
Location: IFR 49 - Neurospin, Gif-sur-Yvette, France
Contact:

Re: unable to save ROI file / error message: please help

Post by Dominique Geffroy »

Hello,

The same problem was already reported in this thread: http://brainvisa.info/forum/viewtopic.p ... airo#p5514
You should try to remove (or move somewhere else) the libcairo.so* in brainvisa package lib directory. The problem is probably due to an imcompatibility between this lib and the libpangocairo of your system.

Dominique
User avatar
rvboutin
Posts: 36
Joined: Tue Feb 09, 2010 12:53 pm

Re: unable to save ROI file / error message: please help

Post by rvboutin »

Hi,
Thanks that solved the problem. Sorry for not seeing the previous post on the forums.
Cheers,
Rv
__________________________________
Hervé BOUTIN, PhD
Senior Research Scientist
University of Manchester
Faculty of Biology, Medicine and Health
email: herve.boutin@manchester.ac.uk
__________________________________
User avatar
rvboutin
Posts: 36
Joined: Tue Feb 09, 2010 12:53 pm

Re: unable to save ROI file / error message: please help

Post by rvboutin »

Hi,
Sorry to come back with this issue... It does work for Anatomist, but then BrainVisa hangs (does not start).
To be more precise the problematic library is "libcairo.so.2", without it BrainVisa hangs with some GTK error message that I cannot copy here as I have to do a cold reboot of my PC (it freezes completely).
Any other suggestions?
Cheers,
Rv
__________________________________
Hervé BOUTIN, PhD
Senior Research Scientist
University of Manchester
Faculty of Biology, Medicine and Health
email: herve.boutin@manchester.ac.uk
__________________________________
Dominique Geffroy
Site Admin
Posts: 161
Joined: Thu Mar 01, 2007 4:22 pm
Location: IFR 49 - Neurospin, Gif-sur-Yvette, France
Contact:

Re: unable to save ROI file / error message: please help

Post by Dominique Geffroy »

Hi,

Do you remember more details about the error message ? Is there a library name mentioned in the error message ?
Maybe you could try to remove also from the package the libfontconfig* that is used by libcairo.
You could also try to start your linux session with a KDE desktop which uses Qt instead of GTK.

Dominique
User avatar
rvboutin
Posts: 36
Joined: Tue Feb 09, 2010 12:53 pm

Re: unable to save ROI file / error message: please help

Post by rvboutin »

Hi,
After waiting about 5min, BrainVisa finally gave up and give me back control of the PC. Here is the error causing BrainVisa to hang/not starting:

Code: Select all

(python:29949): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion `GTK_IS_WIDGET (widget)' failed
Since my terminal is configured to keep the last 1024 lines of command... this means that this error happens more than 1024 times before the system gives up...
I hope that this logging will help you solve the issue. Having had quite a few issue with Gnome desktop install on Ubuntu 11.04, and messing around with Unity settings, etc.. I am not too keen on messing about even more with another Desktop application and taking the risk of messing up my Ubuntu install.
Cheers,
Rv
__________________________________
Hervé BOUTIN, PhD
Senior Research Scientist
University of Manchester
Faculty of Biology, Medicine and Health
email: herve.boutin@manchester.ac.uk
__________________________________
Dominique Geffroy
Site Admin
Posts: 161
Joined: Thu Mar 01, 2007 4:22 pm
Location: IFR 49 - Neurospin, Gif-sur-Yvette, France
Contact:

Re: unable to save ROI file / error message: please help

Post by Dominique Geffroy »

Does the error happen at Brainvisa startup or when you do something in particular ?
Did you try removing the libfontconfig* files for the lib directory of Brainvisa package ?
User avatar
rvboutin
Posts: 36
Joined: Tue Feb 09, 2010 12:53 pm

Re: unable to save ROI file / error message: please help

Post by rvboutin »

Hi,
This message happens when BrainVisa starts or shall I say does not start. Basically, the computer gets stuck with that message error, and BrainVisa never opens.
Removing the libfontconfig.* librairies returned a similar error, except for "python:23223" which is different:

Code: Select all

(python:23223): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion `GTK_IS_WIDGET (widget)' failed
Thanks for your help,
Rv
__________________________________
Hervé BOUTIN, PhD
Senior Research Scientist
University of Manchester
Faculty of Biology, Medicine and Health
email: herve.boutin@manchester.ac.uk
__________________________________
User avatar
riviere
Site Admin
Posts: 1361
Joined: Tue Jan 06, 2004 12:21 pm
Location: CEA NeuroSpin, Saint Aubin, France
Contact:

Re: unable to save ROI file / error message: please help

Post by riviere »

It is obviously linked to Qt loading system plugins that should not be loaded, but I cannot find a way to completely prevent plugins to be loaded, or to really control plugins paths. I'm still re-re-reading the docs...
Denis
User avatar
rvboutin
Posts: 36
Joined: Tue Feb 09, 2010 12:53 pm

Re: unable to save ROI file / error message: please help

Post by rvboutin »

Hi Denis,
OK thanks for your help!! Much appreciated!
Cheers,
Rv
__________________________________
Hervé BOUTIN, PhD
Senior Research Scientist
University of Manchester
Faculty of Biology, Medicine and Health
email: herve.boutin@manchester.ac.uk
__________________________________
Dominique Geffroy
Site Admin
Posts: 161
Joined: Thu Mar 01, 2007 4:22 pm
Location: IFR 49 - Neurospin, Gif-sur-Yvette, France
Contact:

Re: unable to save ROI file / error message: please help

Post by Dominique Geffroy »

Hi Rv,

Could you have a look in your $HOME/.config, do you see a Trolltech.conf file ?
If so, please try to move this file somewhere else and then start again Brainvisa and tell me if you still have the error. That would help us in understanding the problem...

Dominique
User avatar
rvboutin
Posts: 36
Joined: Tue Feb 09, 2010 12:53 pm

Re: unable to save ROI file / error message: please help

Post by rvboutin »

Hi Dominique,
OK I tried to move the "Trolltech.conf", I got the same problem with BrainVisa when the libcairo.so.* libraries are deleted, I got an error similar to the previous one except it is "(python:2662)", then I have not the whole code as my computer completely freeze.
The content of the "Trolltech.conf" file is as follow:

Code: Select all

[Qt%20Plugin%20Cache%204.6.false]
home\mqbsshb9\BrainVisa_4.1.1%2B\lib\qt-plugins\inputmethods\libqimsw-multi.so=40602, 0, x86_64 linux g++-4 full-config, 2010-04-20T10:13:20
home\mqbsshb9\BrainVisa_4.1.1%2B\lib\qt-plugins\inputmethods\libqimsw-multi.so.debug=0, 1, , 2010-04-20T09:21:29
home\mqbsshb9\BrainVisa_4.1.1%2B\lib\qt-plugins\imageformats\libqgif.so=40602, 0, x86_64 linux g++-4 full-config, 2010-04-20T10:13:18
home\mqbsshb9\BrainVisa_4.1.1%2B\lib\qt-plugins\imageformats\libqgif.so.debug=0, 1, , 2010-04-20T09:20:48
home\mqbsshb9\BrainVisa_4.1.1%2B\lib\qt-plugins\imageformats\libqico.so=40602, 0, x86_64 linux g++-4 full-config, 2010-04-20T10:13:18
home\mqbsshb9\BrainVisa_4.1.1%2B\lib\qt-plugins\imageformats\libqico.so.debug=0, 1, , 2010-04-20T09:20:55
home\mqbsshb9\BrainVisa_4.1.1%2B\lib\qt-plugins\imageformats\libqjpeg.so=40602, 0, x86_64 linux g++-4 full-config, 2010-04-20T10:13:18
home\mqbsshb9\BrainVisa_4.1.1%2B\lib\qt-plugins\imageformats\libqjpeg.so.debug=0, 1, , 2010-04-20T09:20:47
home\mqbsshb9\BrainVisa_4.1.1%2B\lib\qt-plugins\imageformats\libqmng.so=40602, 0, x86_64 linux g++-4 full-config, 2010-04-20T10:13:18
home\mqbsshb9\BrainVisa_4.1.1%2B\lib\qt-plugins\imageformats\libqmng.so.debug=0, 1, , 2010-04-20T09:20:50
home\mqbsshb9\BrainVisa_4.1.1%2B\lib\qt-plugins\imageformats\libqsvg.so=40602, 0, x86_64 linux g++-4 full-config, 2010-04-20T10:13:18
home\mqbsshb9\BrainVisa_4.1.1%2B\lib\qt-plugins\imageformats\libqsvg.so.debug=0, 1, , 2010-04-20T09:20:51
home\mqbsshb9\BrainVisa_4.1.1%2B\lib\qt-plugins\imageformats\libqtiff.so=40602, 0, x86_64 linux g++-4 full-config, 2010-04-20T10:13:18
home\mqbsshb9\BrainVisa_4.1.1%2B\lib\qt-plugins\imageformats\libqtiff.so.debug=0, 1, , 2010-04-20T09:20:53

[Qt%20Factory%20Cache%204.6]
com.trolltech.Qt.QInputContextFactoryInterface%3A\home\mqbsshb9\BrainVisa_4.1.1%2B\lib\qt-plugins\inputmethods\libqimsw-multi.so=2010-04-20T10:13:20, imsw-multi
com.trolltech.Qt.QImageIOHandlerFactoryInterface%3A\home\mqbsshb9\BrainVisa_4.1.1%2B\lib\qt-plugins\imageformats\libqgif.so=2010-04-20T10:13:18, gif
com.trolltech.Qt.QImageIOHandlerFactoryInterface%3A\home\mqbsshb9\BrainVisa_4.1.1%2B\lib\qt-plugins\imageformats\libqico.so=2010-04-20T10:13:18, ico
com.trolltech.Qt.QImageIOHandlerFactoryInterface%3A\home\mqbsshb9\BrainVisa_4.1.1%2B\lib\qt-plugins\imageformats\libqjpeg.so=2010-04-20T10:13:18, jpeg, jpg
com.trolltech.Qt.QImageIOHandlerFactoryInterface%3A\home\mqbsshb9\BrainVisa_4.1.1%2B\lib\qt-plugins\imageformats\libqmng.so=2010-04-20T10:13:18, mng
com.trolltech.Qt.QImageIOHandlerFactoryInterface%3A\home\mqbsshb9\BrainVisa_4.1.1%2B\lib\qt-plugins\imageformats\libqsvg.so=2010-04-20T10:13:18, svg
com.trolltech.Qt.QImageIOHandlerFactoryInterface%3A\home\mqbsshb9\BrainVisa_4.1.1%2B\lib\qt-plugins\imageformats\libqtiff.so=2010-04-20T10:13:18, tiff, tif

[Qt]
filedialog=@ByteArray(\0\0\0\xbe\0\0\0\x3\0\0\0\x1e\0\0\0\xff\0\0\0\0\0\0\0\x2\0\0\0]\0\0\xe\0\x1\0\0\0\x4\x1\0\0\0\x1\0\0\0\x2\0\0\0\x5\x66ile:\0\0\0\x15\x66ile:///home/mqbsshb9\0\0\0\x1\0\0\0\"\0/\0m\0\x65\0\x64\0i\0\x61\0/\0I\0o\0m\0\x65\0g\0\x61\0_\0H\0\x44\0\x44\0\0\0\"\0/\0m\0\x65\0\x64\0i\0\x61\0/\0I\0o\0m\0\x65\0g\0\x61\0_\0H\0\x44\0\x44\0\0\0~\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x1\xf7\0\0\0\x4\x1\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x4\0\0\x1\x4\0\0\0\x1\0\0\0\0\0\0\0\x41\0\0\0\x1\0\0\0\0\0\0\0\x41\0\0\0\x1\0\0\0\0\0\0\0q\0\0\0\x1\0\0\0\0\0\0\0\x1)
I just noticed that the name of the Brainvisa directory is "BrainVisa_4.1.1%2B" in the file above... I guess this is because I named it "BrainVisa_4.1.1+", could that be an issue?

Cheers,
Rv
__________________________________
Hervé BOUTIN, PhD
Senior Research Scientist
University of Manchester
Faculty of Biology, Medicine and Health
email: herve.boutin@manchester.ac.uk
__________________________________
User avatar
riviere
Site Admin
Posts: 1361
Joined: Tue Jan 06, 2004 12:21 pm
Location: CEA NeuroSpin, Saint Aubin, France
Contact:

Re: unable to save ROI file / error message: please help

Post by riviere »

I guess you should also make sure there is no QT_PLUGIN_PATH environment variable set (unset it or make it empty if needed) before trying Dominique's test.
I just noticed that the name of the Brainvisa directory is "BrainVisa_4.1.1%2B" in the file above... I guess this is because I named it "BrainVisa_4.1.1+", could that be an issue?
I hope not...

Denis
User avatar
rvboutin
Posts: 36
Joined: Tue Feb 09, 2010 12:53 pm

Re: unable to save ROI file / error message: please help

Post by rvboutin »

Hi Denis,
OK how do I unset the "QT_PLUGIN_PATH environment variable set"?? :?:
Cheers,
Rv
__________________________________
Hervé BOUTIN, PhD
Senior Research Scientist
University of Manchester
Faculty of Biology, Medicine and Health
email: herve.boutin@manchester.ac.uk
__________________________________
Dominique Geffroy
Site Admin
Posts: 161
Joined: Thu Mar 01, 2007 4:22 pm
Location: IFR 49 - Neurospin, Gif-sur-Yvette, France
Contact:

Re: unable to save ROI file / error message: please help

Post by Dominique Geffroy »

Hi Rv,

To check the content of this variable, you can type the following in a console:
echo $QT_PLUGIN_PATH

To unset this variable, you can just type in a console:
export QT_PLUGIN_PATH=
And then, try to run Brainvisa.

Dominique
Post Reply