Gmoccapy doesn't start. Reference button?

More
07 Sep 2022 17:28 #251424 by chili023
Hi 
I am setting up a new machine. A simple XYZ Router. No encoders with step/dir on an 7i76ED.

Axis starts but when gmoccapy tries to construct the homing buttons it fails.Found an error!
Error message:
The following information may be useful in troubleshooting:

Traceback (most recent call last):
  File "/usr/bin/gmoccapy", line 5237, in <module>
    app = gmoccapy(sys.argv)
  File "/usr/bin/gmoccapy", line 269, in __init__
    self._make_ref_axis_button()
  File "/usr/bin/gmoccapy", line 664, in _make_ref_axis_button
    btn.set_property("tooltip-text", _("Press to home {0} {1}").format(name_prefix_sg, elem.upper()))
AttributeError: 'int' object has no attribute 'upper'

upper() in python means convert to Upper Case as I understand. 
Never encountered such a problem.
I used the latest ISO for the installation and I am running 2.8.3.

Thanks Andreas 

File Attachment:

File Name: custom_2022-09-07.hal
File Size:0 KB
 

File Attachment:

File Name: SilverGlider.hal
File Size:12 KB
 

File Attachment:

File Name: SilverGlider.ini
File Size:5 KB
Attachments:

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

More
08 Sep 2022 10:10 #251476 by HansU
This error recently popped up but it was unfortunately only fixed in master (LinuxCNC 2.9): github.com/LinuxCNC/linuxcnc/pull/1842
I pushed a fix to 2.8.
The following user(s) said Thank You: chili023

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

Moderators: newbynobiHansU
Time to create page: 0.681 seconds
Powered by Kunena Forum