On 11/10/22 19:58, andy pugh wrote:
On Fri, 11 Nov 2022 at 00:36, gene heskett <ghesk...@shentel.net> wrote:

I just took a screenshot and put it in the Go704 directory on my web
page. See what you can figure out. that is as far as it gets. And it
takes it about a minute to get that far.


Maybe comment-out the ngcgui stuff as an experiment?

I did that, and got a cleaner error exit.
comment 1, the two .ini files in that directory for xyza are for xyz only, no a axis in them. comment 2, I chased into the python subdir, and there are links there to files that don't exist on the system: paste from that screen:

gene@GO704:~/linuxcnc/configs/sim.qtvcp_screens.qtdragon$ rm qtdragon.log
gene@GO704:~/linuxcnc/configs/sim.qtvcp_screens.qtdragon$ grep -R ngcgui *
grep: python/stdglue.py: No such file or directory
grep: python/qt_auto_probe_tool.ngc: No such file or directory

gene@GO704:~/linuxcnc/configs/sim.qtvcp_screens.qtdragon$ cd python
gene@GO704:~/linuxcnc/configs/sim.qtvcp_screens.qtdragon/python$ ls
qt_auto_probe_tool.ngc  remap.py  stdglue.py  toplevel.py
gene@GO704:~/linuxcnc/configs/sim.qtvcp_screens.qtdragon/python$ grep ngcgui *
grep: qt_auto_probe_tool.ngc: No such file or directory
grep: stdglue.py: No such file or directory
gene@GO704:~/linuxcnc/configs/sim.qtvcp_screens.qtdragon/python$ ls -l
total 8
lrwxrwxrwx 1 gene gene 58 Nov 10 00:20 qt_auto_probe_tool.ngc -> ../../../nc_files/remap-subroutines/qt_auto_probe_tool.ngc
-rw-r--r-- 1 gene gene 788 Nov 10 00:20 remap.py
lrwxrwxrwx 1 gene gene 56 Nov 10 00:20 stdglue.py -> ../../../../nc_files/remap_lib/python-stdglue/stdglue.py
-rw-r--r-- 1 gene gene 780 Nov 10 00:20 toplevel.py

Not knowing what to do, I quit looking. Some ngcgui stuff is installed but likely not installed from the latest stuff, as making it work here seems to be a cf, something has always been broken from years ago. I would suspect whatever is installed was installed by the initial buster install, and since its not in the repo's, never updated. However I did find a man page in man 1, its authored by you and part of LinuxCNC now, and from all the file dates apparently updated by apt upgrade -y yesterday. So it is all there, locate spits out many screens of it, just not used by any of my configs.

Something aglay in my local $PATH? IDK.

locate CAN find qt_auto_probe_tool.ngc :
gene@GO704:~$ locate qt_auto_probe_tool.ngc
/home/gene/linuxcnc/configs/sim.qtvcp_screens.qtdragon/python/qt_auto_probe_tool.ngc
/usr/share/doc/linuxcnc/examples/sample-configs/sim/qtvcp_screens/qtdragon/python/qt_auto_probe_tool.ngc
/usr/share/linuxcnc/ncfiles/remap-subroutines/qt_auto_probe_tool.ngc

And locate CAN find stdglue.py :

gene@GO704:~$ locate stdglue.py
/home/gene/linuxcnc/configs/sim.gmoccapy/python/stdglue.py
/home/gene/linuxcnc/configs/sim.qtvcp_screens.qtdragon/python/stdglue.py
/home/gene/linuxcnc/transfer-dir/shop-lcnc-backup/linuxcnc/configs/sim.gmoccapy/python/stdglue.py
/home/gene/linuxcnc/transfer-dir/shop-lcnc-backup/linuxcnc/linuxcnc/configs/sim.gmoccapy/python/stdglue.py
/usr/share/doc/linuxcnc/examples/sample-configs/sim/gmoccapy/python/stdglue.py
/usr/share/doc/linuxcnc/examples/sample-configs/sim/qtvcp_screens/qtdragon/python/stdglue.py
/usr/share/linuxcnc/ncfiles/remap_lib/python-stdglue/stdglue.py

For sure its all there on that system it seems.

