- Posts: 9
- Thank you received: 0
configurator.py throws error when clicking on "create"
6 years 7 months ago #159081
by Christoph
configurator.py throws error when clicking on "create" was created 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...
Best,
Christoph
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:
Attachment not found
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...
Attachment not found
Attachment not found
Best,
Christoph
Please Log in to join the conversation.
6 years 7 months ago #159113
by phillc54
Replied by phillc54 on topic configurator.py throws error when clicking on "create"
In your ini file you have:
It is looking for something like:
More info here linuxcnc.org/docs/devel/html/man/man9/kins.9.html
Code:
[KINS]
KINEMATICS = trivkins
JOINTS = 3
It is looking for something like:
Code:
[KINS]
KINEMATICS = trivkins coordinates=xyz
JOINTS = 3
More info here linuxcnc.org/docs/devel/html/man/man9/kins.9.html
Please Log in to join the conversation.
Time to create page: 0.117 seconds
