QT Dragon crashes - new installation

More
2 years 9 months ago #290011 by DPKdd
I have a working setup (QTdragon_hd gui) on a converted 3 axis mill (PM-940V).  I am attempting to setup a additiona/new dual boot machine that I can use as a backup and place to test new configurations.

I have a fresh debian 12 install and have installed LinuxCNC from the package manager. The installation seems to be fine and the axis sim works like I expect but any time I load a qt dragon (or qt dragon hd) sim the gui display seems to start like I would expect but most of the screen seems to be frozen.  Some functions work (sometimes I can select different tabs).  copying the error log seems to be not letting me post, but if there is a good way to attach it, please let me know.  In addition to the error log, when I click the exit button I get a notification that python3 has stopped responding and an option to wait or force quit.

Any help is appreciated


 

Please Log in to join the conversation.

More
2 years 9 months ago #290018 by DPKdd
report attached. I am suspicious that I am missing python3 packages (not sure why?) but I do not know how to identify what is missing.

Thanks again for the help

 

Attachment not found

Please Log in to join the conversation.

More
2 years 9 months ago #290020 by cmorley
Can you run from a terminal and post the output?

Please Log in to join the conversation.

More
2 years 9 months ago #290022 by DPKdd
Here is the terminal output:

dustin@Debiandual:~$ linuxcnc ~/linuxcnc/configs/sim.qtdragon.qtdragon_xyz/qtdragon_inch.ini
LINUXCNC - 2.9.0~pre1+git20230208.f1270d6ed7
Machine configuration directory is '/home/dustin/linuxcnc/configs/sim.qtdragon.qtdragon_xyz'
Machine configuration file is 'qtdragon_inch.ini'
Starting LinuxCNC...
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Note: Using POSIX non-realtime
Found file(lib): /usr/share/linuxcnc/hallib/core_sim.hal
Found file(lib): /usr/share/linuxcnc/hallib/simulated_home.hal
QSocketNotifier: Can only be used with threads started with QThread
[QTvcp.QTVCP.WIDGETS.STATUS_LABEL][WARNING] lbl_maxv_percent : no option recognised (status_label.py:162)
[QTvcp.QTVCP.WIDGETS.STATUS_LABEL][WARNING] lbl_max_rapid : no option recognised (status_label.py:162)
[QTvcp.QTVCP.WIDGETS.STATUS_LABEL][WARNING] lbl_runtime : no option recognised (status_label.py:162)
ngcgui: make_fileset: [Errno 2] No such file or directory: '/home/dustin/nc_files/ngcgui_lib/slot.ngc'
ngcgui: make_fileset: [Errno 2] No such file or directory: '/home/dustin/nc_files/ngcgui_lib/qpocket.ngc'

Please Log in to join the conversation.

More
2 years 9 months ago #290024 by DPKdd
 Here is the output when I run the sim/example directly from the interface that launches when i run linuxcnc (instead of the version that is saved to my linuxcnc directory as above). Both examples have the same behavior (i.e. gui freezes and python crashes on exit)

 

Attachment not found

Please Log in to join the conversation.

More
2 years 9 months ago #290046 by cmorley
I don;t see anything jumping out.
Can you open a terminal and type:
qtvcp test_panel

and see if a panel shows.

Please Log in to join the conversation.

More
2 years 9 months ago #290094 by DPKdd
Here is the terminal output:

dustin@Debiandual:~$ qtvcp test_panel
tool_mmap_user(): tool mmap not available
poll(): continuing without tool mmap data
QSocketNotifier: Can only be used with threads started with QThread
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()



The repeated warning would display anytime I hovered over the Dial Range or LED Sound menu selection (not sure if that helps)

Additionally, there was "Terminal" pop up window that displayed:
"terminal program urxvt not available. Try sudo apt install rxvt-unicode-256color"

Obviously i can attempt to install rxvt-unicode-256color but I'm not sure if this is a symptom of additional missing packages or an install issue.

Thanks again for the help.

Please Log in to join the conversation.

More
2 years 9 months ago #290096 by DPKdd
I should add that all of the functions in the qtvcp test panel seem to work and python3 does not crash/stop responding on exit like it does when exiting the qt_dragon displays.

Please Log in to join the conversation.

More
2 years 9 months ago #290098 by tommylight
What Desktop Environment are you using?
GNOME and KDE use Wayland, others use still Xorg, as far as i can recall.
Either way everything is going to Wayland so i am following a bit how LinuxCNC behaves but had no time to actually test anything.

Please Log in to join the conversation.

More
2 years 9 months ago #290100 by DPKdd
I am using GNOME.

Please Log in to join the conversation.

Time to create page: 0.091 seconds
Powered by Kunena Forum