configurator.py throws error when clicking on "create"

More
03 Mar 2020 15:37 #159081 by Christoph
Hi,

I tried to run ~/linuxcnc-dev/configs/by_machine/plasmac/configurator.py on linuxcnc 2.9. It shows the dialog, I choose "new" and fill out the dialog as in this picture:



But when I click "create", it throws this error in the command line window:
Traceback (most recent call last):
File "/home/pi/linuxcnc-dev/configs/by_machine/plasmac/configurator.py", line 544, in on_create_clicked
if not self.get_kins_info(self.readIniFile): return
File "/home/pi/linuxcnc-dev/configs/by_machine/plasmac/configurator.py", line 1209, in get_kins_info
a,b = line.lower().strip().replace(' ','').split('coordinates=')
ValueError: need more than 1 value to unpack

And nothing more happens. There are no new files in the folder /home/pi/linuxcnc/configs/Plasmacutter except _original_custom.ini and _original_custom.hal, which are safety copies I think.

I think my ini and hal file is fine, the config is working...

File Attachment:

File Name: custom_2020-03-03.hal
File Size:7 KB

File Attachment:

File Name: custom_2020-03-03.ini
File Size:5 KB


Best,
Christoph
Attachments:

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

More
03 Mar 2020 21:37 #159113 by phillc54
In your ini file you have:
[KINS]
KINEMATICS = trivkins
JOINTS = 3

It is looking for something like:
[KINS]
KINEMATICS = trivkins coordinates=xyz
JOINTS = 3

More info here linuxcnc.org/docs/devel/html/man/man9/kins.9.html

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

More
04 Mar 2020 03:04 #159141 by phillc54
I have pushed a fix for this.

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

Moderators: snowgoer540
Time to create page: 0.084 seconds
Powered by Kunena Forum