- Posts: 34
- Thank you received: 0
Linuxcnc always wants to update my INI file
6 years 9 months ago #154413
by DC67
Replied by DC67 on topic Linuxcnc always wants to update my INI file
Hello
Not until now. I'm still looking for a solution.
Not until now. I'm still looking for a solution.
Please Log in to join the conversation.
6 years 9 months ago #154480
by andypugh
Replied by andypugh on topic Linuxcnc always wants to update my INI file
What happens if you allow LinuxCNC to update the INI file?
Please Log in to join the conversation.
6 years 9 months ago #154531
by DC67
Replied by DC67 on topic Linuxcnc always wants to update my INI file
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
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
Please Log in to join the conversation.
6 years 9 months ago #154543
by andypugh
Replied by andypugh on topic Linuxcnc always wants to update my INI file
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?
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 to join the conversation.
6 years 9 months ago #154597
by DC67
Replied by DC67 on topic Linuxcnc always wants to update my INI file
Here are my ini files
this is may the same as current
this is where i upgraded from.I had moved the old folder v2.7 so that it would not be overwritten or deleted.
This EMC error started when adding probe/toolsensor to the INI .Before i could start linuxcnc without any message for update.
Attachment not found
this is may the same as current
Attachment not found
this is where i upgraded from.I had moved the old folder v2.7 so that it would not be overwritten or deleted.
Attachment not found
This EMC error started when adding probe/toolsensor to the INI .Before i could start linuxcnc without any message for update.
Please Log in to join the conversation.
6 years 9 months ago #154625
by andypugh
Replied by andypugh on topic Linuxcnc always wants to update my INI file
Backtracking a bit:
How are you starting LinuxCNC? This looks a bit like you are starting LinuxCNC in such a way that it is looking at an INI file called "Fenja.ini" and that is not containing any of the expected sections.
If you pick your "current.ini" from the LinuxCNC config picker, do things work better?
Code:
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
How are you starting LinuxCNC? This looks a bit like you are starting LinuxCNC in such a way that it is looking at an INI file called "Fenja.ini" and that is not containing any of the expected sections.
If you pick your "current.ini" from the LinuxCNC config picker, do things work better?
Please Log in to join the conversation.
6 years 9 months ago #154637
by DC67
Replied by DC67 on topic Linuxcnc always wants to update my INI file
Hi
sorry for confusion.
I changed the ini name so that you can see which version is current and which is older. but all are called fenja.ini in the current system
sorry for confusion.
I changed the ini name so that you can see which version is current and which is older. but all are called fenja.ini in the current system
Please Log in to join the conversation.
6 years 9 months ago #154641
by andypugh
Replied by andypugh on topic Linuxcnc always wants to update my INI file
I guessed that the file names were changed. (That’s why I put the substitute file name in quotes).
But whatever file is being run, LinuxCNC is not finding a version or any Hal files.
So something odd seems to be going on.
Are you starting LinuxCNC from the config picker or some other way?
But whatever file is being run, LinuxCNC is not finding a version or any Hal files.
So something odd seems to be going on.
Are you starting LinuxCNC from the config picker or some other way?
Please Log in to join the conversation.
6 years 9 months ago #154643
by DC67
Replied by DC67 on topic Linuxcnc always wants to update my INI file
I start linuxcnc via a desktop shortcut that starts directly with fenja.ini
Please Log in to join the conversation.
Time to create page: 3.257 seconds