So I went into my /home/gene/linuxcnc/configs and rm'd anything with sim in its name, ran linuxcnc without any args and selected sim qt_screens/qt_dragon_xyza which made a fresh copy of xyza
named sim.qtvcp_screens.qtdragon. But it still won't run.

paste:
gene@GO704:~/linuxcnc/configs$ linuxcnc
LINUXCNC - 2.10.0-pre0-3-g65d3e0c58
Machine configuration directory is '/home/gene/linuxcnc/configs/sim.qtvcp_screens.qtdragon'
Machine configuration file is 'qtdragon_xyza.ini'
Starting LinuxCNC...
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Note: Using POSIX realtime
Found file(REL): ./gantrysim.hal
Loaded HAL Components:
ID      Type  Name                                            PID   State
    26  RT    trivkins                                              ready
    25  User  halcmd3610                                       3610 ready
    21  RT    homemod                                               ready
    16  RT    tpmod                                                 ready
    10  User  halui                                            3598 ready
     4  User  iocontrol                                        3596 ready

Found file(lib): /usr/share/linuxcnc/hallib/simulated-gantry-home.hal
link (updating variable file): No such file or directory
[QTvcp.QTVCP.LIB.SYS_NOTIFY][WARNING] Desktop Notify not available:: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. (sys_notify.py:71) [QTvcp.QTVCP.LIB.QT_PDF.PDFVIEWER][WARNING] PDFViwer - Is python3-poppler-qt5 installed? (PDFViewer.py:15) preference file does not exist -makeing file - /home/gene/linuxcnc/configs/sim.qtvcp_screens.qtdragon/qtdragon.pref
No section: 'DIALOG_GEOMETRY'
Adding section DIALOG_GEOMETRY
No section: 'DIALOG_OPTIONS'
Adding section DIALOG_OPTIONS
No option 'EntryDialog_sound_type' in section: 'DIALOG_OPTIONS'
No option 'ToolChangeDialog-geometry' in section: 'DIALOG_GEOMETRY'
No option 'toolDialog_play_sound' in section: 'DIALOG_OPTIONS'
No option 'toolDialog_speak' in section: 'DIALOG_OPTIONS'
No option 'toolDialog_sound_type' in section: 'DIALOG_OPTIONS'
No option 'fileDialog_play_sound' in section: 'DIALOG_OPTIONS'
No option 'fileDialog_sound_type' in section: 'DIALOG_OPTIONS'
No section: 'BOOK_KEEPING'
Adding section BOOK_KEEPING
No section: 'ORIGINOFFSET_SYSTEM_NAMES'
Adding section ORIGINOFFSET_SYSTEM_NAMES
No option '__dialogOffsetViewWidget-G55' in section: 'ORIGINOFFSET_SYSTEM_NAMES' No option '__dialogOffsetViewWidget-G56' in section: 'ORIGINOFFSET_SYSTEM_NAMES' No option '__dialogOffsetViewWidget-G57' in section: 'ORIGINOFFSET_SYSTEM_NAMES' No option '__dialogOffsetViewWidget-G58' in section: 'ORIGINOFFSET_SYSTEM_NAMES' No option '__dialogOffsetViewWidget-G59' in section: 'ORIGINOFFSET_SYSTEM_NAMES' No option '__dialogOffsetViewWidget-G59.1' in section: 'ORIGINOFFSET_SYSTEM_NAMES' No option '__dialogOffsetViewWidget-G59.2' in section: 'ORIGINOFFSET_SYSTEM_NAMES' No option '__dialogOffsetViewWidget-G59.3' in section: 'ORIGINOFFSET_SYSTEM_NAMES'
No option 'CalculatorDialog_play_sound' in section: 'DIALOG_OPTIONS'
No option 'CalculatorDialog_sound_type' in section: 'DIALOG_OPTIONS'
No option 'MachineLogDialog_play_sound' in section: 'DIALOG_OPTIONS'
No option 'MachineLogDialog_sound_type' in section: 'DIALOG_OPTIONS'
No option 'RunFromLineDialog_play_sound' in section: 'DIALOG_OPTIONS'
No option 'RunFromLineDialog_sound_type' in section: 'DIALOG_OPTIONS'
No section: 'SCREEN_OPTIONS'
Adding section SCREEN_OPTIONS
No option 'desktop_notify' in section: 'SCREEN_OPTIONS'
No option 'notify_max_msgs' in section: 'SCREEN_OPTIONS'
No option 'shutdown_check' in section: 'SCREEN_OPTIONS'
No option 'sound_player_on' in section: 'SCREEN_OPTIONS'
No section: 'MCH_MSG_OPTIONS'
Adding section MCH_MSG_OPTIONS
No option 'mchnMsg_speak_errors' in section: 'MCH_MSG_OPTIONS'
No option 'mchnMsg_speak_text' in section: 'MCH_MSG_OPTIONS'
No option 'mchnMsg_sound_type' in section: 'MCH_MSG_OPTIONS'
No section: 'USR_MSG_OPTIONS'
Adding section USR_MSG_OPTIONS
No option 'userMsg_sound_type' in section: 'USR_MSG_OPTIONS'
No option 'userMsg_use_focusOverlay' in section: 'USR_MSG_OPTIONS'
No section: 'SHUTDOWN_OPTIONS'
Adding section SHUTDOWN_OPTIONS
No option 'shutdown_alert_sound_type' in section: 'SHUTDOWN_OPTIONS'
No option 'shutdown_exit_sound_type' in section: 'SHUTDOWN_OPTIONS'
No option 'shutdown_msg_title' in section: 'SHUTDOWN_OPTIONS'
No option 'shutdown_msg_focus_text' in section: 'SHUTDOWN_OPTIONS'
No option 'shutdown_msg_detail' in section: 'SHUTDOWN_OPTIONS'
No section: 'NOTIFY_OPTIONS'
Adding section NOTIFY_OPTIONS
No option 'notify_start_title' in section: 'NOTIFY_OPTIONS'
No option 'notify_start_detail' in section: 'NOTIFY_OPTIONS'
No option 'notify_start_timeout' in section: 'NOTIFY_OPTIONS'
No option 'offset_table-G54' in section: 'ORIGINOFFSET_SYSTEM_NAMES'
No option 'offset_table-G55' in section: 'ORIGINOFFSET_SYSTEM_NAMES'
No option 'offset_table-G56' in section: 'ORIGINOFFSET_SYSTEM_NAMES'
No option 'offset_table-G57' in section: 'ORIGINOFFSET_SYSTEM_NAMES'
No option 'offset_table-G58' in section: 'ORIGINOFFSET_SYSTEM_NAMES'
No option 'offset_table-G59' in section: 'ORIGINOFFSET_SYSTEM_NAMES'
No option 'offset_table-G59.1' in section: 'ORIGINOFFSET_SYSTEM_NAMES'
No option 'offset_table-G59.2' in section: 'ORIGINOFFSET_SYSTEM_NAMES'
No option 'offset_table-G59.3' in section: 'ORIGINOFFSET_SYSTEM_NAMES'
No section: 'SCREEN_CONTROL_LAST_SETTING'
Adding section SCREEN_CONTROL_LAST_SETTING
No option 'gcodegraphics-user-zoom' in section: 'SCREEN_CONTROL_LAST_SETTING' No option 'gcodegraphics-user-panx' in section: 'SCREEN_CONTROL_LAST_SETTING' No option 'gcodegraphics-user-pany' in section: 'SCREEN_CONTROL_LAST_SETTING'
No option 'gcodegraphics-user-lat' in section: 'SCREEN_CONTROL_LAST_SETTING'
No option 'gcodegraphics-user-lon' in section: 'SCREEN_CONTROL_LAST_SETTING'
[QTvcp.QTVCP.WIDGETS.STATUS_LABEL][WARNING] lbl_maxv_percent : no option recognised (status_label.py:158) [QTvcp.QTVCP.WIDGETS.STATUS_LABEL][WARNING] lbl_max_rapid : no option recognised (status_label.py:158) [QTvcp.QTVCP.WIDGETS.STATUS_LABEL][WARNING] lbl_runtime : no option recognised (status_label.py:158)
No option 'last_loaded_file' in section: 'BOOK_KEEPING'
No section: 'CUSTOM_FORM_ENTRIES'
Adding section CUSTOM_FORM_ENTRIES
No option 'Laser X' in section: 'CUSTOM_FORM_ENTRIES'
No option 'Laser Y' in section: 'CUSTOM_FORM_ENTRIES'
No option 'Sensor X' in section: 'CUSTOM_FORM_ENTRIES'
No option 'Sensor Y' in section: 'CUSTOM_FORM_ENTRIES'
No option 'Camera X' in section: 'CUSTOM_FORM_ENTRIES'
No option 'Camera Y' in section: 'CUSTOM_FORM_ENTRIES'
No option 'Work Height' in section: 'CUSTOM_FORM_ENTRIES'
No option 'Touch Height' in section: 'CUSTOM_FORM_ENTRIES'
No option 'Sensor Height' in section: 'CUSTOM_FORM_ENTRIES'
No option 'Search Velocity' in section: 'CUSTOM_FORM_ENTRIES'
No option 'Probe Velocity' in section: 'CUSTOM_FORM_ENTRIES'
No option 'Max Probe' in section: 'CUSTOM_FORM_ENTRIES'
No option 'Retract Distance' in section: 'CUSTOM_FORM_ENTRIES'
No option 'Z Safe Travel' in section: 'CUSTOM_FORM_ENTRIES'
No option 'Eoffset count' in section: 'CUSTOM_FORM_ENTRIES'
No option 'External offsets' in section: 'CUSTOM_FORM_ENTRIES'
No option 'Reload program' in section: 'CUSTOM_FORM_ENTRIES'
No option 'Reload tool' in section: 'CUSTOM_FORM_ENTRIES'
No option 'Use keyboard' in section: 'CUSTOM_FORM_ENTRIES'
No option 'Run from line' in section: 'CUSTOM_FORM_ENTRIES'
No option 'Use virtual keyboard' in section: 'CUSTOM_FORM_ENTRIES'
No option 'Use tool sensor' in section: 'CUSTOM_FORM_ENTRIES'
No option 'Use camera' in section: 'CUSTOM_FORM_ENTRIES'
No option 'Use alpha display mode' in section: 'CUSTOM_FORM_ENTRIES'
No option 'Inhibit display mouse selection' in section: 'CUSTOM_FORM_ENTRIES'
No section: 'PROBE OPTIONS'
Adding section PROBE OPTIONS
No option 'Probe diameter' in section: 'PROBE OPTIONS'
No option 'Probe rapid' in section: 'PROBE OPTIONS'
No option 'Probe feed' in section: 'PROBE OPTIONS'
No option 'Probe search' in section: 'PROBE OPTIONS'
No option 'Probe max travel' in section: 'PROBE OPTIONS'
No option 'Probe max z' in section: 'PROBE OPTIONS'
No option 'Probe extra depth' in section: 'PROBE OPTIONS'
No option 'Probe step off' in section: 'PROBE OPTIONS'
No option 'Probe xy clearance' in section: 'PROBE OPTIONS'
No option 'Probe z clearance' in section: 'PROBE OPTIONS'
No option 'Probe edge width' in section: 'PROBE OPTIONS'
No option 'Calibration offset' in section: 'PROBE OPTIONS'
No option 'Cal x width' in section: 'PROBE OPTIONS'
No option 'Cal y width' in section: 'PROBE OPTIONS'
No option 'Cal diameter' in section: 'PROBE OPTIONS'
[QTvcp.QTVCP.LIB.QT_NGCGUI.NGCGUI][DEBUG] UI Filename: /usr/lib/python3/dist-packages/qtvcp/lib/qt_ngcgui/ngcgui.ui (ngcgui.py:458) [QTvcp.QTVCP.LIB.QT_NGCGUI.NGCGUI][DEBUG] UI Filename: /usr/lib/python3/dist-packages/qtvcp/lib/qt_ngcgui/ngcgui.ui Didn't find a path NGCGUI files (ngcgui.py:485)
No option 'style_QSS_Path' in section: 'BOOK_KEEPING'
No option 'mainwindow_geometry' in section: 'SCREEN_OPTIONS'
/usr/bin/linuxcnc: line 963: 3628 Segmentation fault $EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS
Shutting down and cleaning up LinuxCNC...
task: 2795 cycles, min=0.000006, max=0.010127, avg=0.009939, 0 latency excursions (> 10x expected cycle time of 0.010000s)
Note: Using POSIX realtime
LinuxCNC terminated with an error. You can find more information in the log:
    /home/gene/linuxcnc_debug.txt
and
    /home/gene/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal

one further tidbit, there is no nc_files/probe subdir here. What package supplies that?

Thanks Andy.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to