qtdragon_hd touchoff and probing issue-

More
2 years 4 months ago #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

Please Log in to join the conversation.

More
2 years 4 months ago #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 to join the conversation.

More
2 years 4 months ago #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 )

 

Please Log in to join the conversation.

More
2 years 4 months ago #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 to join the conversation.

More
2 years 4 months ago #303585 by cmorley
Are you using a RIP or a installed version of linuxcnc?

Please Log in to join the conversation.

More
2 years 4 months ago #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 

Please Log in to join the conversation.

More
2 years 4 months ago #303617 by cmorley
Do you see touchoff_subprogram.py at:
/usr/lib/python3/dist-packages/qtvcp/lib/touchoff_subprogram.py

Please Log in to join the conversation.

More
2 years 4 months ago #303618 by Kasper-001
well that i do :O , where to change the directory ?

Please Log in to join the conversation.

More
2 years 4 months ago #303620 by cmorley
Try this:
Find /usr/lib/python3/dist-packages/qtvcp/qt_pstat.py

change the relevant code to this:

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

Please Log in to join the conversation.

More
2 years 4 months ago #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$


 

Please Log in to join the conversation.

Time to create page: 0.659 seconds
Powered by Kunena Forum