Skip to content

QtDragon sims fail to load on master on Qt6 system #3904

@NTULINUX

Description

@NTULINUX
lcnc@localhost ~ $ linuxcnc
LINUXCNC - 2.10.0~pre1
Machine configuration directory is '/home/lcnc/$/usr.share.doc.linuxcnc.examples.sample-configs.sim.qtdragon_hd.qtdragon_hd_xyz'
Machine configuration file is 'qtdragon_hd_xyz.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
Qtvcp Error with loading webView - is python3-pyqt5.qtwebengine installed?
[QTvcp][DEBUG]  DEBUGGING logging on (qtvcp:592)
/usr/lib/python3/dist-packages/qtvcp/qt_action.py:363: SyntaxWarning: 'return' in a 'finally' block
  return npath
[QTvcp.COMMON.INIINFO][DEBUG]  INI Path: /home/lcnc/$/usr.share.doc.linuxcnc.examples.sample-configs.sim.qtdragon_hd.qtdragon_hd_xyz/qtdragon_hd_xyz.ini (iniinfo.py:37)
[QTvcp.COMMON.INIINFO][DEBUG]  Machine is METRIC based. unit Conversion constant=0.03937007874015748 (iniinfo.py:152)
[QTvcp.COMMON.INIINFO][DEBUG]  TRAJ COORDINATES: XYZ (iniinfo.py:173)
[QTvcp.COMMON.INIINFO][DEBUG]  DEFAULT_LINEAR_VELOCITY = 3000.0 (iniinfo.py:356)
[QTvcp.COMMON.INIINFO][DEBUG]  MIN_LINEAR_VELOCITY = 0.0 (iniinfo.py:357)
[QTvcp.COMMON.INIINFO][DEBUG]  MAX_LINEAR_VELOCITY = 3600.0 (iniinfo.py:358)
[QTvcp.COMMON.INIINFO][DEBUG]  DEFAULT_ANGULAR_VELOCITY = 360.0 (iniinfo.py:363)
[QTvcp.COMMON.INIINFO][DEBUG]  MIN_ANGULAR_VELOCITY = 0.0 (iniinfo.py:364)
[QTvcp.COMMON.INIINFO][DEBUG]  MAX_ANGULAR_VELOCITY = 3600.0 (iniinfo.py:365)
[QTvcp.COMMON.HAL_GLIB][DEBUG]  hal_glib write socket available: tcp://127.0.0.1:5690 (hal_glib.py:359)
[QTvcp.COMMON.HAL_GLIB][DEBUG]  hal_glib read socket available: tcp://127.0.0.1:5691 (hal_glib.py:390)
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Linuxcnc Home directory found in environmental variable: /usr (qt_pstat.py:67)
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Passed name=qtdragon_hd, BASENAME=qtdragon_hd BASEPATH=qtdragon_hd (qt_pstat.py:123)
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for handler file in: /home/lcnc/$/usr.share.doc.linuxcnc.examples.sample-configs.sim.qtdragon_hd.qtdragon_hd_xyz/qtdragon_hd_handler.py (qt_pstat.py:147)                                                                                           
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for handler file in: /home/lcnc/$/usr.share.doc.linuxcnc.examples.sample-configs.sim.qtdragon_hd.qtdragon_hd_xyz/qtvcp/screens/qtdragon_hd/qtdragon_hd_handler.py (qt_pstat.py:147)                                                                 
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for handler file in: /home/lcnc/$/usr.share.doc.linuxcnc.examples.sample-configs.sim.qtdragon_hd.qtdragon_hd_xyz/qtdragon_hd/qtdragon_hd_handler.py (qt_pstat.py:147)                                                                               
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for default handler file in: /usr/share/qtvcp/screens/qtdragon_hd/qtdragon_hd_handler.py (qt_pstat.py:154)
[QTvcp.QTVCP.QT_PSTAT][INFO]  Using DEFAULT handler file path: /usr/share/qtvcp/screens/qtdragon_hd/qtdragon_hd_handler.py (qt_pstat.py:157)
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for .ui in: /home/lcnc/$/usr.share.doc.linuxcnc.examples.sample-configs.sim.qtdragon_hd.qtdragon_hd_xyz/qtdragon_hd.ui (qt_pstat.py:180)                                                                                                            
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for .ui in: /home/lcnc/$/usr.share.doc.linuxcnc.examples.sample-configs.sim.qtdragon_hd.qtdragon_hd_xyz/qtvcp/screens/qtdragon_hd/qtdragon_hd.ui (qt_pstat.py:180)                                                                                  
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for .ui in: /home/lcnc/$/usr.share.doc.linuxcnc.examples.sample-configs.sim.qtdragon_hd.qtdragon_hd_xyz/qtdragon_hd/qtdragon_hd.ui (qt_pstat.py:180)                                                                                                
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for .ui in: /usr/share/qtvcp/screens/qtdragon_hd/qtdragon_hd.ui (qt_pstat.py:187)
[QTvcp.QTVCP.QT_PSTAT][INFO]  Using DEFAULT ui file from: /usr/share/qtvcp/screens/qtdragon_hd/qtdragon_hd.ui (qt_pstat.py:189)
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for .qss in: /home/lcnc/$/usr.share.doc.linuxcnc.examples.sample-configs.sim.qtdragon_hd.qtdragon_hd_xyz/qtdragon_hd.qss (qt_pstat.py:215)                                                                                                          
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for .qss in: /home/lcnc/$/usr.share.doc.linuxcnc.examples.sample-configs.sim.qtdragon_hd.qtdragon_hd_xyz/qtvcp/screens/qtdragon_hd/qtdragon_hd.qss (qt_pstat.py:215)                                                                                
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for .qss in: /home/lcnc/$/usr.share.doc.linuxcnc.examples.sample-configs.sim.qtdragon_hd.qtdragon_hd_xyz/qtdragon_hd/qtdragon_hd.qss (qt_pstat.py:215)                                                                                              
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for .qss in: /usr/share/qtvcp/screens/qtdragon_hd/qtdragon_hd.qss (qt_pstat.py:222)
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Using DEFAULT qss file as default stylesheet: /usr/share/qtvcp/screens/qtdragon_hd/qtdragon_hd.qss (qt_pstat.py:224)
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for .qrc in: /home/lcnc/$/usr.share.doc.linuxcnc.examples.sample-configs.sim.qtdragon_hd.qtdragon_hd_xyz/qtdragon_hd.qrc (qt_pstat.py:244)                                                                                                          
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for .qrc in: /home/lcnc/$/usr.share.doc.linuxcnc.examples.sample-configs.sim.qtdragon_hd.qtdragon_hd_xyz/qtvcp/screens/qtdragon_hd/qtdragon_hd.qrc (qt_pstat.py:244)                                                                                
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for .qrc in: /home/lcnc/$/usr.share.doc.linuxcnc.examples.sample-configs.sim.qtdragon_hd.qtdragon_hd_xyz/qtdragon_hd/qtdragon_hd.qrc (qt_pstat.py:244)                                                                                              
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for .qrc in: /usr/share/qtvcp/screens/qtdragon_hd/qtdragon_hd.qrc (qt_pstat.py:252)
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Using DEFAULT qrc file from: /usr/share/qtvcp/screens/qtdragon_hd/qtdragon_hd.qrc (qt_pstat.py:254)
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for resources.py in: /home/lcnc/$/usr.share.doc.linuxcnc.examples.sample-configs.sim.qtdragon_hd.qtdragon_hd_xyz/qtvcp/screens/qtdragon_hd/resources.py (qt_pstat.py:269)                                                                           
[QTvcp.QTVCP.QT_PSTAT][INFO]  Resources.py file needs to be compiled at: /home/lcnc/$/usr.share.doc.linuxcnc.examples.sample-configs.sim.qtdragon_hd.qtdragon_hd_xyz/qtvcp/screens/qtdragon_hd/resources.py (qt_pstat.py:275)
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for translation file in: /home/lcnc/$/usr.share.doc.linuxcnc.examples.sample-configs.sim.qtdragon_hd.qtdragon_hd_xyz/qtvcp/screens/qtdragon_hd/languages/qtdragon_hd_C.qm (qt_pstat.py:291)                                                         
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for translation file in: /home/lcnc/$/usr.share.doc.linuxcnc.examples.sample-configs.sim.qtdragon_hd.qtdragon_hd_xyz/qtdragon_hd/languages/qtdragon_hd_C.qm (qt_pstat.py:291)                                                                       
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for translation file in: /usr/share/qtvcp/screens/qtdragon_hd/languages/qtdragon_hd_C.qm (qt_pstat.py:298)
[QTvcp.QTVCP.QT_PSTAT][INFO]  Using no translations, default system locale is: C (qt_pstat.py:303)
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for LOCAL about file in: /home/lcnc/$/usr.share.doc.linuxcnc.examples.sample-configs.sim.qtdragon_hd.qtdragon_hd_xyz/qtdragon_hd_ABOUT (qt_pstat.py:319)                                                                                            
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for LOCAL about file in: /home/lcnc/$/usr.share.doc.linuxcnc.examples.sample-configs.sim.qtdragon_hd.qtdragon_hd_xyz/qtvcp/screens/qtdragon_hd/qtdragon_hd_ABOUT (qt_pstat.py:319)                                                                  
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for DEFAULT about file in: /usr/share/qtvcp/screens/qtdragon_hd/qtdragon_hd_ABOUT (qt_pstat.py:325)
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Using DEFAULT about file path: /usr/share/qtvcp/screens/qtdragon_hd/qtdragon_hd_ABOUT (qt_pstat.py:328)
[QTvcp][CRITICAL]  Aborted from Error Dialog
 Qtvcp encountered an error.  The following information may be useful in troubleshooting:
