Hi Chris,
I am getting following error when trying to run linuxcnc:
Traceback (most recent call last):
File "/usr/bin/qtvcp", line 545, in <module>
_qtvcp = QTVCP()
^^^^^^^
File "/usr/bin/qtvcp", line 294, in __init__
window.handler_instance.initialized__()
File "/home/zieluch/linuxcnc/configs/qthd_sorotec_cl0604/qtvcp/screens/qtdragon_hd/qtdragon_hd_handler.py", line 182, in initialized__
self.init_utils()
File "/home/zieluch/linuxcnc/configs/qthd_sorotec_cl0604/qtvcp/screens/qtdragon_hd/qtdragon_hd_handler.py", line 482, in init_utils
self.ngcgui = NgcGui()
^^^^^^^^
File "/usr/lib/python3/dist-packages/qtvcp/lib/qt_ngcgui/ngcgui.py", line 480, in __init__
self.add_configd_tabs()
File "/usr/lib/python3/dist-packages/qtvcp/lib/qt_ngcgui/ngcgui.py", line 512, in add_configd_tabs
rtn = self.check_linuxcnc_paths(curr_fname)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/qtvcp/lib/qt_ngcgui/ngcgui.py", line 822, in check_linuxcnc_paths
return self.check_linuxcnc_paths_fail(fname)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/zieluch/linuxcnc/configs/qthd_sorotec_cl0604/qtvcp/screens/qtdragon_hd/qtdragon_hd_handler.py", line 1157, in check_linuxcnc_paths_fail_override
self.add_status("NGCGUI Path {} not in linuxcnc's SUBROUTINE_PATH INI entry".format(fname), CRITICAL)
File "/home/zieluch/linuxcnc/configs/qthd_sorotec_cl0604/qtvcp/screens/qtdragon_hd/qtdragon_hd_handler.py", line 1249, in add_status
self.w.statusbar.setText(message)
^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'QStatusBar' object has no attribute 'setText'
if I commented line 1249 error is limited only to:
Traceback (most recent call last):
File "/usr/bin/qtvcp", line 545, in <module>
_qtvcp = QTVCP()
^^^^^^^
File "/usr/bin/qtvcp", line 294, in __init__
window.handler_instance.initialized__()
File "/home/zieluch/linuxcnc/configs/qthd_sorotec_cl0604/qtvcp/screens/qtdragon_hd/qtdragon_hd_handler.py", line 237, in initialized__
if key == '' or INFO.get_ini_mdi_command(key) is None:
^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Info' object has no attribute 'get_ini_mdi_command'
Errors seems to be unrelated to Versa changes because when I copied regular handler from Github getting the same errors.
Edit:
I compared my version qtdragon_hd_handler.py from ./share/qtvcp/screens/qtdragon_hd/qtdragon_hd_handler.py vs one which you provide me and there are some differences. I copy over only part for versa probe and I am this seems to work .
I change two lines to
Code:
ACTION.CALL_MDI_WAIT("M64 P3") ACTION.CALL_MDI("M65 P3")
And everything is working for now. At first tried after second measurement I gut some fatal error but once I restarted everything is working for now. Thank you very much for help in the topic.