Strange XDG_CACHE_HOME folder being created
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Critical
|
Jeff Young |
Bug Description
I have a strange folder being created. It seems to be a malformed (environment) variable.
This one: $$XDG_CACHE_HOME}/
I tried to check if it was something generated by me but I don't think so.
Application: kicad
Version: 6.0.0-rc1-
Libraries:
wxWidgets 3.0.4
libcurl/7.58.0 OpenSSL/1.1.0g zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3
Platform: Linux 4.15.0-25-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,
Boost: 1.65.1
OpenCASCADE Community Edition: 6.9.1
Curl: 7.58.0
Compiler: GCC 7.3.0 with C++ ABI 1011
Build settings:
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON
tags: | added: packaging ubuntu |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
I am experiencing the same issue with the current nightly. I have never observed this before, but I just did an upgrade from Fedora 27 to 28 yesterday, so it might be related to that.
The folder only contains *.3dc files, and as far as I can see the XDG_CACHE_HOME variable is used in 3d-viewer/ 3d_cache/ 3d_cache. cpp: stitutions( "${XDG_CACHE_HOME}" );
cacheDir = ExpandEnvVarSub
ExpandEnvVarSub stitutions( ) is defined in common/common.cpp and calls KIwxExpandEnvVa rs(), which has been introduced by Jeff a couple of days ago as part of commit f8a5e2c1c895ea4 0fd6fc0595841b3 ac54f0b5df (Performance enhancements in fp loading, string cmp, etc.). I suspect that the bug is hidden there.
---
Application: kicad unknown- r13476. 72fcf4643. fc28, debug build 0.7.5/openssl/ zlib nghttp2/1.32.0 200.fc28. x86_64 x86_64, 64 bit, Little endian, wxGTK compatible with 2.8) GTK+ 2.24
Version: 6.0.0-rc1-
Libraries:
wxWidgets 3.0.4
libcurl/7.59.0 OpenSSL/1.1.0h zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.4) libssh/
Platform: Linux 4.17.9-
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,
Boost: 1.66.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.59.0
Compiler: GCC 8.1.1 with C++ ABI 1013
Build settings: WX_GRAPHICS_ CONTEXT= OFF WX_OVERLAY= OFF SCRIPTING= ON SCRIPTING_ MODULES= ON SCRIPTING_ WXPYTHON= ON SCRIPTING_ ACTION_ MENU=ON GITHUB_ PLUGIN= ON USE_OCE= ON USE_OCC= OFF
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON