New bug after updating to 2.9.0~pre1.1155.g27bd54f27

More
3 years 4 weeks ago #282006 by onceloved
Code:
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'
 

Attachment not found


 

Please Log in to join the conversation.

More
3 years 4 weeks ago #282007 by cmorley
Are you using any custom screen code?
Does the same error show in the sim configs?

Please Log in to join the conversation.

More
3 years 4 weeks ago #282022 by onceloved
Same error in sim

Please Log in to join the conversation.

More
3 years 4 weeks ago #282025 by MarkoPolo
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.

Please Log in to join the conversation.

More
3 years 4 weeks ago #282046 by onceloved
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 to join the conversation.

More
3 years 4 weeks ago #282047 by onceloved
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 to join the conversation.

More
3 years 4 weeks ago #282127 by rodw
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

Please Log in to join the conversation.

Time to create page: 1.069 seconds
Powered by Kunena Forum