The environment variable substitution is not work in Symbol Library Editor

Bug #1818220 reported by Oleg Samotkov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Undecided
Seth Hillbrand

Bug Description

Hi I'am using 32-bit KiCAD 5.0.2 on win7-32bit.

The environment variable substitution is not work in documentation filename field of part property in Symbol Library Editor.

When documentation filename field for example “${KICAD_SYMBOL_DIR}/doc/misc/transistor/mosfet/12n65.pdf” and I click icon “Show associated datasheet or documents” the warning messagebox is show

"Doc file ${KICAD_SYMBOL_DIR}/doc/misc/transistor/mosfet/12n65.pdf not found".

So the environment variable is not substitute.

Is it possible the fix this bug? Thanks.

Revision history for this message
Seth Hillbrand (sethh) wrote :

Please add your KiCad version information from Help->About KiCad->Copy Version Information

Also, please show a picture of the Environmental Variable Configuration window from the KiCad main window -> Preferences->Configure Paths

Changed in kicad:
status: New → Incomplete
Revision history for this message
Oleg Samotkov (osamotkov) wrote :

My KiCad version is:

Application: kicad
Version: (5.0.2)-1, release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.61.1 OpenSSL/1.1.1 (WinSSL) zlib/1.2.11 brotli/1.0.6 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) nghttp2/1.34.0
Platform: Windows 7 (build 7601, Service Pack 1), 32 bit, Little endian, wxMSW
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.68.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.61.1
    Compiler: GCC 7.3.0 with C++ ABI 1011

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

When I place part on schematic sheet the substitution is work correct in Schematic Editor, so the pathname to datasheets is correct and all work correctly.

But when I open Symbol Library Editor, select its part and then
click icon “Show associated datasheet or documents” substitution is not work.
This is not work only in Symbol Library Editor.

Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

Fixed in revision db31b7902a37074a170ec9133dcc3a7e23a0d04f
https://git.launchpad.net/kicad/patch/?id=db31b7902a37074a170ec9133dcc3a7e23a0d04f

Changed in kicad:
status: Incomplete → Fix Committed
assignee: nobody → Seth Hillbrand (sethh)
Revision history for this message
Oleg Samotkov (osamotkov) wrote :

I am a very grateful! Thanks!!

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.