Eeschema: error message when opening a file with a long path from the command line
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Undecided
|
Jacobo Aragunde Pérez |
Bug Description
Application: Eeschema
Version: (2013-01-27 BZR 3925)-testing
Build: wxWidgets 2.8.12 (no debug,Unicode,
Platform: Linux 3.7.4-204.
Boost version: 1.49.0
Options: USE_PCBNEW_
First reported in the conversation of the Bug #1102381, reporting separately for convenience:
El 21/01/13 17:46, Dick Hollenbeck escribió:
>
> There was also an issue with specifying a relative path on the eeschema
> command line to a schematic, relative path, but longer than a basename.
> Can you verify if that is still there?
>
Found something. The program runs but it shows the error message "Failed
to inspect the lock file ...".
Changed in kicad: | |
status: | Fix Committed → Fix Released |
This bug exposed a different problem in the patches to prevent opening the same document twice. Under certain code conditions the file path is not yet normalized and different lock files can be created for the same document.
I'm attaching a patch to fix it.