Re: gEDA-user: PCB import schematic

2010-06-26 Thread Gareth Edwards
On 26 June 2010 11:17, Gareth Edwards gar...@edwardsfamily.org.uk wrote:
 I'm having difficulty getting the new Import Schematic function in PCB
 working. I've set import::mode attribute to gnetlist and
 import:sch0 to my schematic filename. Running :Import() appears to
 do nothing, and the message log says

 Can't add rat lines because no netlist is loaded.


More data from the console:

Failed to read pcbfwd scm file
[/home/gareth/geda/share/gEDA/scheme/gnet-pcbfwd.scm]
Backtrace:
In current input:
   1: 0* (pcbfwd /tmp/pcb.XX1JJfO2/gnetlist_output)

unnamed port:1:1: In expression (pcbfwd /tmp/pcb.XX1JJfO2/gnetlist_output):
unnamed port:1:1: Unbound variable: pcbfwd
Could not open actions file /tmp/pcb.XX1JJfO2/gnetlist_output.

I'm thinking my non-standard install location may have thrown the PCB
installer off-kilter - I'll have a dig.


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: PCB import schematic

2010-06-26 Thread Gareth Edwards
On 26 June 2010 11:22, Gareth Edwards gar...@edwardsfamily.org.uk wrote:
 On 26 June 2010 11:17, Gareth Edwards gar...@edwardsfamily.org.uk wrote:
 I'm having difficulty getting the new Import Schematic function in PCB
 working. I've set import::mode attribute to gnetlist and
 import:sch0 to my schematic filename. Running :Import() appears to
 do nothing, and the message log says

 Can't add rat lines because no netlist is loaded.


OK, looks like PCB make install always puts the gnet-pcbfwd.scm file
into $(datadir)/gEDA/scheme, which kind of assumes gaf and PCB are
installed in the same place.

The autotools setup for gaf allows the PCB install directory to be
specified on the ./configure command line - is it arguable that the
setup for PCB should allow the gaf install directory to be specified
on the ./configure command line too? I'll work up a patch and stick it
on the tracker anyway.

Cheers
Gareth


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: PCB import schematic

2010-06-26 Thread Patrick Bernaud
Hello Gareth,

Gareth Edwards writes:
  [...]
  More data from the console:
  
  Failed to read pcbfwd scm file
  [/home/gareth/geda/share/gEDA/scheme/gnet-pcbfwd.scm]
  [...]
  I'm thinking my non-standard install location may have thrown the PCB
  installer off-kilter - I'll have a dig.

Indeed it has to do with your setup: gnetlist can not find the
backend script file gnet-pcbfwd.scm at the expected path but still
tries to make use of the backend.

Either re-run configuration of pcb with correct prefix for data dir
(and then make install) or just copy the gnet-pcbfwd.scm file from the
tools/ dir in pcb sources to /home/gareth/geda/share/gEDA/scheme.

Regards,


Patrick


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: PCB import schematic

2010-06-26 Thread DJ Delorie

Note that it's src0, not sch0, to name the input files.


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: PCB import schematic

2010-06-26 Thread Gareth Edwards
On 26 June 2010 17:49, DJ Delorie d...@delorie.com wrote:

 Note that it's src0, not sch0, to name the input files.


Oops, error in transcription to email - I had it right in the board file.

Cheers
Gareth


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user