ID: | 3559 |
From: | Gabriel Paubert <pa...@iram.es> |
Date: | Fri, 29 Nov 2019 10:47:28 +0100 |
Subject: | Re: [PosibleSpam] Re: [pcb-rnd] bug report: pcb-rnd no more finds |
in-reply-to: | 3558 from Gabriel Paubert <pa...@iram.es> |
replies: | 3562 from ge...@igor2.repo.hu |
Hi again, On Fri, Nov 29, 2019 at 09:56:16AM +0100, Gabriel Paubert wrote: > 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). > Ok, another piece of information: the first (or last) directory in the list seems to properly searched. If I do: - pcb-rnd - import gschem schematics C0603.sch - "icp" and move ~/pcblib to the last position - save as C0603.lht - exit - pcb-rnd C0603.lht - import gschem schematics now works But I'm confused about the search order since the "w l" command displays the search list in the reverse order of the "i c p" library notebook page. It also seems that editing the library search order in the "i c p" notebook needs an exit and restart of pcb-rnd to take effect, but this is a minor issue. Regards, Gabriel
Reply subtree:
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>