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

More
01 Oct 2023 17:20 #282006 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'
 

File Attachment:

File Name: linuxcnc.txt
File Size:11 KB

 
Attachments:

Please Log in or Create an account to join the conversation.

More
01 Oct 2023 17:30 #282007 by cmorley
Are you using any custom screen code?
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.

More
01 Oct 2023 21:15 #282022 by onceloved
Same error in sim

Please Log in or Create an account to join the conversation.

More
01 Oct 2023 21:34 #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.
The following user(s) said Thank You: onceloved

Please Log in or Create an account to join the conversation.

More
02 Oct 2023 07:33 #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 or Create an account to join the conversation.

More
02 Oct 2023 07:35 #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 or Create an account to join the conversation.

More
03 Oct 2023 05:59 #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
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.128 seconds
Powered by Kunena Forum