FlexGui - View setting error

More
07 Oct 2025 23:30 #336069 by MaHa
FlexGui - View setting error was created by MaHa
Today, after update there is this error preventing start. When this entry is present in the .ini file
[DISPLAY]
VIEW = x

thats printed in terminal. If i comment that entry, the ui starts
  File "/usr/bin/flexgui", line 313, in <module>
    window = flexgui()
             ^^^^^^^^^
  File "/usr/bin/flexgui", line 229, in __init__
    startup.setup_jog(self)
  File "/usr/lib/python3/dist-packages/libflexgui/startup.py", line 1167, in setup_jog
    if parent.jog_increments:
       ^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'flexgui' object has no attribute 'jog_increments'
Shutting down and cleaning up LinuxCNC...

A question about the plotter i was going to ask anyway: If a program is loaded, machine zero is in the center of the plot, and i have to search the preview. Is there a way to have the current coordinate system zero, centered in the plot, to see the preview directly.

Thanks for all the work done in this project. At the moment i am integrating the subroutines, and it's really nice how to control the index of tabs and stacked widget with a button connected to some python, then load the program with a push button. 
 

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

More
03 Nov 2025 16:38 - 03 Nov 2025 16:40 #337766 by langdons
Replied by langdons on topic FlexGui - View setting error
Wow, nobody has replied after a month!

Is this issue still valid?

Did you fix it?
Last edit: 03 Nov 2025 16:40 by langdons.

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

More
03 Nov 2025 17:01 #337767 by MaHa
Replied by MaHa on topic FlexGui - View setting error
The view setting is not really necessary, as somehow machine zero is centered at startup. So i removed the ini entry. After loading gcode, the desired view can be selected, and then its centered in the preview. So i solved this by finding my workflow

 

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

More
04 Nov 2025 13:28 #337809 by JT
Replied by JT on topic FlexGui - View setting error

Today, after update there is this error preventing start. When this entry is present in the .ini file

[DISPLAY]
VIEW = x


thats printed in terminal. If i comment that entry, the ui starts


[code]  File "/usr/bin/flexgui", line 313, in <module>
    window = flexgui()
             ^^^^^^^^^
  File "/usr/bin/flexgui", line 229, in __init__
    startup.setup_jog(self)
  File "/usr/lib/python3/dist-packages/libflexgui/startup.py", line 1167, in setup_jog
    if parent.jog_increments:
       ^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'flexgui' object has no attribute 'jog_increments'
Shutting down and cleaning up LinuxCNC...


A question about the plotter i was going to ask anyway: If a program is loaded, machine zero is in the center of the plot, and i have to search the preview. Is there a way to have the current coordinate system zero, centered in the plot, to see the preview directly.

Thanks for all the work done in this project. At the moment i am integrating the subroutines, and it's really nice how to control the index of tabs and stacked widget with a button connected to some python, then load the program with a push button. 
 
[/code]
 

I've not figured out how to move the plot in code. I don't get that error so I must have fixed it.

JT

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

Moderators: JT
Time to create page: 0.071 seconds
Powered by Kunena Forum