Fresh install of qtdragon fails

More
16 Jul 2023 04:13 #275561 by frayja2002
Hi all

I have just done a fresh install of Linuxcnc 2.8 & then upgraded it using buildbot.
Now when I start linuxcnc from the command line it reports 2.10.0.xxxxx

I have run the stepconf wizard to create a generic starting profile & when I try to open it it crashes giving some sort of QT/python error that I don't understand.

I have attached the errorrs.
I'm sure this must be something obvious but not sure what I need.

Thanks
Alex

PS cannot attach the linuxcnc generated error report !?!
Here it is pasted...
Error report created by /usr/lib/tcltk/linuxcnc/show_errors.tcl:


Debug file information:
Note: Using POSIX realtime
link (updating variable file): No such file or directory
[QTvcp.QTVCP.QT_ISTAT][[33mWARNING[0m]  INI Parsing Error, No DEFAULT_SPINDLE_0_SPEED Entry in DISPLAY, Using: 200 (qt_istat.py:532)
[QTvcp.QTVCP.QT_ISTAT][[33mWARNING[0m]  INI Parsing Error, No MIN_SPINDLE_0_SPEED Entry in DISPLAY, Using: 100 (qt_istat.py:532)
[QTvcp.QTVCP.QT_ISTAT][[33mWARNING[0m]  INI Parsing Error, No MAX_SPINDLE_0_SPEED Entry in DISPLAY, Using: 2500 (qt_istat.py:532)
[QTvcp.QTVCP.QT_ISTAT][[33mWARNING[0m]  INI Parsing Error, No MAX_SPINDLE_0_OVERRIDE Entry in DISPLAY, Using: 1 (qt_istat.py:532)
[QTvcp.QTVCP.QT_ISTAT][[33mWARNING[0m]  INI Parsing Error, No MIN_SPINDLE_0_OVERRIDE Entry in DISPLAY, Using: 0.5 (qt_istat.py:532)
[QTvcp.QTVCP.QT_MAKEGUI][[41mCRITICAL[0m]  Module 'qtdragon_handler' skipped - import error:  (qt_makegui.py:301)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/qtvcp/qt_makegui.py", line 296, in _load_handlers
    mod = __import__(basename)
  File "/usr/share/qtvcp/screens/qtdragon/qtdragon_handler.py", line 3, in <module>
    from PyQt5.QtWebEngineWidgets import QWebEnginePage
ModuleNotFoundError: No module named 'PyQt5.QtWebEngineWidgets'
[QTvcp][[41mCRITICAL[0m]  Aborted from Error Dialog
 Qtvcp encountered an error.  The following information may be useful in troubleshooting:
LinuxCNC Version  : 2.10.0-pre0-1679-g39a082c79

Traceback (most recent call last):
  File "/usr/bin/qtvcp", line 518, in <module>
    _qtvcp = QTVCP()
  File "/usr/bin/qtvcp", line 261, in __init__
    window.load_extension(opts.usermod)
  File "/usr/lib/python3/dist-packages/qtvcp/qt_makegui.py", line 268, in load_extension
    methods, self[obj].handler_module, self[obj].handler_instance = self._load_handlers([handlerpath], self.halcomp, self[obj])
  File "/usr/lib/python3/dist-packages/qtvcp/qt_makegui.py", line 296, in _load_handlers
    mod = __import__(basename)
  File "/usr/share/qtvcp/screens/qtdragon/qtdragon_handler.py", line 3, in <module>
    from PyQt5.QtWebEngineWidgets import QWebEnginePage
ModuleNotFoundError: No module named 'PyQt5.QtWebEngineWidgets'
 

Please Log in or Create an account to join the conversation.

More
16 Jul 2023 04:51 #275563 by cmorley
try installing the library python3-pyqt5.qtwebengine

Please Log in or Create an account to join the conversation.

More
16 Jul 2023 05:40 #275565 by frayja2002
Yep that did the trick.

If its not part of the automatic dependencies would it be possible to get this put on the qtdragon doc page?

Thanks
Alex

Please Log in or Create an account to join the conversation.

More
16 Jul 2023 05:44 #275566 by cmorley
The dependency list has an old library (my system has both libraries so I didn't notice)
I am looking to update the dependency and also have changed QtDragon to not crash if the library is missing - it's just for the HTML setup page.

Sorry about the trouble - thanks for the report.

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.112 seconds
Powered by Kunena Forum