QTpyvcp Error: Sim will not open

More
27 Sep 2019 03:50 #146325 by billnixon
I am not able to open a sim with a qtpyvcp gui. I am following JT's instructions here:
Getting Started

Mint 19.2
LinuxCNC 2.8
4.19.1-rt3 #1 SMP PREEMPT RT

Here is what the error window says:
Qtvcp encountered an error. The following information may be useful in troubleshooting: LinuxCNC Version :2.8.0~pre1
QTvcp ERROR! Message #1

Traceback (most recent call last):
File "/usr/bin/qtvcp", line 480, in <module>
APP = QTVCP()
File "/usr/bin/qtvcp", line 318, in __init__
window.load_extension(opts.usermod)
File "/usr/lib/python2.7/dist-packages/qtvcp/qt_makegui.py", line 156, in load_extension
methods,self.handler_module,self.handler_instance = self._load_handlers([handlerpath], self.halcomp,self)
File "/usr/lib/python2.7/dist-packages/qtvcp/qt_makegui.py", line 184, in _load_handlers
mod = __import__(basename)
File "/usr/share/qtvcp/screens/qtaxis/qtaxis_handler.py", line 13, in <module>
from qtvcp.lib.toolbar_actions import ToolBarActions
File "/usr/lib/python2.7/dist-packages/qtvcp/lib/toolbar_actions.py", line 20, in <module>
from qtvcp.widgets.dialog_widget import LcncDialog as Dialog
File "/usr/lib/python2.7/dist-packages/qtvcp/widgets/dialog_widget.py", line 30, in <module>
from qtvcp.widgets.macro_widget import MacroTab
File "/usr/lib/python2.7/dist-packages/qtvcp/widgets/macro_widget.py", line 86, in <module>
class CustomSVG(QtSvg.QSvgWidget):
NameError: name 'QtSvg' is not defined

In the "LinuxCNC terminated with an error" window it asks if python-opencv and python-pyqt5.qtsvg are installed.

They are not listed with pip list. Could they be installed somewhere else?

Any help would be much appreciated. Thanks in advance.

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

More
27 Sep 2019 05:59 #146330 by cmorley
These errors are from qtvcp.
You mention pyqtvcp which is not the same project.

Which are you trying to use?

Chris

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

More
27 Sep 2019 11:55 - 27 Sep 2019 11:55 #146372 by billnixon
I'm sorry. I was loading the wrong sims. I meant to load a qtpyvcp sim. Probe basic does load.
Last edit: 27 Sep 2019 11:55 by billnixon.

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

More
27 Sep 2019 14:45 #146398 by pl7i92
its always a miss of the naming on this tow projekts that people are facing on a newcommer Base
it will be soon clear if you run more into the system

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

Moderators: KCJLcvette
Time to create page: 0.085 seconds
Powered by Kunena Forum