eeschema: remap fail on symbols with deprecated chars in name

Bug #1811275 reported by Sergey A. Borshch on 2019-01-10
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Wishlist
Unassigned

Bug Description

Previous kicad version allow chars like slash ('/') in symbol name. After some upgrade all such chars was deprecated and silently(!) replaced with underscore in library files. Seems like remap procedure on opening old schematics replaces slash by underscore but unable to find translated name in libraries and creates copy from cache-lib in rescue library, although symbol with translated name exist in global library. Example: symbol 74HC595/SO in old schematics remaps to project_name-rescue:74HC595_SO while 74HC595_SO exist in global library.

version info:
Application: eeschema
Version: (6.0.0-rc1-dev-1481-g5e70534-dirty), release build
Libraries:
    wxWidgets 3.0.2
Platform: Linux 4.4.0-138-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.2 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.58.0
    Compiler: GCC 5.4.0 with C++ ABI 1009

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=OFF
    KICAD_SCRIPTING_MODULES=OFF
    KICAD_SCRIPTING_PYTHON3=OFF
    KICAD_SCRIPTING_WXPYTHON=OFF
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
    KICAD_SCRIPTING_ACTION_MENU=OFF
    BUILD_GITHUB_PLUGIN=OFF
    KICAD_USE_OCE=OFF
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON

description: updated
Wayne Stambaugh (stambaughw) wrote :

This is not a bug unless the symbol is not showing up in your schematic. This had to be done in order to support the new library ID which cannot handle ':' and '/' characters in symbol names. It's been this was since 5.0.0 was released. Once the new schematic and symbol library file formats are implemented, this issue will be resolved.

Changed in kicad:
status: New → Triaged
importance: Undecided → Wishlist
milestone: none → 6.0.0-rc1
Sergey A. Borshch (sb-sf) wrote :

Yes, I understand that '/' character is deprecated. I don't understand why it is impossible to search modified name (e.g. name with '/' replaced by '_') in library?

Sergey A. Borshch (sb-sf) wrote :

It's quite annoying to search whole schematics for all elements mapped to project_name-rescue lib and manually replace project_name-rescue to actual global lib name.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers