Schematic Library could not be opened

Does anyone running into loading schematic issues lately.
This library (the only library I have been using for years) suddenly just doesn’t load and throwing error whenever a schematic file is open or when trying to set them under configure library path. PCB footprint is working normally.

failed to load. Error:
IO_ERROR: The file could not be opened.
from class_library.cpp : LoadLibrary() line:655

Currently on:

Application: kicad
Version: 201611132049+7352~55~ubuntu16.04.1-product, release build
Libraries: wxWidgets 3.0.2
libcurl/7.47.0 OpenSSL/1.0.2g zlib/1.2.8 libidn/1.32 librtmp/2.3
Platform: Linux 4.4.0-47-generic x86_64, 64 bit, Little endian, wxGTK

  • Build Info -
    wxWidgets: 3.0.2 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.58.0
    Curl: 7.47.0
    KiCad - Compiler: GCC 5.4.0 with C++ ABI 1009
    Settings: USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_WXPYTHON=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_SCH_IO_MANAGER=OFF
    KICAD_USE_OCE=ON

On another note, if I were to move the library into “/usr/share/kicad/library”, it can be loaded! So, I guess this has to do with path not file related.

Sounds like a bug with the path-parsing part of that code really… you should hit the bugtracker with this if you can.

It has been fixed few hours ago after an update just before I wanted to submit a bug report.

2 Likes