pncconf error on Buster and 2.8.0~pre with 7i76e (Version: UNAVAILABLE)

More
30 Sep 2019 03:29 #146673 by acondit
I am trying to run pncconf under Buster with linuxcnc 2.8.0~pre. When I get to the "done" button it reports
LinuxCNC Version: UNAVAILABLE

The first time through it created "my_LinuxCNC_machine.pncconf" and saved it but any subsequent attempt to modify it results in the error message "LinuxCNC Version: UNAVAILABLE".

I don't have an extra ethernet port at the moment so the 7i76e is not connected, so, I know that I can't test anything but it seems like I should still be able to save the modified config. I have ordered a usb3.0 to gigabit ethernet adapter so that I can dedicate the on board port to the 7i76e and run ssh over the adapter, but I don't want to mess with the basic ethernet configuration until the adapter arrives.

Am I correct that I should be able to modify the config even though I can't test it yet? (It appears to be actually saving the changes before it reports the error.) So maybe I am worrying about nothing.

Alan

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

More
30 Sep 2019 04:55 #146676 by cmorley
can you run pncconf from the terminal and see if it gives a better error message.

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

More
30 Sep 2019 18:15 #146736 by acondit
Chris,

Here is the entire text from the dialog.
PNCconf encountered an error. The following information may be useful in troubleshooting:

LinuxCNC Version: UNAVAILABLE

Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pncconf/pages.py", line 111, in on_button_fwd_clicked
self()
File "/usr/lib/python2.7/dist-packages/pncconf/pages.py", line 1393, in finished_finish
self.a.buid_config()
File "/usr/bin/pncconf", line 311, in buid_config
self.HAL.write_halfile(base)
File "/usr/lib/python2.7/dist-packages/pncconf/build_HAL.py", line 351, in write_halfile
self.connect_output(file)
File "/usr/lib/python2.7/dist-packages/pncconf/build_HAL.py", line 1721, in connect_output
write_pins(pname,p,i,t,boardnum,None,port,channel,pin)
File "/usr/lib/python2.7/dist-packages/pncconf/build_HAL.py", line 1589, in write_pins
if "parport" in pinname:
TypeError: argument of type 'NoneType' is not iterable

and here is the text from the ssh console:
**** INFO firmware 0 changed
found a sserial channel
s-stepgen-step None
s-pwm-pulse None
s-encoder-a mesa0c1pin16
/home/acondit/linuxcnc/configs/my_LinuxCNC_machine
/home/acondit/.pncconf-preferences
x False None None
tandem: False
y False None None
z False None None
x False None None
y False None None
z False None None
x False None None
y False None None
z False None None
s False None None

Is this any help?

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

More
30 Sep 2019 18:34 #146738 by cmorley
yes posting the error message helps.
Could you also post your .pncconf file too?

I haven't been able to reproduce the error yet.

Chris

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

More
30 Sep 2019 18:46 #146740 by acondit

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

More
30 Sep 2019 18:51 #146742 by acondit
Here is the pncconf files

File Attachment:

File Name: my_LinuxCN....pncconf
File Size:308 KB
Attachments:

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

More
30 Sep 2019 20:16 #146759 by cmorley
I pushed a fix for this - might take a couple hours for builbot to make new packages.

Thanks for the report

Chris

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

More
30 Sep 2019 20:29 #146764 by acondit
Thanks Chris,

I am running this on my RockPro64 (arm64) so I will have to sync with git and recompile locally.

Alan

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

More
30 Sep 2019 20:36 #146766 by cmorley
Ok then it will be available now.

Chris

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

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