In response to a message written on 09.10.2014 15:59, from Nick Østergaard:
> Hello Daniel
>
> When I try it on a random board of mine testing with a freshly built
> 5171 it fails with:
>
> 12:00:30: Debug: Skipping general section token 'links'
> 12:00:30: Debug: Skipping general section token 'area'
> 12:00:30: Debug: Skipping general section token 'drawings'
> 12:00:30: Debug: Skipping general section token 'tracks'
> 12:00:30: Debug: Skipping general section token 'zones'
> 12:00:30: Debug: Skipping general section token 'symbol'
> Traceback (most recent call last):
> File "pcbPanelize", line 28, in <lambda>
> ui.buttonProceed.connect("clicked", lambda xargs: self.appPanelize())
> File "pcbPanelize", line 193, in appPanelize
> SolMsk=FromMils(4), angle=ui.rfAngle.get_value())
> File "pcbPanelize", line 96, in brdPanel
> self.brdItemize(pcb)
> File "pcbPanelize", line 62, in brdItemize
> Item.remove = False
> AttributeError: 'NoneType' object has no attribute 'remove'
First six „Debug” lines are not from my script.
Searching for regex:'Skipping general section token'...
In:'~/rpm/BUILD/kicad-sources-BZR.5171-main/pcbnew/pcb_parser.cpp':
550: wxLogDebug( wxT( "Skipping general section token %s " ),
Parser ads to objects list some NULL object, which is incorrect/non-sensible.
List can be empty, but cannot have NULLs…
My script on BZR5164 works fine…
--
Best Regards,
LordBlick
_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help : https://help.launchpad.net/ListHelp