- LinuxCNC
- General LinuxCNC Questions
- pncconf from 2.8.0~pre1 vs pncconf from 2.8.0.pre1.4891.gadf1eff73
pncconf from 2.8.0~pre1 vs pncconf from 2.8.0.pre1.4891.gadf1eff73
- BeagleBrainz
- Topic Author
- Visitor
29 Feb 2020 10:13 #158799
by BeagleBrainz
If I install linuxcnc from package built from git on or about 13 Feb and copy pcconf app and /usr/lib/python/dist-packages/pcconf directory from 2.8.0.pre1.4891.gadf1eff73 (from rtai testing from andypugh github) pncconf runs fine and can select firmwares.
To get the pncconf stuff i expand this deb github.com/andypugh/RTAI/releases/downlo...gadf1eff73_amd64.deb
pncconf from 2.8.0~pre1 vs pncconf from 2.8.0.pre1.4891.gadf1eff73 was created by BeagleBrainz
- pncconf from 2.8.0~pre1 has issues if hostmot2 firmware is installed (no issues without except for message saying no firmware installed)
- pncconf from 2.8.0.pre1.4891.gadf1eff73 appears to work as it should
If I install linuxcnc from package built from git on or about 13 Feb and copy pcconf app and /usr/lib/python/dist-packages/pcconf directory from 2.8.0.pre1.4891.gadf1eff73 (from rtai testing from andypugh github) pncconf runs fine and can select firmwares.
To get the pncconf stuff i expand this deb github.com/andypugh/RTAI/releases/downlo...gadf1eff73_amd64.deb
Please Log in or Create an account to join the conversation.
- bbsr_5a
- Offline
- Platinum Member
Less
More
- Posts: 544
- Thank you received: 105
29 Feb 2020 16:46 #158822
by bbsr_5a
Replied by bbsr_5a on topic pncconf from 2.8.0~pre1 vs pncconf from 2.8.0.pre1.4891.gadf1eff73
the wizard is updated nearly every day
Please Log in or Create an account to join the conversation.
- BeagleBrainz
- Topic Author
- Visitor
29 Feb 2020 18:06 #158827
by BeagleBrainz
In what way is this helpful ?
Replied by BeagleBrainz on topic pncconf from 2.8.0~pre1 vs pncconf from 2.8.0.pre1.4891.gadf1eff73
the wizard is updated nearly every day
In what way is this helpful ?
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
Less
More
- Posts: 7780
- Thank you received: 2075
29 Feb 2020 18:13 #158829
by cmorley
What are the issues? error messages? How did you install firmware? What boards are you installing firmware for.
Chris
Replied by cmorley on topic pncconf from 2.8.0~pre1 vs pncconf from 2.8.0.pre1.4891.gadf1eff73
pncconf from 2.8.0~pre1 has issues if hostmot2 firmware is installed (no issues without except for message saying no firmware installed)
What are the issues? error messages? How did you install firmware? What boards are you installing firmware for.
Chris
Please Log in or Create an account to join the conversation.
- BeagleBrainz
- Topic Author
- Visitor
29 Feb 2020 21:53 #158844
by BeagleBrainz
Replied by BeagleBrainz on topic pncconf from 2.8.0~pre1 vs pncconf from 2.8.0.pre1.4891.gadf1eff73
Hi Chris
Error Message:
Running pncconf -d alldev has this up to the point where I select from internal data to 5i23
After clicking Accpet Compoment Changes this is the next message box message
Firmwares source was linuxcnc.org/dists/stretch/base/binary-amd64/
I'm trying to straighten out the images I made for Mint.
One thing of note on my main box & laptop I have Mint 18.3 and have Linuxcnc installed I built from packages from git source from around July of 2019. Those packages have no issues. Best I can give is that the getting stated guide is dated 2019-07-14. Unfortunately linuxcnc_info only gives the version as LINUXCNCVERSION: 2.8.0-pre1~ on the Mint 18.3 Box
The version with the error is 2.8.0-pre1-5437-g8882fd41c on Linux Mint 19.2
Error Message:
PNCconf encountered an error. The following information may be useful in troubleshooting:
LinuxCNC Version: UNAVAILABLE
Traceback (most recent call last):
File "/usr/bin/pncconf", line 1989, in on_mesa_boardname_changed
self.fill_firmware(boardnum)
File "/usr/bin/pncconf", line 1998, in fill_firmware
self.mesa_firmware_search(title)
File "/usr/bin/pncconf", line 895, in mesa_firmware_search
self._p.FIRMDIR,boardtitle,currentfirm+".xml"))
File "/usr/bin/pncconf", line 943, in parse_xml
meta = self.get_board_meta(currentboard)
NameError: global name 'currentboard' is not defined
Running pncconf -d alldev has this up to the point where I select from internal data to 5i23
rmurphy@VBox-M90P:~/hostmot2-firmware$ pncconf -d alldev
alldev
PNCconf debug alldev
loading glade page REFERENCE:start TITLE:Start INIT STATE: True STATE:True
loading glade page REFERENCE:base TITLE:Base Information INIT STATE: True STATE:True
loading glade page REFERENCE:screen TITLE:Screen INIT STATE: True STATE:True
loading glade page REFERENCE:vcp TITLE:VCP INIT STATE: True STATE:True
loading glade page REFERENCE:external TITLE:External Controls INIT STATE: True STATE:True
loading glade page REFERENCE:mesa0 TITLE:Mesa Card 0 INIT STATE: False STATE:True
loading glade page REFERENCE:mesa1 TITLE:Mesa Card 1 INIT STATE: False STATE:True
loading glade page REFERENCE:pport1 TITLE:Parallel Port INIT STATE: False STATE:True
loading glade page REFERENCE:pport2 TITLE:Parallel Port 2 INIT STATE: False STATE:True
loading glade page REFERENCE:x_motor TITLE:X Motor INIT STATE: True STATE:True
loading glade page REFERENCE:x_axis TITLE:X Axis INIT STATE: True STATE:True
loading glade page REFERENCE:y_motor TITLE:Y Motor INIT STATE: True STATE:True
loading glade page REFERENCE:y_axis TITLE:Y Axis INIT STATE: True STATE:True
loading glade page REFERENCE:z_motor TITLE:Z Motor INIT STATE: True STATE:True
loading glade page REFERENCE:z_axis TITLE:Z Axis INIT STATE: True STATE:True
loading glade page REFERENCE:a_motor TITLE:A Motor INIT STATE: True STATE:True
loading glade page REFERENCE:a_axis TITLE:A Axis INIT STATE: True STATE:True
loading glade page REFERENCE:s_motor TITLE:Spindle Motor INIT STATE: True STATE:True
loading glade page REFERENCE:options TITLE:Options INIT STATE: True STATE:True
loading glade page REFERENCE:realtime TITLE:Realtime INIT STATE: True STATE:True
loading glade page REFERENCE:finished TITLE:Almost Done INIT STATE: True STATE:True
FWD search 1,start,Start,True,True,of 21 pages
set 1 current
FWD search 2,base,Base Information,True,True,of 21 pages
page_set_state() ['options', 'external', 'realtime'] ,False
external State changed to False
options State changed to False
realtime State changed to False
****folder added :5i20
****folder added :3x20-1
****folder added :5i22-1
****folder added :5i22-1.5
****folder added :7i43-2
****folder added :7i43-4
****folder added :5i23
set 2 current
FWD search 3,screen,Screen,True,True,of 21 pages
page_set_state() mesa1 ,False
mesa1 State changed to False
page_set_state() x_axis ,True
x_axis State changed to True
page_set_state() x_motor ,True
x_motor State changed to True
page_set_state() s_axis ,True
page_set_state() s_motor ,True
s_motor State changed to True
page_set_state() y_axis ,True
y_axis State changed to True
page_set_state() y_motor ,True
y_motor State changed to True
page_set_state() s_axis ,True
page_set_state() s_motor ,True
s_motor State changed to True
page_set_state() z_axis ,True
z_axis State changed to True
page_set_state() z_motor ,True
z_motor State changed to True
page_set_state() s_axis ,True
page_set_state() s_motor ,True
s_motor State changed to True
page_set_state() a_axis ,False
a_axis State changed to False
page_set_state() a_motor ,False
a_motor State changed to False
page_set_state() s_axis ,True
page_set_state() s_motor ,True
s_motor State changed to True
page_set_state() pport1 ,False
pport1 State changed to False
page_set_state() pport2 ,False
pport2 State changed to False
set 3 current
FWD search 4,vcp,VCP,True,True,of 21 pages
set 4 current
FWD search 5,external,External Controls,True,False,of 21 pages
Page external skipped
FWD search 6,mesa0,Mesa Card 0,False,True,of 21 pages
Loading page mesa0
**** INFO firmware 0 changed
Looking for firmware data 7i76x2 -With One 7i76
0,7i76x2
1,7i76x2 -With One 7i76
**** INFO firmware 0 changed
found firmware # 1
set 6 current
SVST8_4IM2.xml
TPEN6_6.xml
SVST8_8IM2.xml
SVST8_4.xml
SVTP6_7I39.xml
SVST2_4_7I47.xml
SV12.xml
SVST4_8.xml
XML list:['SVST8_4IM2', 'TPEN6_6', 'SVST8_8IM2', 'SVST8_4', 'SVTP6_7I39', 'SVST2_4_7I47', 'SV12', 'SVST4_8']
After clicking Accpet Compoment Changes this is the next message box message
PNCconf encountered an error. The following information may be useful in troubleshooting:
LinuxCNC Version: UNAVAILABLE
Traceback (most recent call last):
File "/usr/bin/pncconf", line 2352, in on_mesa_component_value_changed
self.set_mesa_options(boardnum,title,firmware,numofpwmgens,numoftppwmgens,numofstepgens,numofencoders,numofsserialports,numofsserialchannels)
File "/usr/bin/pncconf", line 2380, in set_mesa_options
dbg('current firmware:\n%r'%self._p.MESA_FIRMWAREDATA[search],mtype='curfirm')
UnboundLocalError: local variable 'search' referenced before assignment
Firmwares source was linuxcnc.org/dists/stretch/base/binary-amd64/
Setting up hostmot2-firmware-7i43-4 (0.8.21.g5be856c) ...
Setting up hostmot2-firmware-4i65 (0.8.21.g5be856c) ...
Setting up hostmot2-firmware-5i23 (0.8.21.g5be856c) ...
Setting up hostmot2-firmware-4i68 (0.8.21.g5be856c) ...
Setting up hostmot2-firmware-5i20 (0.8.21.g5be856c) ...
Setting up hostmot2-firmware-5i22-1 (0.8.21.g5be856c) ...
Setting up hostmot2-firmware-7i43-2 (0.8.21.g5be856c) ...
Setting up hostmot2-firmware-3x20-1 (0.8.21.g5be856c) ...
Setting up hostmot2-firmware-5i22-1.5 (0.8.21.g5be856c) ...
Setting up hostmot2-firmware-all (0.8.21.g5be856c)
I'm trying to straighten out the images I made for Mint.
One thing of note on my main box & laptop I have Mint 18.3 and have Linuxcnc installed I built from packages from git source from around July of 2019. Those packages have no issues. Best I can give is that the getting stated guide is dated 2019-07-14. Unfortunately linuxcnc_info only gives the version as LINUXCNCVERSION: 2.8.0-pre1~ on the Mint 18.3 Box
The version with the error is 2.8.0-pre1-5437-g8882fd41c on Linux Mint 19.2
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
Less
More
- Posts: 7780
- Thank you received: 2075
29 Feb 2020 22:00 #158845
by cmorley
Replied by cmorley on topic pncconf from 2.8.0~pre1 vs pncconf from 2.8.0.pre1.4891.gadf1eff73
thanks for the info - i haven't tested that type of firmware loading in a long time - most people use the newer versions of mesa cards.
I'll look into it.
Chris
I'll look into it.
Chris
The following user(s) said Thank You: BeagleBrainz
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
Less
More
- Posts: 7780
- Thank you received: 2075
29 Feb 2020 22:21 #158846
by cmorley
Replied by cmorley on topic pncconf from 2.8.0~pre1 vs pncconf from 2.8.0.pre1.4891.gadf1eff73
If you change line 943 from:
to;
That should fix it.
I'll push the fix - if you can confirm..
Chris
meta = self.get_board_meta(currentboardname)
to;
meta = self.get_board_meta(boardname)
That should fix it.
I'll push the fix - if you can confirm..
Chris
The following user(s) said Thank You: BeagleBrainz
Please Log in or Create an account to join the conversation.
- BeagleBrainz
- Topic Author
- Visitor
29 Feb 2020 22:21 - 29 Feb 2020 22:32 #158847
by BeagleBrainz
Replied by BeagleBrainz on topic pncconf from 2.8.0~pre1 vs pncconf from 2.8.0.pre1.4891.gadf1eff73
I'm just trying to dot all the Is and cross all the Ts.
If they aren't really needed I can remove those firmwares.
Seems to fix the issue, no way to test but I'll post the ini & hal if that's any help
If they aren't really needed I can remove those firmwares.
Seems to fix the issue, no way to test but I'll post the ini & hal if that's any help
Last edit: 29 Feb 2020 22:32 by BeagleBrainz. Reason: Tested fix
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
Less
More
- Posts: 7780
- Thank you received: 2075
29 Feb 2020 22:24 #158848
by cmorley
Replied by cmorley on topic pncconf from 2.8.0~pre1 vs pncconf from 2.8.0.pre1.4891.gadf1eff73
They are if one uses the older boards 5120,7i43 etc that load firmware each time they start.
Chris
Chris
The following user(s) said Thank You: BeagleBrainz
Please Log in or Create an account to join the conversation.
- LinuxCNC
- General LinuxCNC Questions
- pncconf from 2.8.0~pre1 vs pncconf from 2.8.0.pre1.4891.gadf1eff73
Time to create page: 0.101 seconds