GithubHelp home page GithubHelp logo

br.gov.cti.invesalius's Introduction

br.gov.cti.invesalius

Prerequisites

# Add flathub repo
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
# Install Gnome SDK and Runtime
flatpak install flathub org.gnome.Sdk//3.30
flatpak install flathub org.gnome.Platform//3.30

Build

git clone https://github.com/tfmoraes/invesalius-flatpak.git
git submodule update --init
./scripts/build-bundle.sh

Testing

flatpak install invesalius.flatpak
flatpak run br.gov.cti.invesalius

br.gov.cti.invesalius's People

Contributors

gasinvein avatar tfmoraes avatar unrud avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

br.gov.cti.invesalius's Issues

wxWidgets assertions break program

It seems wxWidgets is not compiled in release mode by wxPython, because assertions are enabled.
Importing DICOM files fails with the following exception printed to stderr:

wx._core.wxAssertionError: C++ assertion "!(flags & wxALIGN_CENTRE_VERTICAL)" failed at /tmp/pip-install-7wsfmprj/wxpython_ce044ea1287c4b47a5b92da2b6fbb516/ext/wxWidgets/src/common/sizer.cpp(2143) in DoInsert(): Vertical alignment flags are ignored in vertical sizers

Adding wx.DisableAsserts() to app.py fixes the problem.

Is this folder location correct or bug ?

Hi. I noticed that there is a folder belong to your application that I installed on my system as flatpak from FlatHub, this folder NOT located within /home/myusername/.var ! But instead it's path is:

/home/myusername/.invesalius

Is this normal or a bug ? For my knowledge (please correct to me if wrong) I know that flatpak application data & cache should located within /home/myusername/.var

GNOME 42 runtime no longer supported

When installing, will get such message:

Info: runtime org.gnome.Platform branch 42 is end-of-life, with reason:
   The GNOME 42 runtime is no longer supported as of March 21, 2023. Please ask your application developer to migrate to a supported platform.
Info: applications using this runtime:
   br.gov.cti.invesalius

Now letting you know.

Importing DICOM images will cause crash

Having 474 *.dcm (including DICOMDIR file) files (teeth images) unpacked in folder and trying to import. Opened app via CLI. First and after dashed line last rows after crash (program window will be automatically closed):

flatpak run br.gov.cti.invesalius
Gtk-Message: 17:54:45.534: Failed to load module "xapp-gtk3-module"
Gtk-Message: 17:54:45.534: Failed to load module "canberra-gtk-module"
session mode:  0
(app.py:2): Gtk-CRITICAL **: 17:54:47.550: gtk_widget_set_size_request: assertion 'height >= -1' failed
(app.py:2): Gtk-CRITICAL **: 17:54:47.644: gtk_widget_set_size_request: assertion 'width >= -1' failed
(app.py:2): Gtk-CRITICAL **: 17:54:47.644: gtk_widget_set_size_request: assertion 'width >= -1' failed
(app.py:2): Gtk-CRITICAL **: 17:54:47.645: gtk_widget_set_size_request: assertion 'height >= -1' failed
(app.py:2): Gtk-CRITICAL **: 17:54:47.645: gtk_widget_set_size_request: assertion 'width >= -1' failed
(app.py:2): Gtk-CRITICAL **: 17:54:47.646: gtk_widget_set_size_request: assertion 'width >= -1' failed
(app.py:2): Gtk-CRITICAL **: 17:54:47.667: gtk_widget_set_size_request: assertion 'height >= -1' failed
(app.py:2): Gtk-CRITICAL **: 17:54:47.810: gtk_widget_set_size_request: assertion 'width >= -1' failed
(app.py:2): Gtk-CRITICAL **: 17:54:47.812: gtk_widget_set_size_request: assertion 'height >= -1' failed
(app.py:2): Gtk-CRITICAL **: 17:54:47.812: gtk_widget_set_size_request: assertion 'width >= -1' failed
>>> menu Change image spacing
>>> menu Porous volume creation
>>> menu Remove non-visible faces
>>> menu Remove tiny objects
Checking updates...
-------------
>>>> [<invesalius.reader.dicom_grouper.PatientGroup object at 0x7f863b39ed00>]
2023-06-13 17:54:58.854 (  13.617s) [        455BE740]vtkOpenGLRenderWindow.c:493    ERR| vtkXOpenGLRenderWindow (0x55bd95daf800): GLEW could not be initialized: Missing GL version

At the same time e.g. Weasis can browse and show these DICOM images, also series scrolling works.

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.