GithubHelp home page GithubHelp logo

ITKSnap and RStudio about minc-vm HOT 21 CLOSED

cobralab avatar cobralab commented on July 27, 2024
ITKSnap and RStudio

from minc-vm.

Comments (21)

vfonov avatar vfonov commented on July 27, 2024 1

https://github.com/vfonov/itksnap3

from minc-vm.

dorkylever avatar dorkylever commented on July 27, 2024

Hi Rebekah,

Is the Rstudio blank screen something like this?:
image

I remember using R-studio in the MINC-VM but I'm not sure what versions of Virtualbox and MINC-VM I used at the time. What version of VirtualBox are you using?

If you have an R-script can could launch it through R alone.

Kind Regards,
Kyle Drover

from minc-vm.

gdevenyi avatar gdevenyi commented on July 27, 2024

Hi,

In order to address your issues, a number of additional pieces of information are needed

  1. What version of Virtualbox are you using? The current version is built with 6.0.4
  2. When did you get the VM (what date did you download and import)
  3. What is the current state of your VM Settings -> Video -> 3D Acceleration settings.

As for itksnap, it appears that we can no longer supply the libraries needed for the binary version I included in the VM.

I don't know of a functional newer version, pinging @vfonov, is there an up-to-date itksnap-minc

from minc-vm.

vfonov avatar vfonov commented on July 27, 2024

I have slightly newer ITKSNAP in https://packages.bic.mni.mcgill.ca/minc-toolkit/third-party/

from minc-vm.

gdevenyi avatar gdevenyi commented on July 27, 2024

@vfonov looks like the latest Deb is missing hdf5_serial

from minc-vm.

vfonov avatar vfonov commented on July 27, 2024

that probably comes from the system package.

from minc-vm.

rwickens avatar rwickens commented on July 27, 2024

Hi, Thanks for the reply. I'm using VirtualBox 6.0.8. Perhaps I upgraded from 6.0.4 to 6.0.8 without thinking....
I downloaded the VM around July 2nd or so. I've attached a picture of my display settings.
I will try to download the ITK-snap 3.6 from the website provided by vfononv.
Best, Rebekah
Settings

from minc-vm.

rwickens avatar rwickens commented on July 27, 2024

When installing the ITK snap file suggested by @vfonov, it had issues building on the root directory. I don't appear to have permissions to access this directory. How should I modify permissions, or are these hard-set by the packer?

cannot_build_on_root_directory

from minc-vm.

gdevenyi avatar gdevenyi commented on July 27, 2024

This is like any other Linux system, you're an unprivileged user. You can use sudo with the password "minc" to do admin steps.

from minc-vm.

rwickens avatar rwickens commented on July 27, 2024

Ah, apologies. I've tried again with sudo gdebi. It installed, but I cannot access it in the terminal using commands "itksnap", "itksnap-minc", etc.
Is this to be expected?
itksnap

from minc-vm.

gdevenyi avatar gdevenyi commented on July 27, 2024

The package does not encode its dependencies, so it still doesn't work, I don't know what it depends on, so until I have time to investigate this further, I can't help there. I cannot support a modified VM with custom software so for now you'll have to wait for me to sort out how to get things working in an official release. I encourage you to investigate your VirtualBox version differences and whether the 3D acceleration switch can solve your issues.

from minc-vm.

vfonov avatar vfonov commented on July 27, 2024

try installing vtk 6.2

from minc-vm.

vfonov avatar vfonov commented on July 27, 2024

also, it seems that you are still running itksnap 3.4

from minc-vm.

gdevenyi avatar gdevenyi commented on July 27, 2024

I have confirmed as per my instructions that the black screen is fixed by disabling the 3D acceleration.

A new release will fix ITKsnap when I have time.

from minc-vm.

gdevenyi avatar gdevenyi commented on July 27, 2024

@vfonov if you could share with me your build bits for the itksnap-minc I can try and automate a build/package to integrate here.

from minc-vm.

rwickens avatar rwickens commented on July 27, 2024

Thank you, @gdevenyi , changing the 3D acceleration fixed the RStudio issue completely. Apologies that I hadn't read your instructions carefully to catch that. Best, Rebekah

from minc-vm.

gdevenyi avatar gdevenyi commented on July 27, 2024

The next release will test the new VirtualBox driver with the hopes that it will fix this issue. Otherwise I'll disable this setting by default since it seems to break regularly.

from minc-vm.

gdevenyi avatar gdevenyi commented on July 27, 2024

Newly uploaded version has been rebuilt with 6.0.12 and with the "new" virtualbox video drivers. ITKSnap is still broken until I can the patch info from @vfonov and perhaps do a static build, or automate it against the release debs for minc-toolkit

from minc-vm.

rwickens avatar rwickens commented on July 27, 2024

@vfonov I have downloaded VTK 6.2 and have tried moving the charts-core contents to various folders within the ITKsnap 3.4 folder so that it finds it, including in ITK's core folder. I haven't had any luck. Any ideas on the precise locations it needs to be in?

from minc-vm.

vfonov avatar vfonov commented on July 27, 2024

should be installed in the system (apt-get install vtk....)

from minc-vm.

gdevenyi avatar gdevenyi commented on July 27, 2024

The current version of ubuntu that this VM is built with does not have the versions of VTK/ITK to support the ITKSnap version available as a binary release.

@vfonov if you can point me at your patches I can try and build a new version and/or see about getting them upstreamed.

from minc-vm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.