Mailing list archives : pcb-rnd

ID:3558
From:Gabriel Paubert <pa...@iram.es>
Date:Fri, 29 Nov 2019 09:56:16 +0100
Subject:Re: [pcb-rnd] bug report: pcb-rnd no more finds footprints in
in-reply-to:3556 from ge...@igor2.repo.hu
replies: 3559 from Gabriel Paubert <pa...@iram.es>
 
--z6Eq5LdranGa6ru8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
 
	Hi,
 
On Fri, Nov 29, 2019 at 04:40:19AM +0100, gedau@igor2.repo.hu wrote:
> Hi Gabriel,
> 
> On Thu, 28 Nov 2019, Gabriel Paubert wrote:
> 
> >	Hi,
> >
> >since this morning, when I add a component to a schematics and then I
> >try to import said schematics, I always get a message of the style:
> >
> >Error: can't open <some footprint name> for reading (format is (null))
> >
> >but the footprint exists in some of the libraries (not the first one).
> 
> Yup, I did a cleanup on the search path handling yesterday. I did test it 
> with GUI lib window and import schematics and it all worked here, so it 
> must be something my testing missed.
 
It looks plausible.
 
> 
> >I've not yet had time to distill a test case, but this worked until 
> >very recently (less than one week ago) for sure.
> 
> Yes, please distill that test case: I can fix it if I can reproduce it.
>
 
Fine, I created a new directory in which I created two .sch files with
a single capacitor with gschem, they are attached. The only difference 
is the footprint name (0603 and C0603):
 
- I start from an empty ~/pcblib
 
- cp /usr/local/share/pcb-rnd/pcblib/smd/0603.fp ~/pcblib/C0603.fp (or
  .lht, after all it's lihata format)
 
- create a directory (let's call it "bug") with the two .sch attached files
 
- cd bug
 
- pcb-rnd (optionally "f n", say 0603)
 
- import gschem schematics, select 0603.sch
 
- everything is fine
 
- exit
 
- pcb-rnd (optionallt "f n", say C0603)
 
- import gschem schematics, select C0603.sch
 
- bunch of errors in the message window:
 
"""
Error: can't open C0603 for reading (format is (null))
Can't find subcircuit with refdes 'C1'
Can't find subcircuit with refdes 'C1'
Can't find subcircuit with refdes 'C1'
Can't find subcircuit with refdes 'C1'
Can't find subcircuit with refdes 'C1'
Footprint import: not all requested footprints were found.
See the message log above for details
 
--- netlist check ---
Netlist problem: terminal C1-1 is missing from the board but referenced from the netlist
Netlist problem: terminal C1-2 is missing from the board but referenced from the netlist
Nothing more to add, but there are
either rat-lines in the layout, disabled nets
in the net-list, or missing components
"""
 
 
> Please check these:
> 
> - whether the library window finds that footprint
 
Yes, and I can import the component manually.
 
> 
> - whether you have itmes in your library search path list that are really 
> multiple paths separated by ':'
 
Nope, default setup in this case (I renamed my ~/.pcb-rnd/pcb-conf.lht
to make sure that it was not the issue).
 
	Regards,
	Gabriel
 
--z6Eq5LdranGa6ru8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="0603.sch"
 
v 20191008 2
C 100 100 0 0 0 title-A1.sym
{
T 26300 800 5 10 1 1 0 0 1
title=Ethercat to SPI interface
T 26200 200 5 10 1 1 0 0 1
page=1
T 27700 200 5 10 1 1 0 0 1
pagecount=1
T 30200 200 5 10 1 1 0 0 1
author=Gabriel Paubert, IRAM Granada
}
C 14000 20300 1 90 0 capacitor-1.sym
{
T 13300 20500 5 10 0 0 90 0 1
device=CAPACITOR
T 13100 20500 5 10 0 0 90 0 1
symversion=0.1
T 14000 20300 5 10 0 1 0 0 1
footprint=0603
T 13850 20850 5 10 1 1 0 0 1
refdes=C1
T 13850 20650 5 10 1 1 0 2 1
value=100n
}
N 13800 20100 13800 20300 4
N 13800 21200 13800 21300 4
 
--z6Eq5LdranGa6ru8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="C0603.sch"
 
v 20191008 2
C 100 100 0 0 0 title-A1.sym
{
T 26300 800 5 10 1 1 0 0 1
title=Ethercat to SPI interface
T 26200 200 5 10 1 1 0 0 1
page=1
T 27700 200 5 10 1 1 0 0 1
pagecount=1
T 30200 200 5 10 1 1 0 0 1
author=Gabriel Paubert, IRAM Granada
}
C 14000 20300 1 90 0 capacitor-1.sym
{
T 13300 20500 5 10 0 0 90 0 1
device=CAPACITOR
T 13100 20500 5 10 0 0 90 0 1
symversion=0.1
T 14000 20300 5 10 0 1 0 0 1
footprint=C0603
T 13850 20850 5 10 1 1 0 0 1
refdes=C1
T 13850 20650 5 10 1 1 0 2 1
value=100n
}
N 13800 20100 13800 20300 4
N 13800 21200 13800 21300 4
 
--z6Eq5LdranGa6ru8--
 

Reply subtree:
3558 Re: [pcb-rnd] bug report: pcb-rnd no more finds footprints in from Gabriel Paubert <pa...@iram.es>
  3559 Re: [PosibleSpam] Re: [pcb-rnd] bug report: pcb-rnd no more finds from Gabriel Paubert <pa...@iram.es>
    3562 Re: [PosibleSpam] Re: [pcb-rnd] bug report: pcb-rnd no more finds from ge...@igor2.repo.hu
      3569 Re: [PosibleSpam] Re: [pcb-rnd] bug report: pcb-rnd no more finds from Gabriel Paubert <pa...@iram.es>