3DC files not deleted

Bug #1842089 reported by David Pearce
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Unknown

Bug Description

A minor bug I see on two Windows 10 PCs running 5.1.x versions.
I am seeing a large number of files with a .3DC extension in
C:\Users\David\AppData\Local\kicad\3d\
The 3d directory is the only KiCad entry in Local

The files have names like 2d514096b01b51ccf911367c7261a90815f71621.3dc

I presume that these are something to do with the 3D view being created and not deleted after closing.

A similar directory, close to the rest of the KiCad setup is empty
C:\Users\David\AppData\Roaming\3d

Application: KiCad
Version: (5.1.4)-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 8 (build 9200), 64-bit edition, 64 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 8.2.0 with C++ ABI 1013

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

Revision history for this message
Nick Østergaard (nickoe) wrote :

It is not really a bug as such. They are cache data for the 3d viewer.

But they are not deleted by kicad. It is safe to delete the manually.

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

I think we should move cache files into the system temporary directory. This is another one of the directory pollution issues.

Changed in kicad:
importance: Undecided → Low
milestone: none → 6.0.0-rc1
status: New → Triaged
tags: added: 3d-viewer starter
Revision history for this message
David Pearce (halzia) wrote :

It is wrong to put temporary files into the AppData tree and I was wondering if this was a side effect of a more serious error.

Revision history for this message
David Pearce (halzia) wrote :

The Ubuntu Linux version puts the files in
/home/david/.cache/kicad/3d/cc1109f668b1831beb9c1620fa0a86528062c08c.3dc

A far more suitable location, but still deletion problems

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

KiCad bug tracker has moved to Gitlab. This report is now available here: https://gitlab.com/kicad/code/kicad/-/issues/1928

Changed in kicad:
status: Triaged → Expired
Changed in kicad:
importance: Low → Unknown
status: Expired → 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.