qtdragon_hd touchoff and probing issue-

More
22 Jun 2024 13:48 - 22 Jun 2024 18:50 #303556 by Kasper-001
i have updated linuxCNC and now my auto tool messuerment is not working
is something changed ?
linuxcnc 2.10
Touchoff subroutine path not found at:/usr/lib/python/qtvcp/lib/touchoff_subprogram.py

i don't have that directory,
but it is herre-- > github.com/LinuxCNC/linuxcnc/tree/master

how to fix this :s
Last edit: 22 Jun 2024 18:50 by Kasper-001.

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

More
22 Jun 2024 19:29 #303561 by cmorley
You haven't given me much info to go on, but yes the touchoff routine changed awhile back.
Can you post the exact error message?
Do you have any customizations to Qtdragon?
Can you run qtdragon in -d debug mode, from a terminal and post the text?

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

More
22 Jun 2024 19:51 - 22 Jun 2024 20:18 #303565 by Kasper-001
it moves to sensor when i clik button (go to sensor)    error shows in status tab,  after i clik ok to touch off

-i do not have customizations to Qtdragon

herre is log from status when i try to touchoff : 

--- QtVCP Screen Started on: lør, jun 22 2024 21:33:34 ---
--- QtDragon_hd Version 1.5 on Linuxcnc 2.10.0-pre0-3256-gdcb89f7f3a ---
lør22 21:33: Machine OFF
lør22 21:33: Hard limits tripped
lør22 21:33: Tool 0:  
lør22 21:33: pin connected in a HAL file, spindle lift disabled halui.program.resume pin connected in a HAL file, spindle lift disabled
lør22 21:33: Machine ON
lør22 21:33: Hard limits tripped
lør22 21:33: Hard limits tripped
lør22 21:33: Hard limits tripped
lør22 21:33: Hard limits tripped
lør22 21:33: Hard limits tripped
lør22 21:33: Hard limits tripped
lør22 21:33: Hard limits tripped
lør22 21:33: Hard limits tripped
lør22 21:33: Hard limits tripped
lør22 21:34:  Goto Sensor Button MDI Commands:
   
lør22 21:34: Loaded tool 3
lør22 21:34: Tool 3: Ball end mill Ø6 
lør22 21:34: Touchoff to sensor started
lør22 21:34: Touchoff subroutine path not found at:/usr/lib/python/qtvcp/lib/touchoff_subprogram.py



by reinstall linuxcnc library fix it maybe ( github.com/LinuxCNC/linuxcnc/tree/master/lib )

 
Last edit: 22 Jun 2024 20:18 by Kasper-001.

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

More
22 Jun 2024 23:03 #303575 by persei8
I think there's a problem here. According to qt_action.py. TOUCHOFF_SUBPROGRAM = PATH.TOUCHOFF_SUBPROGRAM. If I print this path to the console from the handler, it shows Touchoff routine at /usr/lib/python/qtvcp/lib/touchoff_subprogram.py. However, there's no such path on my machine. It should be python3. BTW, TOUCHOFF_SUBPROGRAM is not mentioned in the PATH section of the qtvcp libraries documentation.
Jim

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

More
23 Jun 2024 01:44 #303585 by cmorley
Are you using a RIP or a installed version of linuxcnc?

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

More
23 Jun 2024 04:43 - 23 Jun 2024 04:54 #303603 by Kasper-001
if you go here-> github.com/LinuxCNC/linuxcnc/tree/master/lib/python/qtvcp/lib  ( /usr/lib/python/qtvcp/lib/touchoff_subprogram.py )
there it is ( touchoff_subprogram.py)
and i have not either have this path on my machine 

and i only updated linuxcnc, and it worked before whitout i had to changing anything to my .ini 

installed version of linuxcnc, on pc 
Last edit: 23 Jun 2024 04:54 by Kasper-001.

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

More
23 Jun 2024 07:40 #303617 by cmorley
Do you see touchoff_subprogram.py at:
/usr/lib/python3/dist-packages/qtvcp/lib/touchoff_subprogram.py

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

More
23 Jun 2024 08:03 #303618 by Kasper-001
well that i do :O , where to change the directory ?

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

More
23 Jun 2024 08:17 - 23 Jun 2024 08:19 #303620 by cmorley
Try this:
Find /usr/lib/python3/dist-packages/qtvcp/qt_pstat.py

change the relevant code to this:

            # specific library paths
            self.TOUCHOFF_SUBPROGRAM = os.path.abspath(os.path.join(
                self.LIBDIR, 'touchoff_subprogram.py'))

 
Last edit: 23 Jun 2024 08:19 by cmorley.
The following user(s) said Thank You: Kasper-001

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

More
23 Jun 2024 08:55 - 23 Jun 2024 09:00 #303623 by Kasper-001
how can i open it with supervisor, and edit it
i use Geany, 
im here :  cnc@debian:/usr/lib/python3/dist-packages/qtvcp$


 
Last edit: 23 Jun 2024 09:00 by Kasper-001.

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

Moderators: cmorley
Time to create page: 0.113 seconds
Powered by Kunena Forum