← Back to team overview

kicad-developers team mailing list archive

Re: Parse error in one symbol lib prevents subsequent libs loading

 

John,

I would prefer that you always show an error when there is an issue
loading a library rather than only on debug builds.  Please modify your
patch to collect all load failures and display a message after all of
the libraries are loaded.  This way the user will always see the
failure(s) and subsequent libraries will still be loaded in case of a
failure.

Thanks,

Wayne

On 9/23/2016 2:26 PM, John Beard wrote:
> Hi,
> 
> If a symbol library in eeschema fails to load when the libs are
> cached, the IO_ERROR rethrown by that curtails the whole process and
> subsequent libs don't get cached. This isn't vary fair on poor old
> Zilog!
> 
> This patch changes a re-thrown IO_ERROR to a wxASSERT_MSG with the
> same message, so the user can still see the problem, but can elect to
> proceed (or break in their debugger) and load the remaining symbol
> libs.
> 
> Thanks,
> 
> John
> 
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
> 



Follow ups

References