Probe Basic many error messages at first start -> Newbie

More
8 months 3 weeks ago #342539 by DerKlotz
Hi,
i just tried to install Probe basic APT Stable on Debian 13 trixie, Python 3.13.5 and QtPyVCP version 5.0.6. After "Install QtPyVCP and Probe Basic" from kcjengr.github.io/probe_basic/stable_quick_start_apt.html#  i tried to start linuxcnc -> Probe basic.

I got this error messages
Code:
Traceback (most recent call last):File "/usr/bin/probe_basic", line 8, in <module>sys.exit(main())~~~~^^File "/usr/lib/python3/dist-packages/probe_basic/__init__.py", line 54, in mainqtpyvcp.run_vcp(opts, VCP_CONFIG_FILE)~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/qtpyvcp/__init__.py", line 61, in run_vcprun(*args, **kwargs)~~~^^^^^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/qtpyvcp/app/__init__.py", line 129, in runlaunch_application(opts, config)~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/qtpyvcp/app/launcher.py", line 78, in launch_applicationloadWindows(config['windows'])~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/qtpyvcp/app/launcher.py", line 230, in loadWindowswindow = _initialize_object_from_dict(window_dict)File "/usr/lib/python3/dist-packages/qtpyvcp/app/launcher.py", line 210, in _initialize_object_from_dictreturn obj(*args, **kwargs)File "/usr/lib/python3/dist-packages/probe_basic/probe_basic.py", line 32, in __init__super(ProbeBasic, self).__init__(*args, **kwargs)~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/qtpyvcp/widgets/form_widgets/main_window.py", line 60, in __init__self.loadUi(ui_file)~~~~~~~~~~~^^^^^^^^^File "/usr/lib/python3/dist-packages/qtpyvcp/widgets/form_widgets/main_window.py", line 125, in loadUiuic.loadUi(ui_file, self)~~~~~~~~~~^^^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/PyQt5/uic/__init__.py", line 241, in loadUireturn DynamicUILoader(package).loadUi(uifile, baseinstance, resource_suffix)~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/PyQt5/uic/Loader/loader.py", line 66, in loadUireturn self.parse(filename, resource_suffix)~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 1037, in parseactor(elem)~~~~~^^^^^^File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 828, in createUserInterfaceself.traverseWidgetTree(elem)~~~~~~~~~~~~~~~~~~~~~~~^^^^^^File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTreehandler(self, child)~~~~~~~^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 273, in createWidgetself.traverseWidgetTree(elem)~~~~~~~~~~~~~~~~~~~~~~~^^^^^^File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTreehandler(self, child)~~~~~~~^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 503, in createLayoutself.traverseWidgetTree(elem)~~~~~~~~~~~~~~~~~~~~~~~^^^^^^File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTreehandler(self, child)~~~~~~~^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 546, in handleItemself.traverseWidgetTree(elem)~~~~~~~~~~~~~~~~~~~~~~~^^^^^^File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTreehandler(self, child)~~~~~~~^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 503, in createLayoutself.traverseWidgetTree(elem)~~~~~~~~~~~~~~~~~~~~~~~^^^^^^File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTreehandler(self, child)~~~~~~~^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 546, in handleItemself.traverseWidgetTree(elem)~~~~~~~~~~~~~~~~~~~~~~~^^^^^^File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTreehandler(self, child)~~~~~~~^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 503, in createLayoutself.traverseWidgetTree(elem)~~~~~~~~~~~~~~~~~~~~~~~^^^^^^File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTreehandler(self, child)~~~~~~~^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 546, in handleItemself.traverseWidgetTree(elem)~~~~~~~~~~~~~~~~~~~~~~~^^^^^^File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTreehandler(self, child)~~~~~~~^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 273, in createWidgetself.traverseWidgetTree(elem)~~~~~~~~~~~~~~~~~~~~~~~^^^^^^File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTreehandler(self, child)~~~~~~~^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 273, in createWidgetself.traverseWidgetTree(elem)~~~~~~~~~~~~~~~~~~~~~~~^^^^^^File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTreehandler(self, child)~~~~~~~^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 503, in createLayoutself.traverseWidgetTree(elem)~~~~~~~~~~~~~~~~~~~~~~~^^^^^^File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTreehandler(self, child)~~~~~~~^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 546, in handleItemself.traverseWidgetTree(elem)~~~~~~~~~~~~~~~~~~~~~~~^^^^^^File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTreehandler(self, child)~~~~~~~^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 273, in createWidgetself.traverseWidgetTree(elem)~~~~~~~~~~~~~~~~~~~~~~~^^^^^^File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTreehandler(self, child)~~~~~~~^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 273, in createWidgetself.traverseWidgetTree(elem)~~~~~~~~~~~~~~~~~~~~~~~^^^^^^File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTreehandler(self, child)~~~~~~~^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 503, in createLayoutself.traverseWidgetTree(elem)~~~~~~~~~~~~~~~~~~~~~~~^^^^^^File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTreehandler(self, child)~~~~~~~^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 546, in handleItemself.traverseWidgetTree(elem)~~~~~~~~~~~~~~~~~~~~~~~^^^^^^File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTreehandler(self, child)~~~~~~~^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 264, in createWidgetself.stack.push(self.setupObject(widget_class, parent, elem))~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 228, in setupObjectobj = self.factory.createQObject(clsname, name, args, is_attribute)File "/usr/lib/python3/dist-packages/PyQt5/uic/objcreator.py", line 100, in createQObjectfactory = self.findQObjectType(classname)File "/usr/lib/python3/dist-packages/PyQt5/uic/objcreator.py", line 125, in findQObjectTypew = module.search(classname)File "/usr/lib/python3/dist-packages/PyQt5/uic/Loader/qobjectcreator.py", line 113, in searchmodule = __import__(mname, {}, {}, (cls,))File "/usr/lib/python3/dist-packages/widgets/__init__.py", line 3, in <module>from widgets.lathe_tool_touch_off.lathe_tool_touch_off import LatheToolTouchOffFile "/usr/lib/python3/dist-packages/widgets/lathe_tool_touch_off/lathe_tool_touch_off.py", line 19, in <module>from qtpy.QtQuickWidgets import QQuickWidgetFile "/usr/lib/python3/dist-packages/qtpy/QtQuickWidgets.py", line 13, in <module>from PyQt5.QtQuickWidgets import *ModuleNotFoundError: No module named 'PyQt5.QtQuickWidgets' [/url]
 
