← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] LIB_TABLE tweaks

 

Where did you get your symbol library table file from?
${KICAD_SYS_SYMBOL_DIR} is not correct.  It should be
${KICAD_SYMBOL_DIR}.  This is the environment variable used in the
default library table at
https://github.com/KiCad/kicad-library/blob/master/template/sym-lib-table


On 11/15/2017 12:05 PM, Fabrizio Tappero wrote:
> Hi,
> I am not sure what the problem is but after a recent nightly build
> update I have lost all my schematic libs. This is the lib table config
> 
> ​Inline image 1​
> 
> all lib files are in /usr/share/kicad/library but when I add components
> to a new schematic no libraries gets loaded.
> 
> Can anybody help?
> 
> cheers
> Fabrizio
> 
> 
> 
> On Wed, Nov 15, 2017 at 3:42 PM, Wayne Stambaugh <stambaughw@xxxxxxxxx
> <mailto:stambaughw@xxxxxxxxx>> wrote:
> 
>     Gentlemen,
> 
>     I'm not sure about breaking the library table file format for the
>     version 5 release.  If we do, the footprint library table will not be
>     compatible with older versions.  I would prefer that we push this change
>     into version 6.
> 
>     I'm OK with the progress dialog.  If you split that out as separate
>     patch, I will merge it.
> 
>     Cheers,
> 
>     Wayne
> 
>     On 11/15/2017 9:38 AM, Tomasz Wlostowski wrote:
>     > On 15/11/17 15:30, Maciej Suminski wrote:
>     >> Hi Oliver,
>     >>
>     >> Thank you for restoring the progress bar dialog. While the
>     library load
>     >> time has recently decreased a lot, the UI freeze still happens
>     with long
>     >> library lists.
>     >> Disclaimer: I have not looked at the code yet, I am just praising
>     the idea.
>     >>
>     >> As you are looking on the Symbol Library Table dialog, I suppose you
>     >> might be also tempted to add a file browser to add new libraries. If
>     >> that is the case, please refrain from doing so - it is done in the
>     >> library editor refactor branch. If you had no such intention, then
>     >> simply ignore this message.
>     >
>     > Hi Olivier & Orson,
>     >
>     > I partially implemented the simplified dialog I proposed on the
>     dev list
>     > a few days ago. Would anyone be interested in helping me finish it?
>     >
>     > Tom
>     >
>     >>
>     >> Cheers,
>     >> Orson
>     >>
>     >> On 15/11/2017 12:41 PM, Oliver Walters wrote:
>     >>> Wayne, et al,
>     >>>
>     >>> I am really liking the way that the new symbol table works!
>     Thanks for
>     >>> the huge effort that has gone into this.
>     >>>
>     >>> One thing that I have noticed is that when opening (for e.g.) the
>     >>> component chooser, the UI hangs while all the libraries load.
>     Previously
>     >>> there was a progress dialog which at least informed the user
>     what was
>     >>> going on.
>     >>>
>     >>> I have re-implemented this dialog in the attached patch set.
>     >>>
>     >>> Further, I have also implemented a way to individually enable /
>     disable
>     >>> each row in the library tables (this works for SYMBOL_LIB and
>     FP_LIB).
>     >>>
>     >>> This is based on the idea by Tomasz. Example screenshot below:
>     >>>
>     >>> Inline image 1
>     >>>
>     >>> I have tweaked the base LIB_TABLE_GRID code such that disabled
>     entries
>     >>> are greyed out and made italic. The enabled / disabled status is
>     >>> persistent in the sym/fp_lib_table files. Older version of
>     xxx_lib_table
>     >>> files are read with all rows enabled by default.
>     >>>
>     >>> Please find patch set attached.
>     >>>
>     >>> Regards,
>     >>> Oliver
>     >>>
>     >>>
>     >>>
>     >>> _______________________________________________
>     >>> Mailing list: https://launchpad.net/~kicad-developers
>     <https://launchpad.net/~kicad-developers>
>     >>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>     <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>     >>> Unsubscribe : https://launchpad.net/~kicad-developers
>     <https://launchpad.net/~kicad-developers>
>     >>> More help   : https://help.launchpad.net/ListHelp
>     <https://help.launchpad.net/ListHelp>
>     >>>
>     >>
>     >> _______________________________________________
>     >> Mailing list: https://launchpad.net/~kicad-developers
>     <https://launchpad.net/~kicad-developers>
>     >> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>     <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>     >> Unsubscribe : https://launchpad.net/~kicad-developers
>     <https://launchpad.net/~kicad-developers>
>     >> More help   : https://help.launchpad.net/ListHelp
>     <https://help.launchpad.net/ListHelp>
>     >
>     >
>     > _______________________________________________
>     > Mailing list: https://launchpad.net/~kicad-developers
>     <https://launchpad.net/~kicad-developers>
>     > Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>     <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>     > Unsubscribe : https://launchpad.net/~kicad-developers
>     <https://launchpad.net/~kicad-developers>
>     > More help   : https://help.launchpad.net/ListHelp
>     <https://help.launchpad.net/ListHelp>
>     >
> 
>     _______________________________________________
>     Mailing list: https://launchpad.net/~kicad-developers
>     <https://launchpad.net/~kicad-developers>
>     Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>     <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>     Unsubscribe : https://launchpad.net/~kicad-developers
>     <https://launchpad.net/~kicad-developers>
>     More help   : https://help.launchpad.net/ListHelp
>     <https://help.launchpad.net/ListHelp>
> 
> 


References