Error unable to launch after pncconf.

More
30 Aug 2022 00:18 #250740 by RobKin
I have a fresh install.  I run the PNCconf with known working settings.  When I try to run the LinucCNC it just errors immediately.Using MX Linux followed the detailed install.I have 5i25 and 7i76 boards.  I can run my motors in the Test/Tune. 

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.9.0-pre0-7617-gca84d6cd8
Machine configuration directory is '/home/cnc/linuxcnc/configs/Plasma'
Machine configuration file is 'Plasma.ini'
INIFILE=/home/cnc/linuxcnc/configs/Plasma/Plasma.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TPMOD=
HOMEMOD=
TASK=milltask
HALUI=halui
DISPLAY=qtvcp qtplasmac_4x3
COORDINATES=XYYZ
KINEMATICS=trivkins coordinates=XYYZ
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): ./Plasma.hal
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script

identityKinematicsSetup: coordinates:XYYZ
   Joint 0 ==> Axis X
   Joint 1 ==> Axis Y
   Joint 2 ==> Axis Y
   Joint 3 ==> Axis Z
identityKinematicsSetup: Recommend: kinstype=both

hm2: loading Mesa HostMot2 driver version 0.15
hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
hm2_pci: discovered 5i25 at 0000:02:00.0
hm2/hm2_5i25.0: Low Level init 0.15
hm2/hm2_5i25.0: Smart Serial Firmware Version 43
Board hm2_5i25.0.7i76.0.0 Hardware Mode 0 = standard
Board hm2_5i25.0.7i76.0.0 Software Mode 0 = io_spin
Board hm2_5i25.0.7i76.0.0 Software Mode 1 = io_ana_spin
Board hm2_5i25.0.7i76.0.0 Software Mode 2 = io_enc_ana_spin_fv
hm2/hm2_5i25.0: 34 I/O Pins used:
hm2/hm2_5i25.0:     IO Pin 000 (P3-01): StepGen #0, pin Direction (Output)
hm2/hm2_5i25.0:     IO Pin 001 (P3-14): StepGen #0, pin Step (Output)
hm2/hm2_5i25.0:     IO Pin 002 (P3-02): StepGen #1, pin Direction (Output)
hm2/hm2_5i25.0:     IO Pin 003 (P3-15): StepGen #1, pin Step (Output)
hm2/hm2_5i25.0:     IO Pin 004 (P3-03): StepGen #2, pin Direction (Output)
hm2/hm2_5i25.0:     IO Pin 005 (P3-16): StepGen #2, pin Step (Output)
hm2/hm2_5i25.0:     IO Pin 006 (P3-04): StepGen #3, pin Direction (Output)
hm2/hm2_5i25.0:     IO Pin 007 (P3-17): StepGen #3, pin Step (Output)
hm2/hm2_5i25.0:     IO Pin 008 (P3-05): StepGen #4, pin Direction (Output)
hm2/hm2_5i25.0:     IO Pin 009 (P3-06): StepGen #4, pin Step (Output)
hm2/hm2_5i25.0:     IO Pin 010 (P3-07): Smart Serial Interface #0, pin tx0 (Output)
hm2/hm2_5i25.0:     IO Pin 011 (P3-08): Smart Serial Interface #0, pin rx0 (Input)
hm2/hm2_5i25.0:     IO Pin 012 (P3-09): IOPort
hm2/hm2_5i25.0:     IO Pin 013 (P3-10): IOPort
hm2/hm2_5i25.0:     IO Pin 014 (P3-11): Encoder #0, pin Index (Input)
hm2/hm2_5i25.0:     IO Pin 015 (P3-12): Encoder #0, pin B (Input)
hm2/hm2_5i25.0:     IO Pin 016 (P3-13): Encoder #0, pin A (Input)
hm2/hm2_5i25.0:     IO Pin 017 (P2-01): IOPort
hm2/hm2_5i25.0:     IO Pin 018 (P2-14): IOPort
hm2/hm2_5i25.0:     IO Pin 019 (P2-02): IOPort
hm2/hm2_5i25.0:     IO Pin 020 (P2-15): IOPort
hm2/hm2_5i25.0:     IO Pin 021 (P2-03): IOPort
hm2/hm2_5i25.0:     IO Pin 022 (P2-16): IOPort
hm2/hm2_5i25.0:     IO Pin 023 (P2-04): IOPort
hm2/hm2_5i25.0:     IO Pin 024 (P2-17): IOPort
hm2/hm2_5i25.0:     IO Pin 025 (P2-05): IOPort
hm2/hm2_5i25.0:     IO Pin 026 (P2-06): IOPort
hm2/hm2_5i25.0:     IO Pin 027 (P2-07): IOPort
hm2/hm2_5i25.0:     IO Pin 028 (P2-08): IOPort
hm2/hm2_5i25.0:     IO Pin 029 (P2-09): IOPort
hm2/hm2_5i25.0:     IO Pin 030 (P2-10): IOPort
hm2/hm2_5i25.0:     IO Pin 031 (P2-11): IOPort
hm2/hm2_5i25.0:     IO Pin 032 (P2-12): IOPort
hm2/hm2_5i25.0:     IO Pin 033 (P2-13): IOPort
hm2/hm2_5i25.0: registered
hm2_5i25.0: initialized AnyIO board at 0000:02:00.0
hm2_5i25.0: dropping AnyIO board at 0000:02:00.0
hm2/hm2_5i25.0: unregistered
hm2_pci: driver unloaded
hm2: unloading
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
Note: Using POSIX realtime
./Plasma.hal:24: parameter or pin 'hm2_5i25.0.dpll.01.timer-us' not found
5000
Stopping realtime threads
Unloading hal components
RTAPI_PCI: Unmapped 65536 bytes at 0x7fa3f9af5000
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:
     pastebin.com
