CvPcb BZR4193: filter list - library path issue

Bug #1188321 reported by madworm
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
High
Wayne Stambaugh

Bug Description

Footprint libraries that are not in the default folder '/usr/share/kicad/modules/' are not handled well by 'filter by library'.

Once said filter is active, the parts-list is empty.

---

Application: CvPcb
Version: (2013-06-06 BZR 4193)-testing
Build: wxWidgets 2.8.12 (no debug,Unicode,compiler with C++ ABI 1002,GCC 4.7.2,STL containers,compatible with 2.6)
Platform: Linux 3.7.10-1.11-desktop x86_64, 64 bit, Little endian, wxGTK
Boost version: 1.53.0
Options: USE_PCBNEW_NANOMETRES=ON
         KICAD_GOST=OFF
         USE_WX_GRAPHICS_CONTEXT=OFF
         USE_WX_OVERLAY=OFF
         KICAD_SCRIPTING=OFF
         KICAD_SCRIPTING_MODULES=OFF
         KICAD_SCRIPTING_WXPYTHON=OFF

Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

Is the library a fully qualified path and file name shown in the "Footprint library files" list in the libraries dialog? This is the only way I can duplicate this error. If the just library name is in the "Footprint library files" list and the the path to the library is in the "Current search path list" (either relative or absolute), then everything works fine for me.

Revision history for this message
madworm (madworm-de-inkscape) wrote :

Yes, the full path '/home/.../libname.mod' is shown.

Changed in kicad:
assignee: nobody → Wayne Stambaugh (stambaughw)
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

I just committed the fix in r4196. Please test it when you get chance so I can confirm the problem is resolved.

Changed in kicad:
status: Confirmed → Fix Committed
Revision history for this message
madworm (madworm-de-inkscape) wrote :

It works fine now.

Thanks for the quick fix.

Revision history for this message
metRo_ (josescxavier) wrote :

Hi,
It is happening to me right now on version 2014-02-28 BZR 4729, should I create a new but or it is ok to let you know here?

Revision history for this message
Kadal Amutham (vkadal) wrote :

I changed the path as per the attached image and the issue of CvPCB error is resloved

Revision history for this message
lsmod (forum+ubuntu) wrote :

I am sorry - but i have the same problem.

I just want to use an own old library myname.mod that is placed under /srv/KiCad.
But i can enter want i want - set any environment variable as possible but the components are not shown!

KiCad is absolutely great!
But for this tool Cvpcb i could find no help or documentation and the settings are not understandable!

Revision history for this message
lsmod (forum+ubuntu) wrote :

Makink simple things so complicated that they will not work.

Changed in kicad:
status: Fix Committed → New
Revision history for this message
lsmod (forum+ubuntu) wrote :

I have forgotten to write that i am using Build 2014-08-05 BZR 5054

Revision history for this message
lsmod (forum+ubuntu) wrote :

Besides

The button for the settings is without any function.

On my PC calibre is opened when i click on the button documentation of the footprints ???

Revision history for this message
Wayne Stambaugh (stambaughw) wrote : Re: [Bug 1188321] Re: CvPcb BZR4193: filter list - library path issue

On 3/6/2015 1:22 PM, lsmod wrote:
> Makink simple things so complicated that they will not work.
>
> ** Attachment added: "Shot51.png"
> https://bugs.launchpad.net/kicad/+bug/1188321/+attachment/4336447/+files/Shot51.png
>
> ** Changed in: kicad
> Status: Fix Committed => New
>
This is not the same bug as the original post. Please do not post over
top of an existing bug unless you are sure it's the same bug. In fact,
this bug was fixed and is the reason the footprint library table that
you are currently using was created. Your problem is that you have made
two mistakes. You have not include myname.mod in the path and you have
selected the wrong library type. The "KiCad" library type selection is
for the new "pretty" file format (.kicad_mod). You need to select the
"Legacy" library type for .mod files. This is documented in both the
CvPcb and Pcbnew reference manual. Although in your case, the
translation may not be up to date.

Changed in kicad:
status: New → Fix Committed
Revision history for this message
lsmod (forum+ubuntu) wrote :

Thank you - now it works.

For other users:
1. Write your file with complete path in "Library path" e.g. /srv/KiCad/mylibrary.mod
2. Select "Plugin Type" Legacy

Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

On 3/7/2015 5:37 AM, lsmod wrote:
> Thank you - now it works.
>
> For other users:
> 1. Write your file with complete path in "Library path" e.g. /srv/KiCad/mylibrary.mod

Only for libraries that have multiple footprints in a single file. For
libraries that are one footprint per file (KiCad pretty and gEDA), use
the path only.

> 2. Select "Plugin Type" Legacy

Only for old KiCad .mod files. Always use the appropriate plugin type
for the footprint library.

>

Jon Neal (reportingsjr)
Changed in kicad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.