Whats wrong with my .xml file?
- Andreas_Rackow
- Offline
- New Member
-
Less
More
- Posts: 17
- Thank you received: 0
25 Dec 2021 15:16 - 26 Dec 2021 13:16 #229961
by Andreas_Rackow
Whats wrong with my .xml file? was created by Andreas_Rackow
in pncconf the 5i25 shows up only as 5i25-Internal Data.No problem, there is a thread about this issue and I followed the instruction there. Then I copied all .xml files from the firmware folder provided from Mesanet and all was well.Really a lot of firmware to chose from. Next step was running mesaflash --device 5i25 --readhmid --xml and copying the output into a file and then load it to lib/firmware/hm2/5i25.Since then, pncconf gives me an error message like this when I try to pick a firmware;.raceback (most recent call last): File "/usr/bin/pncconf", line 2027, in on_mesa_boardname_changed self.fill_firmware(boardnum) File "/usr/bin/pncconf", line 2045, in fill_firmware if not d[self._p._BOARDTITLE] == title:continueTypeError: 'NoneType' object has no attribute '__getitem__'no idea what that means,but I think my .xml file is somewhat wrong can somebody help me?BTW.merry Christmas
edit I changed the xml file
edit I changed the xml file
Last edit: 26 Dec 2021 13:16 by Andreas_Rackow.
Please Log in or Create an account to join the conversation.
04 Jan 2022 13:12 #230755
by andypugh
Replied by andypugh on topic Whats wrong with my .xml file?
At a guess it might not be finding the file where it expects to find it:
github.com/LinuxCNC/linuxcnc/blob/2.8/sr...onf/pncconf.py#L2038
The error message hints that "d" is empty at that point.
What version of LinuxCNC are you using? the line referenced is not 2045 in either master or 2.8.
github.com/LinuxCNC/linuxcnc/blob/2.8/sr...onf/pncconf.py#L2038
The error message hints that "d" is empty at that point.
What version of LinuxCNC are you using? the line referenced is not 2045 in either master or 2.8.
Please Log in or Create an account to join the conversation.
- Andreas_Rackow
- Offline
- New Member
-
Less
More
- Posts: 17
- Thank you received: 0
04 Jan 2022 20:26 #230796
by Andreas_Rackow
Replied by Andreas_Rackow on topic Whats wrong with my .xml file?
I am running 2.8.2
Please Log in or Create an account to join the conversation.
04 Jan 2022 23:06 #230804
by andypugh
The problem is that the xml contains a number of empty "secondaryfunctionname" tags, like
If you do a find and replace to
Then it seems to work.
Replied by andypugh on topic Whats wrong with my .xml file?
OK, I fired up 2.8.2 and tried to use your xml file.I am running 2.8.2
The problem is that the xml contains a number of empty "secondaryfunctionname" tags, like
<secondaryfunctionname></secondaryfunctionname>
If you do a find and replace to
<secondaryfunctionname>0</secondaryfunctionname>
Then it seems to work.
Please Log in or Create an account to join the conversation.
- Andreas_Rackow
- Offline
- New Member
-
Less
More
- Posts: 17
- Thank you received: 0
05 Jan 2022 05:45 #230828
by Andreas_Rackow
Replied by Andreas_Rackow on topic Whats wrong with my .xml file?
Ok, that sounds like a hint.
I try that.
I try that.
Please Log in or Create an account to join the conversation.
- Andreas_Rackow
- Offline
- New Member
-
Less
More
- Posts: 17
- Thank you received: 0
05 Jan 2022 20:13 #230892
by Andreas_Rackow
Replied by Andreas_Rackow on topic Whats wrong with my .xml file?
Problem solved. This thread did for me.
forum.linuxcnc.org/39-pncconf/39650-mesa...patible-with-pncconf
thank you
forum.linuxcnc.org/39-pncconf/39650-mesa...patible-with-pncconf
thank you
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.131 seconds