Сustomization QTvcp
The subroutine path is wrong in the ini.
remove ~ and add /home/jura
And why is it looking for probe_basic files there?
You are using QtVCP, not PyQtVCP.
qtdragon has a basic probe.
Please Log in or Create an account to join the conversation.
I'm still thinking this is related to language - as it works properly for me.
I'll see if I can remember how to change languages on my system and try again.
Chris
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
- Posts: 19200
- Thank you received: 6436
Please Log in or Create an account to join the conversation.
Check what file it is trying to open on startup, it should be in the ini file as
open_file=xxxxxxx
qtvcp doesn't currently support preloading programs.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
- Posts: 19200
- Thank you received: 6436
Did not know that, thank you for clarifying.
Check what file it is trying to open on startup, it should be in the ini file as
open_file=xxxxxxx
qtvcp doesn't currently support preloading programs.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
your log:
2020-04-17 09:54:48,769 - QtDesigner.QTVCP.QT_ACTION - INFO - Homing Joint: -1
2020-04-17 09:54:51,614 - QtDesigner.QTVCP.QT_ACTION - DEBUG - Load program /home/jura/linuxcnc/nc_files
2020-04-17 09:55:05,914 - QTvcp.QTVCP.WIDGETS.OVERLAY_WIDGET - DEBUG - Overlay - Show
2020-04-17 09:55:08,740 - QTvcp.QTVCP.WIDGETS.DIALOG_WIDGET - DEBUG - Button pressed is: &Yes
2020-04-17 09:55:08,741 - QTvcp.QTVCP.WIDGETS.OVERLAY_WIDGET - DEBUG - Overlay - Hide
2020-04-17 09:55:08,742 - QTvcp.QTVCP.WIDGETS.DIALOG_WIDGET - DEBUG - Value of pressed button: 16384
2020-04-17 09:55:08,845 - QTvcp.QTVCP.QT_MAKEPINS - INFO - Closing cleanup on: basicprobe
2020-04-17 09:55:08,846 - QTvcp.QTVCP.WIDGETS.BASIC_PROBE - DEBUG - Saving Basic Probe data to preference file.
Mine:
2020-04-17 11:57:56,248 - QtDesigner.QTVCP.QT_ACTION - INFO - Homing Joint: -1
2020-04-17 11:58:03,842 - QTvcp.QTVCP.WIDGETS.OVERLAY_WIDGET - DEBUG - Overlay - Show
2020-04-17 11:58:14,314 - QTvcp.QTVCP.WIDGETS.OVERLAY_WIDGET - DEBUG - Overlay - Hide
2020-04-17 11:58:14,314 - QTvcp.QTVCP.WIDGETS.DIALOG_WIDGET - DEBUG - Saving FileDialog-geometry data from widget screen_options to file.
2020-04-17 11:58:14,456 - QtDesigner.QTVCP.QT_ACTION - DEBUG - Load program /home/chris/linuxcnc/nc_files/hazzy.ngc
2020-04-17 11:58:14,502 - QTvcp.QTVCP.WIDGETS.GCODE_GRAPHICS - DEBUG - load the display: /home/chris/linuxcnc/nc_files/hazzy.ngc
2020-04-17 12:03:12,493 - QTvcp.QTVCP.WIDGETS.OVERLAY_WIDGET - DEBUG - Overlay - Show
2020-04-17 12:03:14,039 - QTvcp.QTVCP.WIDGETS.DIALOG_WIDGET - DEBUG - Button pressed is: &Yes
2020-04-17 12:03:14,040 - QTvcp.QTVCP.WIDGETS.OVERLAY_WIDGET - DEBUG - Overlay - Hide
2020-04-17 12:03:14,040 - QTvcp.QTVCP.WIDGETS.DIALOG_WIDGET - DEBUG - Value of pressed button: 16384
2020-04-17 12:03:14,139 - QTvcp.QTVCP.QT_MAKEPINS - INFO - Closing cleanup on: basicprobe
2020-04-17 12:03:14,140 - QTvcp.QTVCP.WIDGETS.BASIC_PROBE - DEBUG - Saving Basic Probe data to preference file.
Notice how your's loads the program before the overlay is shown or hidden and before the yes button is pressed.
Also your is missing the actual program name so it can't be actually loading a program I would think.
Chris
Please Log in or Create an account to join the conversation.
Found where the error is. How are you Chris with this file, load_dialog_action save in
examples and then there he searches for the error too.
Ahh yes I get it now in qtdragon it does preload a program!
I didn't have 'reload program' option selected that is why i didn't get the error.
Please Log in or Create an account to join the conversation.
if fname and not return_path:
if self.PREFS_:
self.PREFS_.putpref('last_file_path', fname, str, 'BOOK_KEEPING')
ACTION.OPEN_PROGRAM(fname)
STATUS.emit('update-machine-log', 'Loaded: ' + fname, 'TIME')
return fname
Should store the program name properly
Chris
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
- Posts: 19200
- Thank you received: 6436
All is good, i will continue to monitor from a distance.
Please Log in or Create an account to join the conversation.