← Back to team overview

kicad-developers team mailing list archive

Kicad from scratch: pcbnew: cannot use ~/ for home directory for KISYS3DMOD path?

 

Hi!

I am testing latest-git on Linux, collecting some UX issues when starting Kicad from scratch (*):

On a new installation, I cannot execute 3D Shape Downloader out of the box. KISYS3DMOD points to ~/SW/share/kicad/modules/packages3d after installation to ~/SW/share/kicad/bin.

This folder doesn't exist yet at this point, but could be created by Kicad.
(The behaviour is still the same even when ~/SW/share/kicad/modules/packages3d was created in advance.)

The 3D Shape Downloader then tells me:
"It's not possible to write in the selected directory. Please choose anothe one."

When I press "Default 3D Path", I would expect that it resets the path to a default working one,
but an message tells me that "KISYS3DMOD path not defined , or not existing".

Anyway it's possible to hit the Next-> button just to realize than after an hour of downloading, the download is going to fail -> Duh!
When I replace the ~/ with /home/admin/ everything seems to work.
Is there a reason that the ~ cannot be used from within Kicad?

Regards,

Clemens

(*) Kicad rebuilt from src and started from scratch after rm ~/.config/kicad


---
Application: kicad
Version: (2018-01-08 revision 0e9c8a423)-master, release build
Libraries:
    wxWidgets 3.0.3
    libcurl/7.57.0 OpenSSL/1.1.0g zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) libssh2/1.8.0 nghttp2/1.29.0
Platform: Linux 4.14.12-1-ARCH x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.3 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.66.0
    Curl: 7.57.0
    Compiler: GCC 7.2.1 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_SPICE=ON



Follow ups