kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #43313
Re: auto conversion of sch file not working
-
To:
kicad-developers@xxxxxxxxxxxxxxxxxxx
-
From:
Wayne Stambaugh <stambaughw@xxxxxxxxx>
-
Date:
Tue, 21 Jan 2020 10:59:41 -0500
-
Autocrypt:
addr=stambaughw@xxxxxxxxx; prefer-encrypt=mutual; keydata= mQGiBEM0hxQRBAC2fNh3YOVLu1d5GZ0SbrTNldGiGnCJPLqzEnqFX9v6jmf33TMt6EmSLkl6 Wtfkoj0nVwKxcYmJkA8DX0QAokBkwNIzhSsBzQvthBLIk/5LnPVVKrEXOcL4mUyH1doKlkaE slgJozNa6Av+oavcvD02o1zJOloBbaHlNlyRt7fKswCgtIFlVjWggVH/15KfWk+Qo5JVPbME AIUBAQyL2OAx0n60AWec2WHnO9buHuG0ibtICgUMkE+2MRmYyKwYRdyVwGoIUemFuOyHp0AJ InX4T+vy2E7vkwODqjtMLfIoRkokW74Fi4nrvjlhOAw/vdq/twLbAmR9MOfPTpR4y7kQy1O2 /n+RkkRvh26vTzfbQmrH7cBJhk6aA/9Uwvu3E4zNJgHVZeS0HyWtmR1eOPPRbnkPgJTToX5O KMKzTJI/FX6kT7cFoCamitHrW3BJP4Dx+cMMsa47EGxqVTdbVJ4LjogsXTXxb+0Fn1u4zBdx x3Cer6O7+hqWy7zvpzeC6nSREjqDKa5CgHtv/GLm5uFPOmsjAsnHj2tlBrQmV2F5bmUgU3Rh bWJhdWdoIDxzdGFtYmF1Z2h3QGdtYWlsLmNvbT6IeAQTEQIAOBYhBOffs6CbblRzBkv33BtR cWlZ+CReBQJbFBS2AhsDBQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJEBtRcWlZ+CReMI8A nRbrLkzp7+c2f0vX7sfg4ICX8LAKAJ9uClo4uJajmZa5zZrL2nKdZlUwIrkCDQRDNIcxEAgA gCru+3/aOC6RCjpvYC72wY+d5SmHphC6yeiV2/mOumyt5MLo/Ps2GznZr11JspqFk5K/Zpvp MMLqqjDZ39+50a2iKRQFJ6NlK+hJWMmj6eJygQrCwYo3Gjc6CqfrqUv+8VSnf/i5sIZmtOVA 4ZjML18MuBvMSsNdVLFJd5HNnYb1iOECpvqdPVh/21LLCEw7MUUGGnHBhCrmk2aJe5hFmcSN g4ldBcXrgMQBwf7aMVoobXBMFDb/IENByXn0llB7Gr2IFMRmNS9/p8s/II1Yl2bTqyX4FSz8 cfn7C9KEz7faZ7wzAcpwHFC/zs3JoAjJ0IEKdNUpIwAlKMzT3CzctwADBQf/cxpG28MKyrqk nNmq/8LQLy+x6FSYXBLjxQz9BiBNYeesDZQ6J5UbL1mjpJzMa5tLZypPYo4bbGyR22hrbyDF K7m6AcVaMIJKl98g4ukMutFfAJyRDaREH5Zl/X1P4u1Z/yaAIy9mKaNbaK1/5djNJ5wCTFen TUgAp9xdc30kGkFDdLJFp5uxDY4P0vaZiZdjUCvDM3Zjv5IzpNOfxVqTUBQNUP/BnnKhkk0p DTD6s3X8S+D0rOtEBQ8K0cwERI/E8EFa8nj0TNw4e2MYGR8wg+SxqJ7z5f0zPY0bO6G9DDFB wYCqzzPWGqdAh9vA5971TAbPERtdFybhkurozp2SfYhJBBgRAgAJBQJDNIcxAhsMAAoJEBtR cWlZ+CResHUAniULLCWiT26ieRTl7N2vS6vBo/DuAJ4m7Ss/gyiW6ybTn1ctDXAUgm2QVQ==
-
In-reply-to:
<86d34e4e-9bc7-892e-b37e-d09df23e8ed3@softplc.com>
-
Openpgp:
preference=signencrypt
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0
On 1/20/20 7:18 PM, Dick Hollenbeck wrote:
> 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?
There should be an entry
[eeschema/libraries]
LibNameN=mylib
below the LibDir= entry. If that is missing, then the remapping
algorithm will not be able to remap symbols to that library.
>
>>>> /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
>>
>
>
> _______________________________________________
> 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
>
Follow ups
References