(Solved)Problems with Probe Basic python3 and linuxCNC 2.9
- EragonPower
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 62
- Thank you received: 4
11 Aug 2022 00:18 - 11 Aug 2022 20:35 #249485
by EragonPower
Hello everybody,
i´ve just switched to a new PC for my CNC router due to some memory issues, so with this new start i´ve decided to switch to Probe basic with python 3 and linuxcnc 2.9. i´ve had some issues with packages right from the getgo, after solving everything i´ve tried starting PB and it thew this error: file attached
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
i really don´t know what to do, does anyone have any idea?
Thanks in advance to everybody
i´ve just switched to a new PC for my CNC router due to some memory issues, so with this new start i´ve decided to switch to Probe basic with python 3 and linuxcnc 2.9. i´ve had some issues with packages right from the getgo, after solving everything i´ve tried starting PB and it thew this error: file attached
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
i really don´t know what to do, does anyone have any idea?
Thanks in advance to everybody
Last edit: 11 Aug 2022 20:35 by EragonPower.
Please Log in or Create an account to join the conversation.
- EragonPower
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 62
- Thank you received: 4
11 Aug 2022 09:21 #249496
by EragonPower
Replied by EragonPower on topic Problems with Probe Basic python3 and linuxCNC 2.9
Attachments:
Please Log in or Create an account to join the conversation.
- EragonPower
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 62
- Thank you received: 4
11 Aug 2022 11:17 #249502
by EragonPower
Replied by EragonPower on topic Problems with Probe Basic python3 and linuxCNC 2.9
Update:
i´ve reinstalled the whole system again, now trying to start probe basic gives this error:
i´ve read online that this problem comes when Qt is not the 5.12 or higher version, so i´ve installed the 5.12 version but the problem remains.
I´m going mad with this
i´ve reinstalled the whole system again, now trying to start probe basic gives this error:
Warning: Spoiler!
Traceback (most recent call last):File "/home/linuxcnc/.local/bin/probe_basic", line 8, in <module>sys.exit(main())File "/home/linuxcnc/.local/lib/python3.7/site-packages/probe_basic/__init__.py", line 20, in mainqtpyvcp.run_vcp(opts, VCP_CONFIG_FILE)File "/home/linuxcnc/.local/lib/python3.7/site-packages/qtpyvcp/__init__.py", line 27, in run_vcprun(*args, **kwargs)File "/home/linuxcnc/.local/lib/python3.7/site-packages/qtpyvcp/app/__init__.py", line 129, in runlaunch_application(opts, config)File "/home/linuxcnc/.local/lib/python3.7/site-packages/qtpyvcp/app/launcher.py", line 78, in launch_applicationloadWindows(config['windows'])File "/home/linuxcnc/.local/lib/python3.7/site-packages/qtpyvcp/app/launcher.py", line 228, in loadWindowswindow = _initialize_object_from_dict(window_dict)File "/home/linuxcnc/.local/lib/python3.7/site-packages/qtpyvcp/app/launcher.py", line 208, in _initialize_object_from_dictreturn obj(*args, **kwargs)File "/home/linuxcnc/.local/lib/python3.7/site-packages/probe_basic/probe_basic.py", line 24, in __init__super(ProbeBasic, self).__init__(*args, **kwargs)File "/home/linuxcnc/.local/lib/python3.7/site-packages/qtpyvcp/widgets/form_widgets/main_window.py", line 43, in __init__self.loadUi(ui_file)File "/home/linuxcnc/.local/lib/python3.7/site-packages/qtpyvcp/widgets/form_widgets/main_window.py", line 102, in loadUiuic.loadUi(ui_file, self)File "/usr/lib/python3/dist-packages/PyQt5/uic/__init__.py", line 226, in loadUireturn DynamicUILoader(package).loadUi(uifile, baseinstance, resource_suffix)File "/usr/lib/python3/dist-packages/PyQt5/uic/Loader/loader.py", line 72, in loadUireturn self.parse(filename, resource_suffix, basedir)File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 1021, 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 264, in createWidgetself.stack.push(self.setupObject(widget_class, parent, elem))File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 230, in setupObjectself.wprops.setProperties(obj, branch)File "/usr/lib/python3/dist-packages/PyQt5/uic/properties.py", line 415, in setPropertiesprop_value = self.convert(prop, widget)File "/usr/lib/python3/dist-packages/PyQt5/uic/properties.py", line 378, in convertreturn func(prop[0], **args)File "/usr/lib/python3/dist-packages/PyQt5/uic/properties.py", line 292, in _paletterole = getattr(QtGui.QPalette, color.get('role'))AttributeError: type object 'QPalette' has no attribute 'PlaceholderText'
p, li { white-space: pre-
i´ve read online that this problem comes when Qt is not the 5.12 or higher version, so i´ve installed the 5.12 version but the problem remains.
I´m going mad with this
Please Log in or Create an account to join the conversation.
11 Aug 2022 13:16 #249512
by Lcvette
Replied by Lcvette on topic Problems with Probe Basic python3 and linuxCNC 2.9
how are you installing it? using the script? or?
Please Log in or Create an account to join the conversation.
- EragonPower
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 62
- Thank you received: 4
11 Aug 2022 13:45 - 11 Aug 2022 13:55 #249515
by EragonPower
Replied by EragonPower on topic Problems with Probe Basic python3 and linuxCNC 2.9
I'm installing everything using the installer found in the repository, every time it throws an error, i try the command in the terminal and try to fix what it misses. for example, it look for python 3.9 instead of 3.7, at that point i execute the same command changing 3.9 to 3.7
edit: on the same note, on the qtpyvcp requirements page it says that i need python3-vtk9. installing it through apt gives that it doesn't exist, downloading it anjd installing it with dpkg gives dependency missing, in some of them it looks for python 3.10 or higher. do i need to install it too?
edit: on the same note, on the qtpyvcp requirements page it says that i need python3-vtk9. installing it through apt gives that it doesn't exist, downloading it anjd installing it with dpkg gives dependency missing, in some of them it looks for python 3.10 or higher. do i need to install it too?
Last edit: 11 Aug 2022 13:55 by EragonPower.
Please Log in or Create an account to join the conversation.
- EragonPower
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 62
- Thank you received: 4
11 Aug 2022 14:26 #249521
by EragonPower
Replied by EragonPower on topic Problems with Probe Basic python3 and linuxCNC 2.9
Update:
i´ve installed everything, ran axis for the first time an than tried launching PB:
2 unhandled exceptions.
i´ve installed everything, ran axis for the first time an than tried launching PB:
2 unhandled exceptions.
Attachments:
Please Log in or Create an account to join the conversation.
11 Aug 2022 14:58 #249523
by Lcvette
Replied by Lcvette on topic Problems with Probe Basic python3 and linuxCNC 2.9
you could use the script installer, it seems to be more dialed in, i think the isntaller is still lacking some things and needs more work.
the script installer i just ran this morning and everything works just as it should!
github.com/joco-nz/lcnc-bullseye-installer
the script installer i just ran this morning and everything works just as it should!
github.com/joco-nz/lcnc-bullseye-installer
Please Log in or Create an account to join the conversation.
11 Aug 2022 19:42 #249545
by rodw
Replied by rodw on topic Problems with Probe Basic python3 and linuxCNC 2.9
if you have Python 3.7, you are not runnig Debian Bullseye. You need Python 3.9 and up for V 2.9
Run that script installer on a fresh install of Debian Bullseye.
Run that script installer on a fresh install of Debian Bullseye.
Please Log in or Create an account to join the conversation.
- EragonPower
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 62
- Thank you received: 4
11 Aug 2022 20:34 #249552
by EragonPower
Replied by EragonPower on topic Problems with Probe Basic python3 and linuxCNC 2.9
So, i've come to a conclusion, finally i would say.
Following the installation from github.com/joco-nz/lcnc-bullseye-installer i've realized something. I was running LinuxCNC Buster using the linuxCNC 2.8.2 conversion process to linuxCNC 2.9. The truth is that i needed to start with a complete vanilla Debian bullseye to made it work. I've followed the instructions from the installer and managed to install everything in roughly 15 minutes. In the end i've installed Probe Basic with python3, started everything, installed some missing libraries with pip and than it finally worked.
Thanks everybody to have guided me through this process as a noob that i am.
Following the installation from github.com/joco-nz/lcnc-bullseye-installer i've realized something. I was running LinuxCNC Buster using the linuxCNC 2.8.2 conversion process to linuxCNC 2.9. The truth is that i needed to start with a complete vanilla Debian bullseye to made it work. I've followed the instructions from the installer and managed to install everything in roughly 15 minutes. In the end i've installed Probe Basic with python3, started everything, installed some missing libraries with pip and than it finally worked.
Thanks everybody to have guided me through this process as a noob that i am.
The following user(s) said Thank You: tommylight, rodw
Please Log in or Create an account to join the conversation.
16 Aug 2022 05:18 #249854
by Lcvette
Replied by Lcvette on topic Problems with Probe Basic python3 and linuxCNC 2.9
Excellent glad you're up and running!
Please Log in or Create an account to join the conversation.
Time to create page: 0.088 seconds