Since BZR4145 - pcbnew: module editor can't handle some libraries anymore

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

Bug Description

Since BZR4145 pcbnew's module editor can't handle my custom footprint libraries anymore - all of them. Those libs were created with various older builds. They show up in the list, but when selected, no parts show up.

Adding parts to a board from those libs is broken as well.

I've attached a stripped down library (just one footprint) that doesn't work anymore.

---

Application: Pcbnew
Version: (2013-05-08 BZR 4145)-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.4-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
madworm (madworm-de-inkscape) wrote :
Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

I must of broke it when I fixed the period (.) in file name problem. I'm on it.

Changed in kicad:
importance: Undecided → High
assignee: nobody → Wayne Stambaugh (stambaughw)
Revision history for this message
madworm (madworm-de-inkscape) wrote :

It must be a filename / path issue.

I just tested a bit and discovered this:

If the library is somewhere in my home folder, and gets added to the library list like '/home/blahblah/.../lib.mod' it doesn't work since 4145. There are no obscure characters in the path.

However, if I copy that library to /usr/share/kicad/modules/ it works!

So the content of the lib is not the crux.

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

I just committed the fix in r4147. I think I tested all of the possible cases but it's possible I missed one. Please let me know if you find any problems with the fix. Thanks for the great bug report.

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

Looks good so far ;-)

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

Bug attachments

Remote bug watches

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