in order to provide information about the linuxcnc
system and configuration.

                Date: Mon 29 Aug 2022 05:04:10 PM PDT
            UTC Date: Tue 30 Aug 2022 12:04:10 AM UTC
        this program: /usr/bin/linuxcnc_info
              uptime: 17:04:10 up 4 min, 1 user, load average: 1.10, 0.79, 0.35
     lsb_release -sa: Debian Debian GNU/Linux 10 (buster) 10 buster
            linuxcnc: /usr/bin/linuxcnc
                 pwd: /home/cnc/linuxcnc/configs/Plasma
                USER: cnc
             LOGNAME: cnc
                HOME: /home/cnc
              EDITOR:
              VISUAL:
            LANGUAGE:
                TERM: dumb
           COLORTERM:
             DISPLAY: :0.0
             DESKTOP: lightdm-xsession
        display size: 1600x1200 pixels (423x317 millimeters)
                PATH: /usr/bin:/home/cnc/linuxcnc/configs/Plasma/bin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

uname items:
         nodename -n: cnc
      kernel-name -s: Linux
      kernel-vers -v: #1 SMP PREEMPT RT Debian 4.19.249-2 (2022-06-30)
          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-21-rt-amd64 root=UUID=bc0eb72e-0a81-4cbd-89ed-45f552bbd006 ro quiet splash
          model name: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
               cores: 4
             cpu MHz: 1712.692
             parport: 0000-0000 : parport0 0000-0000 : parport0
              serial: 0000-0000 : serial 0000-0000 : serial

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

linuxcnc_var all:

     LINUXCNCVERSION: 2.9.0-pre0-7617-gca84d6cd8
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)
un  linuxcnc-doc-en     <none>                       <none>       (no description available)
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.9.0~pre0.7617.gca84d6cd8 amd64        motion controller for CNC machines and robots
ii  linuxcnc-uspace-dev 1:2.9.0~pre0.7617.gca84d6cd8 amd64        PC based motion controller for real-time Linux

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

More
30 Aug 2022 01:28 #250742 by cmorley
in your config file Plasma.hal:
line 24:
comment out pin 'hm2_5i25.0.dpll.01.timer-us'

and try running again

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

More
30 Aug 2022 03:06 #250746 by RobKin
OK I did. Now it is a different error box. I think this is for QTVCP?

Traceback (most recent call last):
File "/usr/bin/qtvcp", line 511, in <module>
APP = QTVCP()
File "/usr/bin/qtvcp", line 158, in __init__
error = PATH.set_paths(basepath, bool(INIPATH))
File "/usr/lib/python3/dist-packages/qtvcp/qt_pstat.py", line 109, in set_paths
self.HANDLERDIR = os.path.dirname(join(self.HANDLER))
NameError: name 'join' is not defined

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

More
30 Aug 2022 03:10 #250748 by cmorley
yes unfortunate I pushed some bad code, so you need to update your linuxcnc.

or edit the file.

that line should be:
self.HANDLERDIR = os.path.dirname(self.HANDLER)

There is another line like it with a similar fix.

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

More
30 Aug 2022 03:12 #250749 by RobKin
After closing that window it gave me another debug error box:

Debug file information:
Note: Using POSIX realtime
[QTvcp][[41mCRITICAL[0m] Aborted from Error Dialog
Qtvcp encountered an error. The following information may be useful in troubleshooting:
LinuxCNC Version : 2.9.0-pre0-7621-g727684feb

Traceback (most recent call last):
File "/usr/bin/qtvcp", line 511, in <module>
APP = QTVCP()
File "/usr/bin/qtvcp", line 158, in __init__
error = PATH.set_paths(basepath, bool(INIPATH))
File "/usr/lib/python3/dist-packages/qtvcp/qt_pstat.py", line 109, in set_paths
self.HANDLERDIR = os.path.dirname(join(self.HANDLER))
NameError: name 'join' is not defined

(qtvcp:503)
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/bin/qtvcp", line 504, in excepthook
self.shutdown()
File "/usr/bin/qtvcp", line 462, in shutdown
self.panel.window.sync_qsettings()
AttributeError: 'QTVCP' object has no attribute 'panel'

Original exception was:
Traceback (most recent call last):
File "/usr/bin/qtvcp", line 511, in <module>
APP = QTVCP()
File "/usr/bin/qtvcp", line 158, in __init__
error = PATH.set_paths(basepath, bool(INIPATH))
File "/usr/lib/python3/dist-packages/qtvcp/qt_pstat.py", line 109, in set_paths
self.HANDLERDIR = os.path.dirname(join(self.HANDLER))
NameError: name 'join' is not defined
11991
12029
Stopping realtime threads
Unloading hal components
RTAPI_PCI: Unmapped 65536 bytes at 0x7f40bd9aa000
Note: Using POSIX realtime

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

More
30 Aug 2022 03:13 #250751 by cmorley
Yes all caused by the same error.

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

More
30 Aug 2022 04:58 #250754 by RobKin
I downloaded & installed all this today. So just try installing everything again? Cause I'm not sure what upgrading means, there isn't like an option for that in linux right?

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

More
30 Aug 2022 05:01 #250755 by cmorley
How did you install? usually you can update.

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

More
30 Aug 2022 05:29 #250756 by RobKin

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

More
30 Aug 2022 06:20 #250758 by RobKin
Going to try reinstalling again. Maybe try using the latest version of MXlinux.

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

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