Probe Basic not working after udgrade to 0.4.0
09 Aug 2021 12:40 - 09 Aug 2021 12:41 #217314
by Stud54
Probe Basic not working after udgrade to 0.4.0 was created by Stud54
Hello Guys,
I need your help.
I had run a reliable config a year now, 2.8 Deb9 with the old 0.2.9 Probe basic.
I thought, do an Update to 0.4.0. I did this, according the page, and then I started my machine without a problem.
I closed PB and after i Restart my machine, I get an error.
Traceback (most recent call last):
File "/home/sktcnc/.local/bin/probe_basic", line 10, in <module>
sys.exit(main())
File "/home/sktcnc/.local/lib/python2.7/site-packages/probe_basic/__init__.py", line 20, in main
qtpyvcp.run_vcp(opts, VCP_CONFIG_FILE)
File "/home/sktcnc/.local/lib/python2.7/site-packages/qtpyvcp/__init__.py", line 27, in run_vcp
run(*args, **kwargs)
File "/home/sktcnc/.local/lib/python2.7/site-packages/qtpyvcp/app/__init__.py", line 129, in run
launch_application(opts, config)
File "/home/sktcnc/.local/lib/python2.7/site-packages/qtpyvcp/app/launcher.py", line 78, in launch_application
loadWindows(config)
File "/home/sktcnc/.local/lib/python2.7/site-packages/qtpyvcp/app/launcher.py", line 228, in loadWindows
window = _initialize_object_from_dict(window_dict)
File "/home/sktcnc/.local/lib/python2.7/site-packages/qtpyvcp/app/launcher.py", line 208, in _initialize_object_from_dict
return obj(*args, **kwargs)
File "/home/sktcnc/.local/lib/python2.7/site-packages/probe_basic/probe_basic.py", line 24, in __init__
super(ProbeBasic, self).__init__(*args, **kwargs)
File "/home/sktcnc/.local/lib/python2.7/site-packages/qtpyvcp/widgets/form_widgets/main_window.py", line 43, in __init__
self.loadUi(ui_file)
File "/home/sktcnc/.local/lib/python2.7/site-packages/qtpyvcp/widgets/form_widgets/main_window.py", line 102, in loadUi
uic.loadUi(ui_file, self)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/__init__.py", line 226, in loadUi
return DynamicUILoader(package).loadUi(uifile, baseinstance, resource_suffix)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/Loader/loader.py", line 72, in loadUi
return self.parse(filename, resource_suffix, basedir)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 1021, in parse
actor(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 828, in createUserInterface
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 273, in createWidget
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 503, in createLayout
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 546, in handleItem
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 503, in createLayout
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 546, in handleItem
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 503, in createLayout
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 546, in handleItem
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 273, in createWidget
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 273, in createWidget
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 503, in createLayout
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 546, in handleItem
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 273, in createWidget
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 503, in createLayout
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 546, in handleItem
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 264, in createWidget
self.stack.push(self.setupObject(widget_class, parent, elem))
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 228, in setupObject
obj = self.factory.createQObject(clsname, name, args, is_attribute)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/objcreator.py", line 118, in createQObject
return self._cpolicy.instantiate(factory, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/Loader/qobjectcreator.py", line 137, in instantiate
return clsObject(*ctor_args)
File "/home/sktcnc/.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/sktcnc/.local/lib/python2.7/site-packages/qtpyvcp/widgets/display_widgets/vtk_backplot/linuxcnc_datasource.py", line 153, in getActiveWcsOffsets
xy.append(self.__getRotationOfActiveWcs())
File "/home/sktcnc/.local/lib/python2.7/site-packages/qtpyvcp/widgets/display_widgets/vtk_backplot/linuxcnc_datasource.py", line 158, in __getRotationOfActiveWcs
current_wcs = self.getWcsOffsets()[self.getActiveWcsIndex()]
KeyError: -1
So I install a new system with a fresh 2.8.2, started linuxcnc for the first time, create a sim axis, downloaded the PB Git stuff and thI ran the installer.
After that I could start my machine one time, the next start I got the same errors.
What is the problem? Usually I havent to ask someone, but with this error, I have no idea how to fix it.
Sven
I need your help.
I had run a reliable config a year now, 2.8 Deb9 with the old 0.2.9 Probe basic.
I thought, do an Update to 0.4.0. I did this, according the page, and then I started my machine without a problem.
I closed PB and after i Restart my machine, I get an error.
Warning: Spoiler!
Traceback (most recent call last):
File "/home/sktcnc/.local/bin/probe_basic", line 10, in <module>
sys.exit(main())
File "/home/sktcnc/.local/lib/python2.7/site-packages/probe_basic/__init__.py", line 20, in main
qtpyvcp.run_vcp(opts, VCP_CONFIG_FILE)
File "/home/sktcnc/.local/lib/python2.7/site-packages/qtpyvcp/__init__.py", line 27, in run_vcp
run(*args, **kwargs)
File "/home/sktcnc/.local/lib/python2.7/site-packages/qtpyvcp/app/__init__.py", line 129, in run
launch_application(opts, config)
File "/home/sktcnc/.local/lib/python2.7/site-packages/qtpyvcp/app/launcher.py", line 78, in launch_application
loadWindows(config)
File "/home/sktcnc/.local/lib/python2.7/site-packages/qtpyvcp/app/launcher.py", line 228, in loadWindows
window = _initialize_object_from_dict(window_dict)
File "/home/sktcnc/.local/lib/python2.7/site-packages/qtpyvcp/app/launcher.py", line 208, in _initialize_object_from_dict
return obj(*args, **kwargs)
File "/home/sktcnc/.local/lib/python2.7/site-packages/probe_basic/probe_basic.py", line 24, in __init__
super(ProbeBasic, self).__init__(*args, **kwargs)
File "/home/sktcnc/.local/lib/python2.7/site-packages/qtpyvcp/widgets/form_widgets/main_window.py", line 43, in __init__
self.loadUi(ui_file)
File "/home/sktcnc/.local/lib/python2.7/site-packages/qtpyvcp/widgets/form_widgets/main_window.py", line 102, in loadUi
uic.loadUi(ui_file, self)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/__init__.py", line 226, in loadUi
return DynamicUILoader(package).loadUi(uifile, baseinstance, resource_suffix)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/Loader/loader.py", line 72, in loadUi
return self.parse(filename, resource_suffix, basedir)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 1021, in parse
actor(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 828, in createUserInterface
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 273, in createWidget
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 503, in createLayout
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 546, in handleItem
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 503, in createLayout
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 546, in handleItem
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 503, in createLayout
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 546, in handleItem
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 273, in createWidget
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 273, in createWidget
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 503, in createLayout
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 546, in handleItem
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 273, in createWidget
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 503, in createLayout
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 546, in handleItem
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 264, in createWidget
self.stack.push(self.setupObject(widget_class, parent, elem))
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 228, in setupObject
obj = self.factory.createQObject(clsname, name, args, is_attribute)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/objcreator.py", line 118, in createQObject
return self._cpolicy.instantiate(factory, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/Loader/qobjectcreator.py", line 137, in instantiate
return clsObject(*ctor_args)
File "/home/sktcnc/.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/sktcnc/.local/lib/python2.7/site-packages/qtpyvcp/widgets/display_widgets/vtk_backplot/linuxcnc_datasource.py", line 153, in getActiveWcsOffsets
xy.append(self.__getRotationOfActiveWcs())
File "/home/sktcnc/.local/lib/python2.7/site-packages/qtpyvcp/widgets/display_widgets/vtk_backplot/linuxcnc_datasource.py", line 158, in __getRotationOfActiveWcs
current_wcs = self.getWcsOffsets()[self.getActiveWcsIndex()]
KeyError: -1
So I install a new system with a fresh 2.8.2, started linuxcnc for the first time, create a sim axis, downloaded the PB Git stuff and thI ran the installer.
After that I could start my machine one time, the next start I got the same errors.
What is the problem? Usually I havent to ask someone, but with this error, I have no idea how to fix it.
Sven
Last edit: 09 Aug 2021 12:41 by Stud54.
Please Log in or Create an account to join the conversation.
09 Aug 2021 12:53 #217315
by TurBoss
Replied by TurBoss on topic Probe Basic not working after udgrade to 0.4.0
Hello,
the 3d plotter had big changes
looks like the rotation offset not begin correctly read
do you have any rotation offset at all?
I'm taking a look
Thanks
the 3d plotter had big changes
looks like the rotation offset not begin correctly read
do you have any rotation offset at all?
I'm taking a look
Thanks
Please Log in or Create an account to join the conversation.
09 Aug 2021 13:02 #217317
by Stud54
Replied by Stud54 on topic Probe Basic not working after udgrade to 0.4.0
Hello Turboss,
what do you mean with rotation offsets?
I didnt change something on the bachplot.
Do you neef my ini? If yes, no problem.
what do you mean with rotation offsets?
I didnt change something on the bachplot.
Do you neef my ini? If yes, no problem.
Please Log in or Create an account to join the conversation.
13 Aug 2021 19:21 #217700
by TurBoss
Replied by TurBoss on topic Probe Basic not working after udgrade to 0.4.0
hello, sorry for the delay
could you please rename a hidden file named ".vcp_persistent_data.pickle" in the config foldert
thanks
could you please rename a hidden file named ".vcp_persistent_data.pickle" in the config foldert
thanks
Please Log in or Create an account to join the conversation.
14 Aug 2021 09:48 #217740
by Stud54
Replied by Stud54 on topic Probe Basic not working after udgrade to 0.4.0
Hello,
I found this file but rename in what?
I found this file but rename in what?
Please Log in or Create an account to join the conversation.
14 Aug 2021 12:44 #217743
by TurBoss
Replied by TurBoss on topic Probe Basic not working after udgrade to 0.4.0
something like:
".vcp_persistent_data.pickle.back" would work
".vcp_persistent_data.pickle.back" would work
Please Log in or Create an account to join the conversation.
04 May 2022 22:20 #242014
by nduerr
Replied by nduerr on topic Probe Basic not working after udgrade to 0.4.0
Hi TurBoss,
I am having this same issue, and I have tried the above with no luck. Is there something else that I need to add or change?
PS I have a 15 pocket Carousel, and would like to make or update the carousel picture file, Is there already a 15 pocket picture or where in linux can I find the stock ones to update?
Thanks,
Nick
I am having this same issue, and I have tried the above with no luck. Is there something else that I need to add or change?
PS I have a 15 pocket Carousel, and would like to make or update the carousel picture file, Is there already a 15 pocket picture or where in linux can I find the stock ones to update?
Thanks,
Nick
Please Log in or Create an account to join the conversation.
09 May 2022 13:49 #242377
by Lcvette
Replied by Lcvette on topic Probe Basic not working after udgrade to 0.4.0
the qml for the atc moving graphic can be adjusted for pocket count by simply setting the count in the ini file, see the above reference documentation on setting up the configuration files, it located in the sticky section, it shows the atc section and example of selecting the pocket count. once selected it automatically updates the graphic at launch for the correct carousel pocket count. defining the atc macros you will need to do to account for the new count.
CHris
CHris
Please Log in or Create an account to join the conversation.
- CNCCustoms
- Offline
- Junior Member
Less
More
- Posts: 27
- Thank you received: 1
24 Apr 2023 11:46 #269755
by CNCCustoms
Replied by CNCCustoms on topic Probe Basic not working after udgrade to 0.4.0
Hi guys
Has anyone found a solution to this? My Installation has been working flawlessly for 6 months or so and then a few weeks ago this popped up. I ignored it and then it popped up again today and will not let me start Probe basic.
Help!
Thank you
Clint
Has anyone found a solution to this? My Installation has been working flawlessly for 6 months or so and then a few weeks ago this popped up. I ignored it and then it popped up again today and will not let me start Probe basic.
Help!
Thank you
Clint
Please Log in or Create an account to join the conversation.
24 Apr 2023 14:17 #269762
by Lcvette
Replied by Lcvette on topic Probe Basic not working after udgrade to 0.4.0
need more info. the py2 version is not longer a working installer install because the installer broke. the best option currently is to upgrade to Debian Bookworm 12 and the latest version of probe basic installation via .deb file.
kcjengr.github.io/probe_basic/quick_start.html
kcjengr.github.io/probe_basic/quick_start.html
Please Log in or Create an account to join the conversation.
Time to create page: 0.279 seconds