3d-viewer can't find 3d model in relative path if KISYS3DMOD have any accented character
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Undecided
|
jean-pierre charras |
Bug Description
Application: kicad
Version: (2016-02-26 BZR 6593)-product release build
wxWidgets: Version 3.0.2 (debug,
Platform: Linux 3.19.0-51-generic x86_64, 64 bit, Little endian, wxGTK
Boost version: 1.54.0
Steps:
- Run Kicad;
- Preferences-
- Change KISYS3DMOD to contain an accented character (ex: â, á, à, ã);
- Ok;
- Restart Kicad;
- Open pcbnew;
- Add a footprint with 3D model in relative path;
- Open 3d-viewer: 3D model wont be visible, debug show: 3D shape 'smd/chip_cms.wrl' not found, even tried 'smd/chip_cms.wrl' after env var substitution;
After some messing around I found that the problem is that loadCommonSetti
system locale:
raphael@DeathStar:~ $ locale
LANG=en_US.UTF-8
LANGUAGE=en_US
LC_CTYPE=
LC_NUMERIC=
LC_TIME=pt_BR.UTF-8
LC_COLLATE=
LC_MONETARY=
LC_MESSAGES=
LC_PAPER=
LC_NAME=pt_BR.UTF-8
LC_ADDRESS=
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATI
LC_ALL=
A patch is attached and it seems to fixed the problem.
Related branches
tags: | added: 3d-viewer |
Changed in kicad: | |
assignee: | nobody → jean-pierre charras (jp-charras) |
Changed in kicad: | |
status: | New → Fix Committed |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
Thanks Jean-Pierre!