[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-bug: PCB :command lockup



On Tuesday 22 Dec 2009 Peter Lewis sent:

> Hello,
> 
> I am having a problem with the ':' command in the PCB tool. When I key in
>  the ':' the "Enter command:" field appears at the bottom of the window and
>  all the menu items and tool-bars are greyed out. The only thing still
>  active is the drawing point position in the top right.
> 
> I can not type into the "Enter command:" field which itself appears grey
>  and inactive. The drop list does not respond either.
> 
> At this point there is no way that I can find to return to the PCB tool
>  normal function and I have to close the application with the window close
>  button (top right).
> 
> Can anyone help me with this and if there is no immediate answer, how much
>  and what information should I submit as a bug.
> 
> I am running the tool on OpenSuse 11.2 with the KDE desktop. The PCB is
> version 20081128 Compiled on Dec 20 2008 at 21:48:15 by harry eaton
>  installed from the rpm. My computer is a Dell Vostro 220S with 64 bit
>  Intel dual core processor and 4GByte RAM.
> 
> I have downloaded the 20091103 source and compiled that on the machine but
>  the behaviour is exactly the same.
> 

I am replying to my own submission just in case there is someone out there who 
bumps into the problem described above. I have made a work-around for the 
problem's primary impediment.

The output of the gsch2pcb command is a .pcb file, a .net file and a .cmd 
file. The instructions are to start the pcb tool, load the .pcb layout file 
and the .net netlist file and then execute the .cmd command file which will 
match the net to the layout. This command file operation is not possible if 
the ':' command does not work.

My solution is to alter the .cmd command file to prefix with two commands, the 
first to load the layout and the second to load the netlist. The pcb tool is 
then invoked with the "--action-script" option.

1. Edit the .cmd command file to prefix the two lines:
LoadFrom(Layout,<filename>.pcb)
LoadFrom(Netlist,.<filename>.net)

2. Execute the pcb tool:
pcb --action-script "<filename>.cmd"

Where <filename> is the path-name to the design that you are working on.

When I first make a change to the schematic I am going to work out how to move 
the changes through to the partially designed PCB.

-- 

All the best,
Peter Lewis


_______________________________________________
geda-bug mailing list
geda-bug@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-bug