New bug after updating to 2.9.0~pre1.1155.g27bd54f27
01 Oct 2023 17:20 #282006
by onceloved
New bug after updating to 2.9.0~pre1.1155.g27bd54f27 was created by onceloved
Traceback (most recent call last):
File "/usr/share/qtvcp/screens/qtdragon_hd/qtdragon_hd_handler.py", line 114, in <lambda>
STATUS.connect('state-off', lambda w: self.enable_onoff(False))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/qtvcp/screens/qtdragon_hd/qtdragon_hd_handler.py", line 1252, in enable_onoff
self.add_status("Machine OFF")
File "/usr/share/qtvcp/screens/qtdragon_hd/qtdragon_hd_handler.py", line 1237, in add_status
self.w.statusbar.setText(message)
^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'QStatusBar' object has no attribute 'setText'
Traceback (most recent call last):
File "/usr/share/qtvcp/screens/qtdragon_hd/qtdragon_hd_handler.py", line 678, in hard_limit_tripped
self.add_status("Hard limits tripped", CRITICAL)
File "/usr/share/qtvcp/screens/qtdragon_hd/qtdragon_hd_handler.py", line 1237, in add_status
self.w.statusbar.setText(message)
^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'QStatusBar' object has no attribute 'setText'
Traceback (most recent call last):
File "/usr/share/qtvcp/screens/qtdragon_hd/qtdragon_hd_handler.py", line 1389, in clear_status_bar
self.w.statusbar.setText('')
^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'QStatusBar' object has no attribute 'setText'
Attachments:
Please Log in or Create an account to join the conversation.
01 Oct 2023 17:30 #282007
by cmorley
Replied by cmorley on topic New bug after updating to 2.9.0~pre1.1155.g27bd54f27
Are you using any custom screen code?
Does the same error show in the sim configs?
Does the same error show in the sim configs?
The following user(s) said Thank You: onceloved
Please Log in or Create an account to join the conversation.
01 Oct 2023 21:15 #282022
by onceloved
Replied by onceloved on topic New bug after updating to 2.9.0~pre1.1155.g27bd54f27
Same error in sim
Please Log in or Create an account to join the conversation.
01 Oct 2023 21:34 #282025
by MarkoPolo
Replied by MarkoPolo on topic New bug after updating to 2.9.0~pre1.1155.g27bd54f27
It looks as if qtdragon_hd_hadler.py was in the latest version and the qtdragon_hd.ui file was older.
statusbar is now made with QLineEdit, in the previous version it was with QStatusBar.
statusbar is now made with QLineEdit, in the previous version it was with QStatusBar.
The following user(s) said Thank You: onceloved
Please Log in or Create an account to join the conversation.
02 Oct 2023 07:33 #282046
by onceloved
Replied by onceloved on topic New bug after updating to 2.9.0~pre1.1155.g27bd54f27
I think I should have discovered the cause of the problem. I used qtdragon_ Hd.ui is not the latest, but rather the deletion of this qtdragon that I previously modified and placed in the configuration directory_ Hd.ui or copying a new one over can solve the problem. All I made was to modify qtdragon_ Replace the content of tooltip in hd.ui with Chinese
Please Log in or Create an account to join the conversation.
02 Oct 2023 07:35 #282047
by onceloved
Replied by onceloved on topic New bug after updating to 2.9.0~pre1.1155.g27bd54f27
Thank you for reminding me to use qtdragon_ Replacing the hd.ui with a new one or deleting it will solve the problem if it is not the latest one
Please Log in or Create an account to join the conversation.
03 Oct 2023 05:59 #282127
by rodw
Replied by rodw on topic New bug after updating to 2.9.0~pre1.1155.g27bd54f27
The latest version has advanced to 1164. MAybe its fixed
linuxcnc-uspace_2.9.0~pre1.1164.g5c9a79d18_amd64.deb
If you follow the 2.9 getting linuxcnc docs, it explains how to set up apt on your system to allow updating simply by typing sudo apt upgrade
linuxcnc-uspace_2.9.0~pre1.1164.g5c9a79d18_amd64.deb
If you follow the 2.9 getting linuxcnc docs, it explains how to set up apt on your system to allow updating simply by typing sudo apt upgrade
The following user(s) said Thank You: onceloved
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.082 seconds