Search found 63 matches

by francois
Tue Apr 10, 2018 11:08 am
Forum: Anatomist
Topic: linkCursorLastClickedPosition() in BrainVISA 4.6?
Replies: 11
Views: 19465

linkCursorLastClickedPosition() in BrainVISA 4.6?

Hello, I'm trying to understand differences of behavior of the anatomist API between BrainVISA 4.5 and 4.6. With 4.6, linkCursorLastClickedPosition() seems the return positions in the referential currently selected in the view. I have two views of the same volume, one with the referential "t1mr...
by francois
Mon Apr 09, 2018 11:03 am
Forum: Anatomist
Topic: QPixmap::setMask() mask size differs from pixmap size
Replies: 17
Views: 28896

Re: QPixmap::setMask() mask size differs from pixmap size

And after loading all the objects we need: https://www.dropbox.com/s/un6qpq8atkt4kf5/qpixmap_after.gif?dl=0 Corresponding output in the console: pydev debugger: starting (pid: 215) Headless Anatomist running in normal (non-headless) mode LAUNCHING ELECTRODE LOCATE MAIN NO APP Loading toolbox cortica...
by francois
Mon Apr 09, 2018 10:56 am
Forum: Anatomist
Topic: QPixmap::setMask() mask size differs from pixmap size
Replies: 17
Views: 28896

Re: QPixmap::setMask() mask size differs from pixmap size

In the attached screen capture, you can see the line responsible of 3 of these errors, the content of the variable diskitem, the IntrAnat interface and the resulting anatomist window (one volume added). (I cannot add images to this post, error message "Could not upload attachment to ./../forum_...
by francois
Fri Apr 06, 2018 2:10 pm
Forum: Anatomist
Topic: QPixmap::setMask() mask size differs from pixmap size
Replies: 17
Views: 28896

Re: QPixmap::setMask() mask size differs from pixmap size

We get 2 or 3 messages of this kind every time we call loadObject(), both for .nii volumes and .gii meshes.
by francois
Fri Apr 06, 2018 1:57 pm
Forum: BrainVISA
Topic: Error in brainvisa-4.6.0/python/brainvisa/processes.py
Replies: 10
Views: 19826

Re: Error in brainvisa-4.6.0/python/brainvisa/processes.py

I'm running this from my PyDev debugger.
In the configuration of my interpreter I added brainvisa folders to my python path, $PATH and $LD_LIBRARY_PATH until it works.
Would you suggest a nicer way of proceeding?
by francois
Fri Apr 06, 2018 12:43 pm
Forum: Anatomist
Topic: QPixmap::setMask() mask size differs from pixmap size
Replies: 17
Views: 28896

QPixmap::setMask() mask size differs from pixmap size

Hello

I get hundreds of messages like this when loading objects in anatomist.
Any suggestion?

Thanks
Francois
by francois
Fri Apr 06, 2018 12:25 pm
Forum: BrainVISA
Topic: Error in brainvisa-4.6.0/python/brainvisa/processes.py
Replies: 10
Views: 19826

Re: Error in brainvisa-4.6.0/python/brainvisa/processes.py

I added brainvisa/bin to the PATH variable and the errors are gone. It's surprising it didn't cause any problem before... I think I started getting this issue after installing ffmpeg. We do not start the BrainVISA interface from a terminal. Various BrainVISA modules are imported in our Python code, ...
by francois
Thu Apr 05, 2018 5:07 pm
Forum: BrainVISA
Topic: Error in brainvisa-4.6.0/python/brainvisa/processes.py
Replies: 10
Views: 19826

Re: Error in brainvisa-4.6.0/python/brainvisa/processes.py

Maybe related also with the way I start BrainVISA... After installing/updating some Ubuntu packages, I get lost of errors when BrainVISA starts. Example: OSError processes.py (5989) in addDir: toolbox=toolbox) # two arguments : process fullpath and category (directories separated by /) processes.py ...
by francois
Thu Mar 29, 2018 4:11 pm
Forum: BrainVISA
Topic: Error in brainvisa-4.6.0/python/brainvisa/processes.py
Replies: 10
Views: 19826

Re: Error in brainvisa-4.6.0/python/brainvisa/processes.py

Thanks for the fix and for the info. If it's OK, I'll stick to posting public messages on this forum for now then. I got to this point by starting IntrAnat (this SEEG toolbox developed in Grenoble) from the Eclipse/PyDev debugger. So I guess this is why it doesn't initialize everything as expected. ...
by francois
Wed Mar 28, 2018 2:58 pm
Forum: BrainVISA
Topic: Error in brainvisa-4.6.0/python/brainvisa/processes.py
Replies: 10
Views: 19826

Re: Error in brainvisa-4.6.0/python/brainvisa/processes.py

Btw, is this forum the appropriate channel to report this kind of issues?
Or do you have a github on which I could submit issues, or some other bug tracking system?
by francois
Wed Mar 28, 2018 2:57 pm
Forum: BrainVISA
Topic: Error in brainvisa-4.6.0/python/brainvisa/processes.py
Replies: 10
Views: 19826

Error in brainvisa-4.6.0/python/brainvisa/processes.py

Hello We have code calling FreeSurfer functions with launchFreesurferCommand > context.system > _system. None of the functions called return properly, because line 3454 returns an error. On my configuration, neuroConfig.brainvisaSysEnv.getVariables() returns None, and own_env.update() is not equippe...
by francois
Thu Mar 15, 2018 11:30 am
Forum: BrainVISA
Topic: Missing libapt-pkg.so.4.12
Replies: 0
Views: 26017

Missing libapt-pkg.so.4.12

Hello, Any error report triggers the error below on my WSL/Ubuntu 16.04. Missing library libapt-pkg.so.4.12: current version in Ubuntu is 5.0, but it is not part of the BrainVISA distribution. The error can be fixed by installing manually libapt-pkg4.12_1.0.9.8.4_amd64.deb, but there is maybe a bett...
by francois
Wed Mar 14, 2018 2:17 pm
Forum: Anatomist
Topic: Anatomist on Windows WSL/Ubuntu 16.04
Replies: 7
Views: 19559

Re: Anatomist on Windows WSL/Ubuntu 16.04

Additional steps: 6) In bash terminal: type "sudo apt-get update && sudo apt-get dist-upgrade" to upgrade all the packages in Ubuntu 7) In bash terminal: type "export DISPLAY=:0" to send the X11 windows to the local MobaXterm X server (add this line to your .bashrc to sav...
by francois
Fri Mar 09, 2018 3:41 pm
Forum: BrainVISA
Topic: Error importing .nii file?
Replies: 2
Views: 12336

Re: Error importing .nii file?

Ok thanks.
And it works with the WSL version too :)
by francois
Fri Mar 09, 2018 3:26 pm
Forum: Anatomist
Topic: Anatomist on Windows WSL/Ubuntu 16.04
Replies: 7
Views: 19559

Re: Anatomist on Windows WSL/Ubuntu 16.04

Oh... indeed... I tested so many software configurations that I got mixed up at some point. So the good news is that there is one configuration that actually works! Using WSL+Ubuntu+MobaXterm it is possible to run the linux version of BrainVISA on Windows 10. Here is a summary you could add to your ...