FlexGui -Touch off

More
16 Sep 2025 09:23 - 16 Sep 2025 11:13 #335058 by MaHa
FlexGui -Touch off was created by MaHa
It seems i am attracting 'touch off' troubles. Still working on my UI. After run from terminal,homing,loading a g-code file and then press touch off button (touchoff_selected_pb) , linuxcnc shuts down with an error. At least there is some info printed in the terminal. This is from the flex_examples axis:

Warning: Spoiler!


 
Last edit: 16 Sep 2025 11:13 by MaHa. Reason: typos
The following user(s) said Thank You: JT

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

More
20 Sep 2025 21:14 #335222 by JT
Replied by JT on topic FlexGui -Touch off

It seems i am attracting 'touch off' troubles. Still working on my UI. After run from terminal,homing,loading a g-code file and then press touch off button (touchoff_selected_pb) , linuxcnc shuts down with an error. At least there is some info printed in the terminal. This is from the flex_examples axis:

Warning: Spoiler!



 

By run from terminal do you mean you launched flexgui from a terminal or linuxcnc?

FileNotFoundError: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/home/miller/linuxcnc/configs/flex_examples/touchoff.ui'

That is an installed file not one that is in the configs directory so it makes me think your not running flex from linuxcnc.

JT

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

More
20 Sep 2025 23:45 #335229 by MaHa
Replied by MaHa on topic FlexGui -Touch off
I start linuxcnc from terminal, then select the ui to start. I just tested again. Running a program with subroutine or without.
after finish, use the jog buttons to move xyz position. Then touch off button shuts down linuxcnc with this error.
This happens only when jog to another position and trying to touch off,after a gcode was running. On a new started ui  is no problem

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

More
21 Sep 2025 21:25 - 21 Sep 2025 21:51 #335252 by MaHa
Replied by MaHa on topic FlexGui -Touch off
I had time for some investigation. When touchof before running a gcode, (self.gui_path) in the file touchoff.py  leads to /usr/lib/libflexgui. but after running a gcode (self.gui_path) contains /home/miller/linuxcnc/configs.

Toolchange popup is affected also the same way.
Last edit: 21 Sep 2025 21:51 by MaHa.
The following user(s) said Thank You: JT

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

More
22 Sep 2025 19:13 #335301 by JT
Replied by JT on topic FlexGui -Touch off

I had time for some investigation. When touchof before running a gcode, (self.gui_path) in the file touchoff.py  leads to /usr/lib/libflexgui. but after running a gcode (self.gui_path) contains /home/miller/linuxcnc/configs.

Toolchange popup is affected also the same way.
 

Thanks for investigating this, this is a big help. I'll get this fixed ASAP.

JT
The following user(s) said Thank You: MaHa

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

Time to create page: 0.129 seconds
Powered by Kunena Forum