Badwindow #121
Unanswered
younes1010
asked this question in
Q&A
Badwindow
#121
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm trying to re-implement the scikit-surgerytutorial01 so I exactly followed all steps indicated in the documentation "https://scikit-surgerytutorial01.readthedocs.io/en/latest/01_VTK_Overlay_App.html" and I created a virtual environment where I installed all requirements with indicated versions on requirements.txt and .yml file. After, I created a file named overlay.py with the following code :
When I execute this code I get :
(python_3.7_venv) younes@younes-ThinkPad-X1-Carbon-3rd:~/python_3.7_venv$ python overlay.py

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
QWidget: Must construct a QApplication before a QWidget
Aborted (core dumped)
I changed the Pyside2 by Pyside6 and the Error vanished so the code continue to be executed but nothing is shown in the appeared window as shown in the screenshot below:
I'd like to know what is exactly the problem.
I'm working on ubuntu environment:
Ubuntu 24.04 LTS
pylint 2.14.5
pyparsing 3.1.2
PyQt5 5.15.10
PyQt5-Qt5 5.15.2
PyQt5-sip 12.13.0
pyrsistent 0.19.3
PySide2 5.15.0
PySide6 6.5.3
PySide6-Addons 6.5.3
PySide6-Essentials 6.5.3
pytest 7.1.2
python-dateutil 2.9.0.post0
python-slugify 8.0.4
pytz 2024.1
PyYAML 6.0.1
pyzmq 26.0.3
requests 2.31.0
rich 13.7.1
scikit-surgery 0.1.11+70.g297b212.dirty
scikit-surgeryarucotracker 0.1.1
scikit-surgerybk 0.3.5
scikit-surgerycalibration 0.2.5
scikit-surgerycore 0.7.2
scikit-surgeryimage 0.10.1
scikit-surgeryutils 2.0.0
scikit-surgeryvtk 2.1.2
scipy 1.7.3
cheers,
younes
Beta Was this translation helpful? Give feedback.
All reactions