← Back to team overview

kicad-developers team mailing list archive

Re: IO_ERRORs in Kicad OSX Nightlies, fp-lib-table from extras.dmg

 

Should be fixed.  It'll get picked up in tonight's nightlies, and all
you'll have to do is grab the new extras dmg.

I triggered a new build, but it'll be a while (3ish hours), otherwise
midnight tonight.

Adam Wolf
Cofounder and Engineer
W&L

On Mon, Mar 2, 2015 at 10:43 AM, Adam Wolf <adamwolf@xxxxxxxxxxxxxxxxxxxx>
wrote:

> Thanks, working on it.
>
> Adam Wolf
> Cofounder and Engineer
> W&L
>
> On Mon, Mar 2, 2015 at 10:13 AM, Johannes Maibaum <jmaibaum@xxxxxxxxx>
> wrote:
>
>> Hi,
>>
>> I came across the following error when trying to load footprints in
>> PCBnew today:
>>
>>   Errors were encountered loading footprints
>>   IO_ERROR: footprint library path '/Library/Application
>>   Support/kicad/modules/Air_Coils_SML_NEOSID.pretty' does not exist
>>   from
>> /Users/jenkins/remoteroot/workspace/KiCadBuildMac/kicad/pcbnew/kicad_plugin.cpp
>> :
>>   FootprintEnumerate() : line 1804
>>   IO_ERROR: footprint library path '/Library/Application
>>   Support/kicad/modules/Buttons_Switches_SMD.pretty' does not exist
>>   from
>> /Users/jenkins/remoteroot/workspace/KiCadBuildMac/kicad/pcbnew/kicad_plugin.cpp
>> :
>>   FootprintEnumerate() : line 1804
>>   IO_ERROR: footprint library path '/Library/Application
>>   Support/kicad/modules/Transistors_TO-220.pretty' does not exist
>>   from
>> /Users/jenkins/remoteroot/workspace/KiCadBuildMac/kicad/pcbnew/kicad_plugin.cpp
>> :
>>   FootprintEnumerate() : line 1804
>>   IO_ERROR: footprint library path '/Library/Application
>>   Support/kicad/modules/Buttons_Switches_ThroughHole.pretty' does not
>> exist
>>   from
>> /Users/jenkins/remoteroot/workspace/KiCadBuildMac/kicad/pcbnew/kicad_plugin.cpp
>> :
>>   FootprintEnumerate() : line 1804
>>   IO_ERROR: footprint library path '/Library/Application
>>   Support/kicad/modules/Transistors_TO-247.pretty' does not exist
>>   from
>> /Users/jenkins/remoteroot/workspace/KiCadBuildMac/kicad/pcbnew/kicad_plugin.cpp
>> :
>>   FootprintEnumerate() : line 1804
>>
>> A quick search in the Bugtracker shows that is related to:
>> https://bugs.launchpad.net/kicad/+bug/1426754
>>
>> In my case, however, I don't think that a wrong setting of KISYSMOD is
>> the cause, but rather
>> that there is a mismatch between the path string *after* the KISYSMOD
>> part in the fp-lib-
>> table, and the actual structure of the libraries in the extras bundle.
>> Take, for example, the
>> first IO_ERROR, it says:
>>
>>   IO_ERROR: footprint library path '/Library/Application
>>   Support/kicad/modules/Air_Coils_SML_NEOSID.pretty' does not exist
>>
>> The corresponding line from the fp-lib-table looks like this:
>>
>>     (lib (name Air_Coils_SML_NEOSID)(type KiCad)(uri
>> ${KISYSMOD}/Air_Coils_SML_NEOSID.pretty)(options "")(descr
>> HAMxx31A_HDMxx31A))
>>
>> So, KISYSMOD seems to be set correctly to "/Library/Application
>> Support/kicad/modules", but inside there is simply no folder called
>> "Air_Coils_SML_NEOSID.pretty". Instead, all the
>> .kicad_mod files from this sub-library are located *directly* inside
>> modules/:
>>
>>   Johannes-Maibaums-MacBook-Pro:kicad jm$ pwd; find . -name
>> Neosid_Air-\*.kicad_mod
>>   /Library/Application Support/kicad
>>   ./modules/Neosid_Air-Coil_SML_1turn_HDM0131A.kicad_mod
>>   ./modules/Neosid_Air-Coil_SML_2turn_HAM0231A.kicad_mod
>>   ./modules/Neosid_Air-Coil_SML_2turn_HDM0231A.kicad_mod
>>   ./modules/Neosid_Air-Coil_SML_3turn_HAM0331A.kicad_mod
>>   ./modules/Neosid_Air-Coil_SML_3turn_HDM0331A.kicad_mod
>>   ./modules/Neosid_Air-Coil_SML_4turn_HAM0431A.kicad_mod
>>   ./modules/Neosid_Air-Coil_SML_4turn_HDM0431A.kicad_mod
>>   ./modules/Neosid_Air-Coil_SML_5turn_HAM0531A.kicad_mod
>>   ./modules/Neosid_Air-Coil_SML_5turn_HDM0531A.kicad_mod
>>   ./modules/Neosid_Air-Coil_SML_6-10turn_HDM0431A-HDM1031A.kicad_mod
>>   ./modules/Neosid_Air-Coil_SML_6turn-10turn_HAM0631A-HAM1031A.kicad_mod
>>   ./modules/Neosid_Air-Coil_SML_6turn_HAM0631A.kicad_mod
>>
>> This also holds true for all other footprint libraries: in the
>> fp-lib-table, they are listed
>> in to be in their respective *.pretty sub folders, but actually, they are
>> directly located
>> inside the modules/ folder.
>>
>> This issue seems to be existing since the first official nightly, as I
>> also checked both the
>> first available extras.dmg (from February 20) and the one from today
>> (March 2), both their
>> modules/ folders look the same in this respect, so this issue seems to be
>> existing from the
>> beginning.
>>
>> I think the modules/ folder inside the extras needs to be rearranged to
>> contain all libraries
>> inside their subfolders with the ".pretty" postfix, as stated in the
>> fp-lib-table.
>>
>>
>> Best,
>> Johannes
>>
>> _______________________________________________
>> 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