LinuxCNC Version  : 2.10.0~pre1

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/qtvcp/widgets/simple_widgets.py", line 17, in <module>
    from qtpy.QtCore import Q_ENUM
ImportError: cannot import name 'Q_ENUM' from 'qtpy.QtCore' (/usr/lib/python3.14/site-packages/qtpy/QtCore.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/qtvcp", line 607, in <module>
    _qtvcp = QTVCP()
  File "/usr/bin/qtvcp", line 160, in __init__
    from qtvcp import qt_makepins, qt_makegui
  File "/usr/lib/python3/dist-packages/qtvcp/qt_makepins.py", line 21, in <module>
    from qtvcp.widgets.simple_widgets import _HalWidgetBase
  File "/usr/lib/python3/dist-packages/qtvcp/widgets/simple_widgets.py", line 20, in <module>
    from qtpy.QtCore import Q_ENUMS as Q_ENUM
ImportError: cannot import name 'Q_ENUMS' from 'qtpy.QtCore' (/usr/lib/python3.14/site-packages/qtpy/QtCore.py)

 (qtvcp:557)
[QTvcp][DEBUG]  Status shutdown (qtvcp:494)
'QTVCP' object has no attribute 'panel'
[QTvcp][DEBUG]  Exiting HAL (qtvcp:516)
Shutting down and cleaning up LinuxCNC...
task: 473 cycles, min=0.000003, max=0.010961, avg=0.009398, 0 latency excursions (> 10x expected cycle time of 0.010000s)
Note: Using POSIX non-realtime
LinuxCNC terminated with an error.  You can find more information in the log:
    /home/lcnc/linuxcnc_debug.txt
and
    /home/lcnc/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal

Also:

LINUXCNC - 2.10.0~pre1
Machine configuration directory is '/home/lcnc/$/usr.share.doc.linuxcnc.examples.sample-configs.sim.qtdragon.qtdragon_xyz'
Machine configuration file is 'qtdragon_metric.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
Qtvcp Error with loading webView - is python3-pyqt5.qtwebengine installed?
/usr/lib/python3/dist-packages/qtvcp/qt_action.py:363: SyntaxWarning: 'return' in a 'finally' block
  return npath
[QTvcp][CRITICAL]  Aborted from Error Dialog
 Qtvcp encountered an error.  The following information may be useful in troubleshooting:
LinuxCNC Version  : 2.10.0~pre1

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/qtvcp/widgets/simple_widgets.py", line 17, in <module>
    from qtpy.QtCore import Q_ENUM
ImportError: cannot import name 'Q_ENUM' from 'qtpy.QtCore' (/usr/lib/python3.14/site-packages/qtpy/QtCore.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/qtvcp", line 607, in <module>
    _qtvcp = QTVCP()
  File "/usr/bin/qtvcp", line 160, in __init__
    from qtvcp import qt_makepins, qt_makegui
  File "/usr/lib/python3/dist-packages/qtvcp/qt_makepins.py", line 21, in <module>
    from qtvcp.widgets.simple_widgets import _HalWidgetBase
  File "/usr/lib/python3/dist-packages/qtvcp/widgets/simple_widgets.py", line 20, in <module>
    from qtpy.QtCore import Q_ENUMS as Q_ENUM
ImportError: cannot import name 'Q_ENUMS' from 'qtpy.QtCore' (/usr/lib/python3.14/site-packages/qtpy/QtCore.py)

 (qtvcp:557)
'QTVCP' object has no attribute 'panel'
Shutting down and cleaning up LinuxCNC...
task: 400 cycles, min=0.000003, max=0.010442, avg=0.009278, 0 latency excursions (> 10x expected cycle time of 0.010000s)
Note: Using POSIX non-realtime
LinuxCNC terminated with an error.  You can find more information in the log:
    /home/lcnc/linuxcnc_debug.txt
and
    /home/lcnc/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions