LinuxCNC Install using MX Linux 19.4 - Geared Toward New Users - Discussion

More
30 Aug 2022 06:16 - 30 Aug 2022 06:17 #250757 by RobKin
I followed your guide and everything went well.
Had table working in just an AXIS basic setup. Then when I loaded the QTplasmac it breaks my LinuxCNC. Get errors when I try to open it. And it breaks my AXIS link that was working before. Probably going to have to start over as nothing works now.

I started a post about my specific error screens:
forum.linuxcnc.org/39-pncconf/46772-erro...launch-after-pncconf

Any ideas what I am doing wrong?
Last edit: 30 Aug 2022 06:17 by RobKin. Reason: add link

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

More
06 Sep 2022 15:31 #251304 by tommylight

I followed your guide and everything went well.
Had table working in just an AXIS basic setup. Then when I loaded the QTplasmac it breaks my LinuxCNC. Get errors when I try to open it. And it breaks my AXIS link that was working before. Probably going to have to start over as nothing works now.

I started a post about my specific error screens:
forum.linuxcnc.org/39-pncconf/46772-erro...launch-after-pncconf

Any ideas what I am doing wrong?

###Temporary place holder###

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

More
17 Sep 2022 08:45 #252148 by andypugh

###Temporary place holder###

[/quote]

#### Temporary Reply #### :-)
The following user(s) said Thank You: tommylight

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

More
17 Sep 2022 09:10 #252150 by tommylight
Yeah, can not recall why i left that there... :(

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

More
17 Sep 2022 09:35 #252153 by andypugh

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

More
17 Sep 2022 11:26 #252164 by tommylight
Yes, that was it, was making sure it would not get lost.

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

More
24 Apr 2023 08:44 - 24 Apr 2023 08:47 #269739 by beefy
A year or more ago I went through the guide on a spare computer and everything went flawlessly.

My luck being as it is, when I go to do it today on my plasma computer, I encounter problems.

I get to this stage in the guide, where I have to enter this command in the terminal window:
/usr/lib/python3/distpackages/qtvcp/designer/install_script

but I get the error message:
beefy@mx:~
$ /usr/lib/python3/distpackages/qtvcp/designer/install_script
bash: /usr/lib/python3/distpackages/qtvcp/designer/install_script: No such file or directory

I followed that file path in the file manager, all the way to "install_script" and everything seems to be there, so no idea why it says no such file or directory.

Anyway I tried starting Linuxcnc and selecting one of the Qtplasmac sim configurations but get and error:

Qtvcp encountered an error.
Traceback (most recent call last):
  File "/usr/bin/qtvcp", line 509, in <module>
    _qtvcp = QTVCP()
  File "/usr/bin/qtvcp", line 117, in __init__
    from qtvcp import qt_makepins, qt_makegui
  File "/usr/lib/python3/dist-packages/qtvcp/qt_makepins.py", line 22, in <module>
    from qtvcp.widgets.screen_options import ScreenOptions
  File "/usr/lib/python3/dist-packages/qtvcp/widgets/screen_options.py", line 24, in <module>
    from qtvcp.lib.message import Message
  File "/usr/lib/python3/dist-packages/qtvcp/lib/message.py", line 5, in <module>
    from qtvcp.widgets.dialog_widget import LcncDialog
  File "/usr/lib/python3/dist-packages/qtvcp/widgets/dialog_widget.py", line 32, in <module>
    from qtvcp.widgets.macro_widget import MacroTab
  File "/usr/lib/python3/dist-packages/qtvcp/widgets/macro_widget.py", line 87, in <module>
    class CustomSVG(QtSvg.QSvgWidget):
NameError: name 'QtSvg' is not defined
Last edit: 24 Apr 2023 08:47 by beefy.

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

More
24 Apr 2023 08:54 #269740 by cmorley
you are missing a package:
python3-pyqt5.qtsvg

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

More
24 Apr 2023 10:46 #269750 by beefy
Thanks cmorley,

still having issues though.
I installed the package using:
sudo apt install python3-pyqt5.qtsvg

and it looks like it installed OK.

Got another error message when I attempted to run Linuxcnc, saying something about PyQt5.Qsci, so ran the command:
sudo apt install PyQt5.Qsci

and it seemed to install OK.

Tried to run Linuxcnc again but get the error message:

Qtvcp encountered an error.

Traceback (most recent call last):
File "/usr/bin/qtvcp", line 509, in <module>
_qtvcp = QTVCP()
File "/usr/bin/qtvcp", line 252, in __init__
window.load_extension(opts.usermod)
File "/usr/lib/python3/dist-packages/qtvcp/qt_makegui.py", line 265, 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 293, in _load_handlers
mod = __import__(basename)
File "/usr/share/qtvcp/screens/qtplasmac_4x3/qtplasmac_4x3_handler.py", line 67, in <module>
from qt5_graphics import Lcnc_3dGraphics as DRO
File "/usr/lib/python3/dist-packages/qt5_graphics.py", line 183, in <module>
class Lcnc_3dGraphics(QGLWidget, glcanon.GlCanonDraw, glnav.GlNavBase):
NameError: name 'QGLWidget' is not defined

I have no idea what QGLWidget is or what it means that it is not defined.

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

More
24 Apr 2023 10:54 #269752 by rodw
G'day Beefy! Long time no see.
About 12 months or more ago all hell broke loose with Linux when it migrated from Python 2.7 to 3.xx. lots of other things have happened since then.
I gave up on other  distributions and reverted to Debian Bookworm. Its only a few lines at the command line to get going.
So if you have not got your plasma working yet, You could blow it away and follow my how to
docs.google.com/document/d/1jeV_4VKzVmOI...diY/edit?usp=sharing

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

Time to create page: 0.192 seconds
Powered by Kunena Forum