On 11/11/22 20:14, Phill Carter wrote:


On 12 Nov 2022, at 11:42 am, gene heskett <ghesk...@shentel.net> wrote:

On 11/11/22 17:27, Phill Carter wrote:

This is rediculous, I just crashed tbird trying to report what I found.
On 11 Nov 2022, at 10:42 pm, gene heskett <ghesk...@shentel.net> wrote:

On 11/11/22 03:58, andy pugh wrote:
On Fri, 11 Nov 2022 at 07:53, gene heskett <ghesk...@shentel.net> wrote:
No option 'mainwindow_geometry' in section: 'SCREEN_OPTIONS'
/usr/bin/linuxcnc: line 963:  3628 Segmentation fault      $EMCDISPLAY
-ini "$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS
linuxcnc line 963 is (probably) "case $EMCDISPLAY in " which seems like an
odd place to segfault, so presumably that is just wehere it was a the time.
Running the same config on my machine it all looks much the same until "No
option 'mainwindow_geometry' in section: 'SCREEN_OPTIONS'" at which point
the output stops and the UI appears.
This is looking like possibly a display driver problem. Do _any_ of the QT
sims work?
I've tried several ending wth qtaxis and tester, with pretty much the same 
results, so I'd have to say no.

Looking with synaptic, not a lot of qt stuff has been installed. Maybe 5% of 
it.  Is there a meta package that will pull in what I need?
There is install_script located in lib/python/qtvcp/designer which should pull 
in most required packages. I think there may a couple more that qtdragon 
requires but these will appear in the terminal message if required.
Thanks.  Here on buster, that script was in
/usr/lib/python3/dist-packages/qtvcp/designer,
Sorry, I assumed that you had a run in place installation.

and it installed a bunk of stuff. I'll see if the sim qtdragon will run now...
No, took it about 1:30 to report a dbus error.
So I installed dbus-tests dbus-test-runner.

The man page is wrong for both -t and -n, use a space, not an = sign in the 
invocation.

And it didn't save about 6k of my typing when I killed it.
I did have it (dbus-run-tests) save a report. but where the hell is /tmp? 
Apparently there are at least two of them, and tbird is looking at the wrong 
one. And after restarting tbird, I can't find the .report
so I got updatedb running.
Found it, but I had to remount my whole home network.
Its in /tmp on that machine,
And it will cat, for a copy/paste:

gene@GO704:~$ cat linuxcnc.report
Error report created by /usr/lib/tcltk/linuxcnc/show_errors.tcl:

Print file information:
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc/modules
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
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'
INIFILE=/home/gene/linuxcnc/configs/sim.qtvcp_screens.qtdragon/qtdragon_xyza.ini
VERSION=1.1
PARAMETER_FILE=qtdragon.var
TPMOD=
HOMEMOD=
TASK=milltask
HALUI=halui
DISPLAY=qtvcp qtdragon
COORDINATES=XYZA
KINEMATICS=trivkins coordinates=XYZA
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Found file(REL): ./gantrysim.hal
Loaded HAL Components:
ID      Type  Name                                            PID   State
    26  RT    trivkins                                              ready
    25  User  halcmd17062                                     17062 ready
    21  RT    homemod                                               ready
    16  RT    tpmod                                                 ready
    10  User  halui                                           17051 ready
     4  User  iocontrol                                       17049 ready

Found file(lib): /usr/share/linuxcnc/hallib/simulated-gantry-home.hal
Starting TASK program: milltask
Starting DISPLAY program: qtvcp
Shutting down and cleaning up LinuxCNC...
task: 276 cycles, min=0.000007, max=0.010103, avg=0.008858, 0 latency excursions 
(> 10x expected cycle time of 0.010000s)
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
Note: Using POSIX realtime
[QTvcp.QTVCP.LIB.SYS_NOTIFY][WARNING]  Desktop Notify not available:: 
org.freedesktop.DBus.Error.Spawn.ChildExited: Process 
org.freedesktop.Notifications exited with status 1 (sys_notify.py:71)
[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)
[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)
/usr/bin/linuxcnc: line 963: 17081 Segmentation fault      $EMCDISPLAY -ini 
"$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS
17045
17078
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime



-----------------------------------------------------------------------
Info report created by linuxcnc_info:
The file:    /tmp/linuxcnc_info.txt
can be posted to a forum or a web site like:
     http://pastebin.com <http://pastebin.com/>
in order to provide information about the linuxcnc
system and configuration.

                Date: Fri 11 Nov 2022 07:00:05 PM EST
            UTC Date: Sat 12 Nov 2022 12:00:05 AM UTC
        this program: /usr/bin/linuxcnc_info
              uptime: 19:00:05 up 16:36, 1 user, load average: 0.18, 0.16, 0.17
     lsb_release -sa: Debian Debian GNU/Linux 10 (buster) 10 buster
            linuxcnc: /usr/bin/linuxcnc
                 pwd: /home/gene/linuxcnc/configs/sim.qtvcp_screens.qtdragon
                USER: gene
             LOGNAME: gene
                HOME: /home/gene
              EDITOR:
              VISUAL:
            LANGUAGE:
                TERM: xterm-256color
           COLORTERM:
             DISPLAY: localhost:10.0
             DESKTOP:
        display size: 1920x1080 pixels (508x285 millimeters)
                PATH: 
/usr/bin:/home/gene/linuxcnc/configs/sim.qtvcp_screens.qtdragon/bin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

uname items:
         nodename -n: GO704
      kernel-name -s: Linux
      kernel-vers -v: #1 SMP PREEMPT RT Debian 4.19.260-1 (2022-09-29)
          machine -m: x86_64
        processor -p: unknown
         platform -i: unknown
      oper system -o: GNU/Linux

