← Back to team overview

kicad-developers team mailing list archive

Re: auto conversion of sch file not working

 

On 1/20/20 11:44 AM, Wayne Stambaugh wrote:
> Is mylib an entry in the list of libraries below the
> 
> LibDir=/i/pcbs/kicad_parts;/usr/local/share/kicad/library

Does this not illustrate a yes to your question?

>>> /i/pcbs/kicad_parts$ ll mylib*
>>> -rw-rw---- 1 dick develop 286715 Apr 16  2018 mylib.bak
>>> -rw-rw---- 1 dick develop    785 Sep 27 16:12 mylib.bck
>>> -rw-rw---- 1 dick develop    785 Sep 27 16:12 mylib.dcm
>>> -rw-rw---- 1 dick develop 300397 Sep 27 16:12 mylib.lib



> 
> entry in the project file?  After remapping, is there a mylib library
> entry in the project symbol library table with the correct path?

NO, because there is no sym-lib-table file being created in the project directory.  I
start the process with just the *.sch and the *.pro file in the directory, nothing else.
 Then start eeschema from the command line with the schematic on the command line.

The result of the load looks like the attached.


> 
> The remapping function uses the symbol library list from the project
> file to populate the project symbol library table to correctly remap the
> symbols.  As long as all of the original symbol libraries are loaded by
> the old library code, the remapping works unless the original symbol
> names are missing from the library.  In this case, the rescue feature
> should have caught that problem and created a rescue library from the
> symbol library cache before remapping.
> 
> On 1/20/20 11:25 AM, Dick Hollenbeck wrote:
>> Same is true if I try and load from project manager.
>>
>> On 1/20/20 10:24 AM, Dick Hollenbeck wrote:
>>> I want to use standalone EESCHEMA (standalone =: run from command line not project
>>> manager) to load an old schematic.
>>>
>>> In the project *.pro file corresponding to the old schematic I see this line:
>>>
>>> LibDir=/i/pcbs/kicad_parts;/usr/local/share/kicad/library
>>>
>>> In /i/pcbs/kicad_parts is a library that I made called mylib:
>>>
>>> /i/pcbs/kicad_parts$ ll mylib*
>>> -rw-rw---- 1 dick develop 286715 Apr 16  2018 mylib.bak
>>> -rw-rw---- 1 dick develop    785 Sep 27 16:12 mylib.bck
>>> -rw-rw---- 1 dick develop    785 Sep 27 16:12 mylib.dcm
>>> -rw-rw---- 1 dick develop 300397 Sep 27 16:12 mylib.lib
>>>
>>>
>>> $ eeschema old-board.sch
>>>
>>> leads to a well-known dialog :
>>>
>>>    Remap Symbols
>>>
>>> Whether I choose to remap or not, I don't see the *ANY* properly rendered parts in the
>>> subsequently drawn schematic.  Regardless of which library they may be in.
>>>
>>> (I thought the *.pro file's LibDir was supposed to establish a "search path" for the old
>>> libraries?)
>>>
>>>
>>> At this point, I don't now how to load an old schematic using this version:
>>>
>>>
>>> Application: Eeschema
>>> Version: (5.99.0-635-ga5c7d452c), debug build
>>> Libraries:
>>>     wxWidgets 3.0.4
>>>     libcurl/7.58.0 OpenSSL/1.1.1 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-74-generic x86_64, 64 bit, Little endian, wxGTK
>>> Build Info:
>>>     Build date: Jan  4 2020 19:45:12
>>>     wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.22
>>>     Boost: 1.65.1
>>>     Curl: 7.58.0
>>>     Compiler: GCC 7.4.0 with C++ ABI 1011
>>>
>>> Build settings:
>>>     KICAD_SCRIPTING=OFF
>>>     KICAD_SCRIPTING_MODULES=OFF
>>>     KICAD_SCRIPTING_PYTHON3=OFF
>>>     KICAD_SCRIPTING_WXPYTHON=OFF
>>>     KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
>>>     KICAD_SCRIPTING_ACTION_MENU=OFF
>>>     BUILD_GITHUB_PLUGIN=ON
>>>     KICAD_USE_OCE=OFF
>>>     KICAD_USE_OCC=OFF
>>>     KICAD_SPICE=OFF
>>>     KICAD_STDLIB_DEBUG=OFF
>>>     KICAD_STDLIB_LIGHT_DEBUG=OFF
>>>     KICAD_SANITIZE=OFF
>>>
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help   : https://help.launchpad.net/ListHelp
>>
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
> 

Attachment: old-schematic.png
Description: PNG image


Follow ups

References