Mrview does not work

Suddenly mrview command produces this error :

mrview
Error: in load: file "/usr/share/uim/lib/sigscheme-init.scm" not found

It has always worked, what I just did yesterday was trying to install python 3.6 on my computer, which is Debian8 Jessie. I had already installed python2.7 and python3.4
Thanks,
Rosella

That’s weird, mrview should have no dependence on python whatsoever. What is the output of following command?

which mrview
ldd $(which mrview)
mrview -debug
rosella@vivi:~/Downloads/uim-1.8.8$ which mrview
/home/rosella/mrtrix3/bin/mrview
rosella@vivi:~/Downloads/uim-1.8.8$ ldd $(which mrview)
	linux-vdso.so.1 (0x00007ffd5fb99000)
	libmrtrix.so => /home/rosella/mrtrix3/bin/../lib/libmrtrix.so (0x00007fc68e568000)
	libQtOpenGL.so.4 => /usr/lib/x86_64-linux-gnu/libQtOpenGL.so.4 (0x00007fc68e244000)
	libQtGui.so.4 => /usr/lib/x86_64-linux-gnu/libQtGui.so.4 (0x00007fc68d554000)
	libQtCore.so.4 => /usr/lib/x86_64-linux-gnu/libQtCore.so.4 (0x00007fc68d065000)
	libGL.so.1 => /usr/lib/x86_64-linux-gnu/libGL.so.1 (0x00007fc68cdcb000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fc68cdaa000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fc68cbdc000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fc68ca97000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fc68ca7d000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fc68c8bd000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fc68e783000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fc68c8a0000)
	libtiff.so.5 => /usr/lib/x86_64-linux-gnu/libtiff.so.5 (0x00007fc68c629000)
	libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007fc68c568000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fc68c563000)
	libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007fc68c359000)
	libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007fc68c217000)
	libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007fc68c1d1000)
	libaudio.so.2 => /usr/lib/x86_64-linux-gnu/libaudio.so.2 (0x00007fc68c1b5000)
	libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007fc68bea4000)
	libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0 (0x00007fc68bc7d000)
	libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007fc68ba2a000)
	libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007fc68ba1f000)
	libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6 (0x00007fc68b802000)
	libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007fc68b5f0000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fc68b5e3000)
	libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007fc68b5b6000)
	libglapi.so.0 => /usr/lib/x86_64-linux-gnu/libglapi.so.0 (0x00007fc68b38c000)
	libXdamage.so.1 => /usr/lib/x86_64-linux-gnu/libXdamage.so.1 (0x00007fc68b387000)
	libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007fc68b181000)
	libX11-xcb.so.1 => /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007fc68b17c000)
	libxcb-glx.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0 (0x00007fc68b15d000)
	libxcb-dri2.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0 (0x00007fc68b156000)
	libxcb-dri3.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0 (0x00007fc68b150000)
	libxcb-present.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-present.so.0 (0x00007fc68b14b000)
	libxcb-sync.so.1 => /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1 (0x00007fc68b141000)
	libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007fc68b117000)
	libxshmfence.so.1 => /usr/lib/x86_64-linux-gnu/libxshmfence.so.1 (0x00007fc68af13000)
	libXxf86vm.so.1 => /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 (0x00007fc68ad0d000)
	libdrm.so.2 => /usr/lib/x86_64-linux-gnu/libdrm.so.2 (0x00007fc68ab00000)
	liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007fc68aad7000)
	libjbig.so.0 => /usr/lib/x86_64-linux-gnu/libjbig.so.0 (0x00007fc68a8c9000)
	libjpeg.so.62 => /usr/lib/x86_64-linux-gnu/libjpeg.so.62 (0x00007fc68a65e000)
	libpng16.so.16 => /usr/lib/x86_64-linux-gnu/libpng16.so.16 (0x00007fc68a625000)
	libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007fc68a61c000)
	libXt.so.6 => /usr/lib/x86_64-linux-gnu/libXt.so.6 (0x00007fc68a5b1000)
	libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007fc68a3ad000)
	libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007fc68a13d000)
	libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007fc68a133000)
	libbsd.so.0 => /usr/lib/x86_64-linux-gnu/libbsd.so.0 (0x00007fc68a119000)
	libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007fc689f13000)
rosella@vivi:~/Downloads/uim-1.8.8$ mrview -debug
Error: in load: file "/usr/share/uim/lib/sigscheme-init.scm" not found

Thanks,
Rosella

Nothing unexpected there, but clearly mrview crashes out very early on – before we’ve even had a chance to try reading the config file. This sounds like a Qt problem to me, most likely due to it trying to use a GTK theme (hard to verify without access to the system). A quick Google search suggests the error might be due to some broken packages or their dependencies – see if this post helps:

Thank you. I have already read this post but couldn’t figure it out! I think some updates caused problems to my OS system!
Rosella

Yes, I’m not sure what it is. There’s a chance another round of sudo apt-get update & sudo apt-get upgrade might fix it, though…

1 Like

It seems that the possible conflict between system level qt and conda level qt is the issue.

I faced same issue in different ubuntu systems.

In the first system,
conda remove --force qt
resolved error.
In this case, conda env mrtrix3 depends on system qt.

In the second system, the above didn’t worked.

conda install libgcc
(which installed libgcc and qt resolved the issue)
resolved the issue.

1 Like