/proc items:
             cmdline: BOOT_IMAGE=/boot/vmlinuz-4.19.0-22-rt-amd64 
root=UUID=ef626ec6-6fe7-42ad-8ca8-f8d7472979f5 ro initrd=/install/gtk/initrd.gz 
quiet isolcpus=3
          model name: Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz
               cores: 4
             cpu MHz: 1596.437
             parport:
              serial: 0000-0000 : serial 0000-0000 : serial

Versions:
                 gcc: gcc (Debian 8.3.0-6) 8.3.0
              python: Python 3.7.3
                 git: not_in_PATH
          git commit: NA
                 tcl: 8.6
                  tk: 8.6
               glade: glade 3.22.1

linuxcnc_var all:

     LINUXCNCVERSION: 2.10.0-pre0-3-g65d3e0c58
LINUXCNC_AUX_GLADEVCP: /usr/share/linuxcnc/aux_gladevcp
LINUXCNC_AUX_EXAMPLES: /usr/share/linuxcnc/aux_examples
            REALTIME: /usr/lib/linuxcnc/realtime
                 RTS: uspace
          HALLIB_DIR: /usr/share/linuxcnc/hallib
              PYTHON: /usr/bin/python3

dpkg -l '*linuxcnc*':
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                   Version                    Architecture Description
+++-======================-==========================-============-=====================================================================
un  linuxcnc               <none>                     <none>       (no 
description available)
un  linuxcnc-dev           <none>                     <none>       (no 
description available)
un  linuxcnc-doc           <none>                     <none>       (no 
description available)
ii  linuxcnc-doc-en        1:2.10.0~pre0.3.g65d3e0c58 all motion controller for 
CNC machines and robots (English documentation)
un  linuxcnc-doc-es        <none>                     <none>       (no 
description available)
un  linuxcnc-doc-fr        <none>                     <none>       (no 
description available)
un  linuxcnc-sim           <none>                     <none>       (no 
description available)
un  linuxcnc-sim-dev       <none>                     <none>       (no 
description available)
ii  linuxcnc-uspace        1:2.10.0~pre0.3.g65d3e0c58 amd64 motion controller 
for CNC machines and robots
ii  linuxcnc-uspace-dbgsym 1:2.10.0~pre0.3.g65d3e0c58 amd64        debug 
symbols for linuxcnc-uspace
ii  linuxcnc-uspace-dev    1:2.10.0~pre0.3.g65d3e0c58 amd64        PC based 
motion controller for real-time Linux

gene@GO704:~$

I see two problems, dbus, and ngcgui which I've never been able to use.

What will fix this?
TBH I have no idea, it 'just works' here...

This is a list of the results from: apt search dbus | grep installed

I'll use this for a list of stuff to have apt check/install.
Probably tomorrow as I've been up since about 05:30 and its getting sleepy here.

colord/testing,now 1.4.6-1 arm64 [installed,automatic]
dbus/testing,now 1.14.4-1 arm64 [installed]
dbus-bin/testing,now 1.14.4-1 arm64 [installed,automatic]
dbus-daemon/testing,now 1.14.4-1 arm64 [installed,automatic]
dbus-session-bus-common/testing,now 1.14.4-1 all [installed,automatic]
dbus-system-bus-common/testing,now 1.14.4-1 all [installed,automatic]
dbus-user-session/testing,now 1.14.4-1 arm64 [installed,automatic]
gir1.2-packagekitglib-1.0/testing,now 1.2.5-3+b1 arm64 [installed,automatic]
gir1.2-secret-1/testing,now 0.20.5-3 arm64 [installed,automatic]
libdbus-1-3/testing,now 1.14.4-1 arm64 [installed,automatic]
libdbus-1-dev/testing,now 1.14.4-1 arm64 [installed,automatic]
libdbus-glib-1-2/testing,now 0.112-2 arm64 [installed,automatic]
libdbusmenu-glib4/testing,now 18.10.20180917~bzr492+repack1-3 arm64 
[installed,automatic]
libdbusmenu-gtk3-4/testing,now 18.10.20180917~bzr492+repack1-3 arm64 
[installed,automatic]
libmm-glib0/testing,now 1.20.0-1 arm64 [installed,automatic]
libmodbus-dev/testing,now 3.1.6-2.1 arm64 [installed]
libmodbus5/testing,now 3.1.6-2.1 arm64 [installed,automatic]
libnet-dbus-perl/testing,now 1.2.0-1+b3 arm64 [installed,automatic]
libpackagekit-glib2-18/testing,now 1.2.5-3+b1 arm64 [installed,automatic]
libqt5dbus5/testing,now 5.15.6+dfsg-2 arm64 [installed,automatic]
libsecret-1-0/testing,now 0.20.5-3 arm64 [installed,automatic]
libsecret-common/testing,now 0.20.5-3 all [installed,automatic]
modemmanager/testing,now 1.20.0-1 arm64 [installed,automatic]
packagekit/testing,now 1.2.5-3+b1 arm64 [installed,automatic]
packagekit-tools/testing,now 1.2.5-3+b1 arm64 [installed,automatic]
python3-dbus/testing,now 1.3.2-1 arm64 [installed]
python3-dbus.mainloop.pyqt5/testing,now 5.15.7+dfsg-2 arm64 [installed]
python3-pyqt5/testing,now 5.15.7+dfsg-2 arm64 [installed]
xdg-dbus-proxy/testing,now 0.1.4-1 arm64 [installed,automatic]

maybe that will help.

I hope so.

Thank you Phill. Take care & stay well.


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