File: "Import Schematics" do nothing

Bug #1694453 reported by Ferenc Mayer on 2017-05-30
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bert Timmerman

Bug Description

If I try to import schematic (File menu: Import Schematic) nothing happend.
I can see the following in command line:
Could not open actions file "/tmp/pcb.XXeGyoF0/gnetlist_output".

Ubuntu 16.04
printed circuit board editor version 4.0.1

Thank You

tags: added: import-schematics
Changed in pcb:
milestone: none → pcb-4.0.2
status: New → Triaged
importance: Undecided → Medium
Changed in pcb:
status: Triaged → In Progress
assignee: nobody → Bert Timmerman (bert-timmerman)
Changed in pcb:
milestone: pcb-4.0.2 → pcb-4.1.0
Bert Timmerman (bert-timmerman) wrote :

Copied the message below from the geda-help Mailing list:

On 10/26/2017 09:51 PM, Carlos Moreno wrote:
> [ ··· ]
> (I guess you can tell that right after my previous
> reply I went and ran a few tests of this feature....
> works beautifully!!!)

Actually, it seems to work beautifully with PCB version
20140326 (installed from source directly downloaded
from the gEDA web site). But it does not work on
version 4.0.2 with the same .sch and .pcb files (this
version also installed from source).

Now, I cannot post the files, since they are part of a
research project being done with an industry partner
under NDA.

I'm posting this message in case this is a systematic
problem, or in case you can think of anything obvious
that I may be doing wrong.

When I do "Import Schematics" using the same .sch
and .pcb files but with version 4.0.2, it does not add
the elements, nor does it change the footprint of
two of the components, nor does it flag a bunch of
shorted nets (the orange-ish highlight). It only flags
*one* shorted net (i.e., it highlights in orange *one*

Sorry I can't be more helpful (to determine whether
it is indeed a bug and to have an instance to help
debug it).


Bert Timmerman (bert-timmerman) wrote :

Hi Ferenc,

I've tested with a pcb layout with two schematics by toggling src0 and src1 on and off in various permutations and "Import Schematic" seems to work as advertised in the User Manual.

I tested both pcb-4.0.2 and the git head of the master branch (be34d2b45148da10a5aa39fba72bc8ab1d737d8d).

I need more information to resolve this issue (if it is an issue).

A minimal schematic and layout file which causes the mentioned behaviour is most welcome.

For the moment I mark this report as incomplete.

Kind regards,

Bert Timmerman.

Changed in pcb:
status: In Progress → Incomplete
milestone: pcb-4.1.0 → pcb-4.1.1
Ferenc Mayer (mayerf) wrote :

Hi Bert,

Problem solved after the following:
Install geda-gnetlist
apt-get install geda-gnetlist

copy gnet-pcbfwd.scm
sudo cp pcb-pcb-4.0.2/tools/gnet-pcbfwd.scm /usr/share/gEDA/scheme/

Thank You

Bert Timmerman (bert-timmerman) wrote :

Hi Ferenc,

Does the above mean that the file "gnet-pcbfwd.scm" was not installed (in the correct location) by the pcb package on your system ?

It is included in the pcb-4.02.tar.gz tarball from SF (lives in the "tools" sub-directory) ... so is this a packaging issue, or is this an install issue ?

Another thing I notice is the path containing a sub-directory name "pcb-pcb-4.0.2", the double "pcb" separated by a dash "-" doesn't look nice. Gives me another hint for packaging issues.

Kind regards,

Bert Timmerman.

Changed in pcb:
status: Incomplete → In Progress
Ferenc Mayer (mayerf) wrote :

Hi Bert,

Yes the file "gnet-pcbfwd.scm" was not installed to the correct location
I copy manually from pcb-4.02.tar.gz tools directory after followed the install process readed the install file.
make install

right command
sudo cp pcb-4.0.2/tools/gnet-pcbfwd.scm /usr/share/gEDA/scheme/

Thank You

tags: added: build-system
Changed in pcb:
milestone: pcb-4.1.1 → pcb-4.2.1
Chad Parker (parker-charles) wrote :

Has this been resolved?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers