Linuxcnc always wants to update my INI file

More
6 years 9 months ago #154161 by Mike_Eitel
I think Version 1.1 must be adapted. A while agoo there was something about it here on the forum
The following user(s) said Thank You: DC67

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

More
6 years 9 months ago #154369 by andypugh
Is this fixed?

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

More
6 years 9 months ago #154413 by DC67
Hello
Not until now. I'm still looking for a solution.

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

More
6 years 9 months ago #154480 by andypugh
What happens if you allow LinuxCNC to update the INI file?

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

More
6 years 9 months ago - 6 years 9 months ago #154531 by DC67
if i try to update i get an error.

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.8.0-pre1-5304-gc20f7ed38
Machine configuration directory is '/home/linuxcnc/linuxcnc/configs/Fenja'
Machine configuration file is 'Fenja.ini'
INIFILE=/home/linuxcnc/linuxcnc/configs/Fenja/Fenja.ini
VERSION=
halfiles =
halpaths =
update script failed in an unexpected way.

Debug file information:
Can not find -sec EMC -var VERSION -num 1
Traceback (most recent call last):
File "/usr/bin/update_ini", line 197, in <module>
all_sections.remove("EMC")
ValueError: list.remove(x): x not in list



Date: Fr 10. Jan 09:26:12 CET 2020
UTC Date: Fr 10. Jan 08:26:12 UTC 2020
this program: /usr/bin/linuxcnc_info
uptime: 09:26:12 up 2 min, 1 user, load average: 0,91, 0,66, 0,27
lsb_release -sa: Debian Debian GNU/Linux 9.11 (stretch) 9.11 stretch
which linuxcnc: /usr/bin/linuxcnc


uname items:
nodename -n: linuxcnc-fraese
kernel-name -s: Linux
kernel-vers -v: #1 SMP PREEMPT RT Debian 4.9.189-3+deb9u2 (2019-11-11)
machine -m: x86_64
processor -p: unknown
platform -i: unknown
oper system -o: GNU/Linux

/proc items:
cmdline: BOOT_IMAGE=/boot/vmlinuz-4.9.0-11-rt-amd64 root=UUID=d181fc0c-5f1c-4a2e-a0e1-6cfc77e43d12 ro quiet isolcpus=1,2,3
model name: Intel(R) Celeron(R) CPU J1900 @ 1.99GHz
cores: 4
cpu MHz: 1999.200
parport:
serial:

Versions:
gcc: gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
python: Python 2.7.13
git: git version 2.11.0
git commit: NA
tcl: 8.6
tk: 8.6
glade: glade 3.20.0
glade-gtk2: not_in_PATH

linuxcnc_var all:

LINUXCNCVERSION: 2.8.0-pre1-5304-gc20f7ed38
LINUXCNC_AUX_GLADEVCP: /usr/share/linuxcnc/aux_gladevcp
LINUXCNC_AUX_EXAMPLES: /usr/share/linuxcnc/aux_examples
REALTIME: /etc/init.d/realtime
RTS: uspace
HALLIB_DIR: /usr/share/linuxcnc/hallib
Last edit: 6 years 9 months ago by DC67.

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

More
6 years 9 months ago #154543 by andypugh
all_sections.remove("EMC")

Interesting. Does your INI file have an [EMC] section?

(I wrote the update_Ini script, and it looks like you have found a bug in it)

Can you attach the current INI and also the oldest one in the "old" directory of the same config directory?

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

Time to create page: 0.188 seconds
Powered by Kunena Forum