Any ideas?

Found this answer but still don´t really know what to do  forum.linuxcnc.org/qtpyvcp/53694-probe-basic-install-error

Please Log in to join the conversation.

More
8 months 3 weeks ago #342546 by DerKlotz
Maybe i almost got it. Now i have this error -> see picture 

Please Log in to join the conversation.

More
8 months 3 weeks ago #342565 by Lcvette
use bookworm per the docs

Please Log in to join the conversation.

More
8 months 3 weeks ago #342599 by DerKlotz
That makes sense... today i did a new clean install using Debian 12 Bookworm and Linuxcnc 2.9.0~pre1+git20230208.f1270d6ed7

Still get some errors -> attached picture

kcjengr.github.io/probe_basic/machine_config.html

 

Please Log in to join the conversation.

More
8 months 3 weeks ago #342718 by DerKlotz
After days this is my system now Linux version 6.1.0-42-rt-amd64 (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14 deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40), Linuxcnc 2.9.8 and Python 3.11.2

The Probe_Basic GUI starts but i still have errors -> see attached files

 

Please Log in to join the conversation.

More
8 months 2 weeks ago #342792 by Lcvette
Follow the docs exactly and you will have no errors..

This is telling you your error

"raise IOError('The specified POSTGUI_HALFILE does not exist: %s' %
OSError: The specified POSTGUI_HALFILE does not exist: /home/cnc/linuxcnc/configs/Fräse_Probe/custom_postgui.hal
1550"

Remove it from your ini hal section call. You can only have one post gui hal file and it must be the supplied probe basic postgui halfile

Please Log in to join the conversation.

More
8 months 2 weeks ago #342793 by Lcvette

Please Log in to join the conversation.

More
8 months 2 weeks ago #342794 by Lcvette
Run the simulator to ensure your installation is good, if so, compare its configuration files to your machine config. You'll be able to find where your errors are coming from between that and the docs

Please Log in to join the conversation.

More
8 months 2 weeks ago #342799 by DerKlotz
Yes that was my problem... thanks a lot!!!

Please Log in to join the conversation.

More
8 months 2 weeks ago #342821 by Lcvette
glad you got it sorted out!!

Please Log in to join the conversation.

Time to create page: 0.100 seconds
Powered by Kunena Forum