Cant start probebasic anymore
25 Feb 2023 15:52 - 28 Feb 2023 12:48 #265334
by cheburs
Cant start probebasic anymore was created by cheburs
Hi,
Dont know what happened but i get an error when starting linuxcnc with probebasic.
Added linuxcnc report as attachemnt aswell.
When i tried to reinstall probebasic, at one step i had an error, see picture.
Any advice what to do?
Dont know what happened but i get an error when starting linuxcnc with probebasic.
Warning: Spoiler!
Traceback (most recent call last):File "/home/kristaps/.local/bin/probe_basic", line 8, in <module>sys.exit(main())File "/home/kristaps/.local/lib/python2.7/site-packages/probe_basic/__init__.py", line 20, in mainqtpyvcp.run_vcp(opts, VCP_CONFIG_FILE)File "/home/kristaps/.local/lib/python2.7/site-packages/qtpyvcp/__init__.py", line 27, in run_vcprun(*args, **kwargs)File "/home/kristaps/.local/lib/python2.7/site-packages/qtpyvcp/app/__init__.py", line 129, in runlaunch_application(opts, config)File "/home/kristaps/.local/lib/python2.7/site-packages/qtpyvcp/app/launcher.py", line 78, in launch_applicationloadWindows(config)File "/home/kristaps/.local/lib/python2.7/site-packages/qtpyvcp/app/launcher.py", line 228, in loadWindowswindow = _initialize_object_from_dict(window_dict)File "/home/kristaps/.local/lib/python2.7/site-packages/qtpyvcp/app/launcher.py", line 208, in _initialize_object_from_dictreturn obj(*args, **kwargs)File "/home/kristaps/.local/lib/python2.7/site-packages/probe_basic/probe_basic.py", line 24, in __init__super(ProbeBasic, self).__init__(*args, **kwargs)File "/home/kristaps/.local/lib/python2.7/site-packages/qtpyvcp/widgets/form_widgets/main_window.py", line 43, in __init__self.loadUi(ui_file)File "/home/kristaps/.local/lib/python2.7/site-packages/qtpyvcp/widgets/form_widgets/main_window.py", line 102, in loadUiuic.loadUi(ui_file, self)File "/usr/lib/python2.7/dist-packages/PyQt5/uic/__init__.py", line 226, in loadUireturn DynamicUILoader(package).loadUi(uifile, baseinstance, resource_suffix)File "/usr/lib/python2.7/dist-packages/PyQt5/uic/Loader/loader.py", line 72, in loadUireturn self.parse(filename, resource_suffix, basedir)File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 1021, in parseactor(elem)File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 828, in createUserInterfaceself.traverseWidgetTree(elem)File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTreehandler(self, child)File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 273, in createWidgetself.traverseWidgetTree(elem)File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTreehandler(self, child)File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 503, in createLayoutself.traverseWidgetTree(elem)File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTreehandler(self, child)File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 546, in handleItemself.traverseWidgetTree(elem)File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTreehandler(self, child)File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 503, in createLayoutself.traverseWidgetTree(elem)File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTreehandler(self, child)File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 546, in handleItemself.traverseWidgetTree(elem)File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTreehandler(self, child)File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 503, in createLayoutself.traverseWidgetTree(elem)File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTreehandler(self, child)File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 546, in handleItemself.traverseWidgetTree(elem)File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTreehandler(self, child)File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 273, in createWidgetself.traverseWidgetTree(elem)File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTreehandler(self, child)File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 273, in createWidgetself.traverseWidgetTree(elem)File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTreehandler(self, child)File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 503, in createLayoutself.traverseWidgetTree(elem)File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTreehandler(self, child)File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 546, in handleItemself.traverseWidgetTree(elem)File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTreehandler(self, child)File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 273, in createWidgetself.traverseWidgetTree(elem)File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTreehandler(self, child)File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 503, in createLayoutself.traverseWidgetTree(elem)File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTreehandler(self, child)File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 546, in handleItemself.traverseWidgetTree(elem)File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTreehandler(self, child)File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 264, in createWidgetself.stack.push(self.setupObject(widget_class, parent, elem))File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 228, in setupObjectobj = self.factory.createQObject(clsname, name, args, is_attribute)File "/usr/lib/python2.7/dist-packages/PyQt5/uic/objcreator.py", line 118, in createQObjectreturn self._cpolicy.instantiate(factory, *args, **kwargs)File "/usr/lib/python2.7/dist-packages/PyQt5/uic/Loader/qobjectcreator.py", line 137, in instantiatereturn clsObject(*ctor_args)File "/home/kristaps/.local/lib/python2.7/site-packages/qtpyvcp/widgets/display_widgets/vtk_backplot/vtk_backplot.py", line 86, in __init__self.active_wcs_offset = self._datasource.getActiveWcsOffsets()File "/home/kristaps/.local/lib/python2.7/site-packages/qtpyvcp/widgets/display_widgets/vtk_backplot/linuxcnc_datasource.py", line 153, in getActiveWcsOffsetsxy.append(self.__getRotationOfActiveWcs())File "/home/kristaps/.local/lib/python2.7/site-packages/qtpyvcp/widgets/display_widgets/vtk_backplot/linuxcnc_datasource.py", line 158, in __getRotationOfActiveWcscurrent_wcs = self.getWcsOffsets()[self.getActiveWcsIndex()]KeyError: -1
Added linuxcnc report as attachemnt aswell.
When i tried to reinstall probebasic, at one step i had an error, see picture.
Any advice what to do?
Last edit: 28 Feb 2023 12:48 by cheburs.
Please Log in or Create an account to join the conversation.
26 Feb 2023 06:08 #265386
by Lcvette
Replied by Lcvette on topic Cant start probebasic anymore
to get a little more information, a few questions. were any changes made? you state that you don't know what happened, but is there anything that changed from the last known instance that it ran? config changes to the ini or hal? it seems to not like something in your ini file for the Y axis from the logs maybe. i do not have a py2 test environment any longer as its getting pretty out dated now and we are focusing on getting the python3 version up and ready for debian package installation. its close maybe a day or two and it should be ready, i would suggest maybe if possible to make the upgrade when it becomes available. we have lost the ability to make changes to the old installer so if it is something in the installer has broken, it may unfortunately be end of life. if that is the case and for some reason staying on lcnc 2,8/py2 is necessary, you could install with pip by setting up a local folder and cloning the following from github:
qtpyvcp (python2_maintenance) branch
probe_basic (master) branch
qtpyvcp_conversational_gcode (master) branch
and then do a pip install in each of the directories.
qtpyvcp (python2_maintenance) branch
probe_basic (master) branch
qtpyvcp_conversational_gcode (master) branch
and then do a pip install in each of the directories.
Please Log in or Create an account to join the conversation.
28 Feb 2023 12:48 #265558
by cheburs
Replied by cheburs on topic Cant start probebasic anymore
Seems i could not install qtpyvcp.conversational-gcode.git
Buy anyway, i ditched 2.8 and will install 2.9 on debian 11.
Buy anyway, i ditched 2.8 and will install 2.9 on debian 11.
Please Log in or Create an account to join the conversation.
Time to create page: 0.199 seconds