Probe basic install error
- mnph92
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 1
30 Aug 2024 13:14 #309018
by mnph92
Probe basic install error was created by mnph92
Hello
I have installed Debian 12, hiyapyco, QtPyVCP, linuxcnc 2.9.0, python 3.11, and qtpyvcp (qt version 5.15)
I can't run probe basic after the installation because i get this error:
Could anyone please guide me to the right direction?
Thanks in advance.
I have installed Debian 12, hiyapyco, QtPyVCP, linuxcnc 2.9.0, python 3.11, and qtpyvcp (qt version 5.15)
I can't run probe basic after the installation because i get this error:
Could anyone please guide me to the right direction?
Thanks in advance.
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 20, in main
qtpyvcp.run_vcp(opts, VCP_CONFIG_FILE)
File "/usr/lib/python3/dist-packages/qtpyvcp/__init__.py", line 26, in run_vcp
run(*args, **kwargs)
File "/usr/lib/python3/dist-packages/qtpyvcp/app/__init__.py", line 129, in run
launch_application(opts, config)
File "/usr/lib/python3/dist-packages/qtpyvcp/app/launcher.py", line 78, in launch_application
loadWindows(config['windows'])
File "/usr/lib/python3/dist-packages/qtpyvcp/app/launcher.py", line 228, in loadWindows
window = _initialize_object_from_dict(window_dict)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/qtpyvcp/app/launcher.py", line 208, in _initialize_object_from_dict
return obj(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/probe_basic/probe_basic.py", line 35, in __init__
super(ProbeBasic, self).__init__(*args, **kwargs)
File "/usr/lib/python3/dist-packages/qtpyvcp/widgets/form_widgets/main_window.py", line 47, in __init__
self.loadUi(ui_file)
File "/usr/lib/python3/dist-packages/qtpyvcp/widgets/form_widgets/main_window.py", line 106, in loadUi
uic.loadUi(ui_file, self)
File "/usr/lib/python3/dist-packages/PyQt5/uic/__init__.py", line 241, in loadUi
return DynamicUILoader(package).loadUi(uifile, baseinstance, resource_suffix)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/PyQt5/uic/Loader/loader.py", line 66, in loadUi
return self.parse(filename, resource_suffix)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 1037, in parse
actor(elem)
File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 828, in createUserInterface
self.traverseWidgetTree(elem)
File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 273, in createWidget
self.traverseWidgetTree(elem)
File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 503, in createLayout
self.traverseWidgetTree(elem)
File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 546, in handleItem
self.traverseWidgetTree(elem)
File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 503, in createLayout
self.traverseWidgetTree(elem)
File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 546, in handleItem
self.traverseWidgetTree(elem)
File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 503, in createLayout
self.traverseWidgetTree(elem)
File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 546, in handleItem
self.traverseWidgetTree(elem)
File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 273, in createWidget
self.traverseWidgetTree(elem)
File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 273, in createWidget
self.traverseWidgetTree(elem)
File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 503, in createLayout
self.traverseWidgetTree(elem)
File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 546, in handleItem
self.traverseWidgetTree(elem)
File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 273, in createWidget
self.traverseWidgetTree(elem)
File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 503, in createLayout
self.traverseWidgetTree(elem)
File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 546, in handleItem
self.traverseWidgetTree(elem)
File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 264, in createWidget
self.stack.push(self.setupObject(widget_class, parent, elem))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 228, in setupObject
obj = self.factory.createQObject(clsname, name, args, is_attribute)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/PyQt5/uic/objcreator.py", line 118, in createQObject
return self._cpolicy.instantiate(factory, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/PyQt5/uic/Loader/qobjectcreator.py", line 137, in instantiate
return clsObject(*ctor_args)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/qtpyvcp/widgets/display_widgets/vtk_backplot/vtk_backplot.py", line 179, in __init__
self.default_view = view_options[view_default_setting]
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
TypeError: list indices must be integers or slices, not str
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19407
- Thank you received: 6507
30 Aug 2024 13:42 #309020
by tommylight
Replied by tommylight on topic Probe basic install error
Moved to "QtPyVCP" section.
Please Log in or Create an account to join the conversation.
- mnph92
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 1
30 Aug 2024 16:38 #309035
by mnph92
Replied by mnph92 on topic Probe basic install error
problem solved, custom_config.yml was outdated. thanks anyway!
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- B.Reilly01
- Offline
- Elite Member
Less
More
- Posts: 164
- Thank you received: 23
30 Nov 2024 01:38 - 30 Nov 2024 01:50 #315598
by B.Reilly01
Replied by B.Reilly01 on topic Probe basic install error
How did you update custom_config.yml ?
I recently upgraded Probe Basic and got the same errors.
I recently upgraded Probe Basic and got the same errors.
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 20, in mainqtpyvcp.run_vcp(opts, VCP_CONFIG_FILE)File
"/usr/lib/python3/dist-packages/qtpyvcp/__init__.py", line 26, 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 33, in
__init__super(ProbeBasic, self).__init__(*args, **kwargs)File "/usr/lib/python3/dist-
packages/qtpyvcp/widgets/form_widgets/main_window.py", line 56, in __init__self.loadUi(ui_file)File
"/usr/lib/python3/dist-packages/qtpyvcp/widgets/form_widgets/main_window.py", line 115, 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 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 118, in createQObjectreturn self._cpolicy.instantiate(factory, *args,
**kwargs)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "/usr/lib/python3/dist-
packages/PyQt5/uic/Loader/qobjectcreator.py", line 137, in instantiatereturn
clsObject(*ctor_args)^^^^^^^^^^^^^^^^^^^^^File "/usr/lib/python3/dist-
packages/qtpyvcp/widgets/display_widgets/vtk_backplot/vtk_backplot.py", line 218, in __init__self.default_view =
view_options[view_default_setting]~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
TypeError: list indices must be integers or
slices, not str
Last edit: 30 Nov 2024 01:50 by B.Reilly01. Reason: Added error codes
Please Log in or Create an account to join the conversation.
- Lcvette
- Offline
- Moderator
Less
More
- Posts: 1178
- Thank you received: 618
01 Dec 2024 16:55 #315743
by Lcvette
Replied by Lcvette on topic Probe basic install error
compare the sim files that are updated in the config folder to the current machine custom_config.yml file
The following user(s) said Thank You: B.Reilly01
Please Log in or Create an account to join the conversation.
Moderators: KCJ, Lcvette
Time to create page: 0.061 seconds