Re: gEDA-user: PCB libraries

2004-09-07 Thread Andreas Platschek
> as a normal user can you view the element files by doing something like
>
> cat
> /usr/local/share/pcb/newlib/2_pin_thru-hole_packages/0.125W_Carbon_Resistor
>

Yes I can do that

>
> Also can you run
>
> /usr/local/share/pcb/ListLibraryContents.sh /usr/local/share/pcb/m4 pcblib
>
> and get a fairly long output that starts with:
>
> TYPE=~TTL 74xx DIL
> 7400_dil:N:7400:4 dual-NAND
> 7401_dil:N:7401:4 dual-NAND OC
> 7402_dil:N:7402:4 dual-NOR
> 7403_dil:N:7403:4 dual-NAND OC
> 7404_dil:N:7404:6 inverters
>
>


I can also do that, but the output starts with this:

dc: 'U' (0125) unimplemented
dc: stack empty
dc: 'g' (0147) unimplemented
dc: 'e' (0145) unimplemented
dc: '(' (050) unimplemented
dc: ')' (051) unimplemented
dc: '{' (0173) unimplemented
dc: 'e' (0145) unimplemented
dc: 'h' (0150) unimplemented
dc: stack empty
dc: '"' (042) unimplemented
dc: 'u' (0165) unimplemented
dc: stack empty
dc: 'g' (0147) unimplemented
dc: 'e' (0145) unimplemented
dc: stack empty
dc: '$' (044) unimplemented
path
0
dc: input base must be a number between 2 and 16 (inclusive)
dc: register 'e' (0145) is empty
dc: '"' (042) unimplemented

Andi



Re: gEDA-user: PCB libraries

2004-09-07 Thread Dan McMahill
On Mon, Sep 06, 2004 at 04:52:59PM +0200, Andreas Platschek wrote:
> Am Montag, 6. September 2004 18:24 schrieb Stephen Meier:
> > Where is PCB installed in your directory structure?
> >
> > Are all the permissions along the path coducive to non root users?
> >
> > Steve Meier
> >
> > Andreas Platschek wrote:
> > >Hello!
> > >
> > >I have PCB sucessful installed, and there are no problems when I'm logged
> > > in as root, but when I'm logged in as user, I can't insert parts.
> > >First I thougt it could be a permissions problem but I couldn't find a
> > > mistake in this direction.
> > >
> > >Andi
> 
> the executable is in /usr/local/bin
> I also checked the permissions of the directory where the PCB Libraries are.

as a normal user can you view the element files by doing something like

cat /usr/local/share/pcb/newlib/2_pin_thru-hole_packages/0.125W_Carbon_Resistor

?

Also can you run

/usr/local/share/pcb/ListLibraryContents.sh /usr/local/share/pcb/m4 pcblib

and get a fairly long output that starts with:

TYPE=~TTL 74xx DIL
7400_dil:N:7400:4 dual-NAND
7401_dil:N:7401:4 dual-NAND OC
7402_dil:N:7402:4 dual-NOR
7403_dil:N:7403:4 dual-NAND OC
7404_dil:N:7404:6 inverters


?

-Dan


-- 


gEDA-user: Segmentation Fault

2004-09-07 Thread John Luciani
I have found a condition that causes PCB to 
Segment fault.

I created an element that has a mounting hole 
but I forgot to change bit 3 in the pin flag. The 
PCB layout below contains the element with the
incorrect pin flag. The netlist below just 
connects all three pins of the symbol.

The following actions produce the segment fault:

 1. Load the PCB layout.
 2. Load the netlist
 3. Optimize the ratsnest.

(* jcl *)

## BEGIN PCB LAYOUT 
# release: pcb 1.6.3
PCB("" 6000 5000)
Grid(10 0 0)
Cursor(10 270 3)
Flags(0x00d0)
Groups("1,2,3,s:4,5,6,c:7:8:")
Styles("Signal,10,40,20:Power,25,60,35:Fat,40,60,35:Skinny,8,36,20")
Element(0x0 "AC-inlet" "CONN1" "Qualtek_703W-00/52"
-1011 -773 0 100 0x0)
(
   Pin(-275 0 96 79 "" "1" 0x01)
   Pin(0 0 96 79 "" "2" 0x01)
   Pin(275 0 96 79 "" "3" 0x01)
   Pin(-777 -287 96 79 "" "" 0x01)
   Pin(777 -287 96 79 "" "" 0x01)
   ElementLine(0 78 -537 78 10)
   ElementLine(-537 78 -986 -196 10)
   ElementLine(-986 -196 -986 -629 10)
   ElementLine(-986 -629 986 -629 10)
   ElementLine(986 -629 986 -196 10)
   ElementLine(986 -196 537 78 10)
   ElementLine(537 78 0 78 10)
   ElementLine(-600 -629 -600 -688 10)
   ElementLine(-600 -688 600 -688 10)
   ElementLine(600 -688 600 -629 10)
   ElementLine(19 196 -19 196 10)
   ElementLine(-19 196 -19 118 10)
   ElementLine(-19 118 19 118 10)
   ElementLine(9 157 -17 157 10)
   ElementLine(-255 118 -255 196 10)
   ElementLine(-255 196 -295 118 10)
   ElementLine(-295 118 -295 196 10)
   ElementLine(255 118 255 196 10)
   ElementLine(255 196 295 196 10)
   Mark(0 0)
)
Layer(1 "solder")
(
)
Layer(2 "GND-sldr")
(
)
Layer(3 "Vcc-sldr")
(
)
Layer(4 "component")
(
)
Layer(5 "GND-comp")
(
)
Layer(6 "Vcc-comp")
(
)
Layer(7 "unused")
(
)
Layer(8 "unused")
(
)
## END PCB LAYOUT


## BEGIN NETLIST

unnamed_net1CONN1-2 CONN1-3 CONN1-1 

# END NETLIST




__
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 


Re: gEDA-user: PCB libraries

2004-09-07 Thread Mario Klebsch
Hi!
I have PCB sucessful installed, and there are no problems when I'm 
logged
in as root, but when I'm logged in as user, I can't insert parts.
First I thougt it could be a permissions problem but I couldn't find 
a
mistake in this direction.

Andi
the executable is in /usr/local/bin
I also checked the permissions of the directory where the PCB 
Libraries are.
If you are using Linux you can use strace (Solaris uers can use truss) 
to trace all system calls of pcb during execution. You can see wether 
any file access operation failes because of a permission problem.

73, Mario
--
Mario Klebsch   [EMAIL PROTECTED]
PGP-Key available at http://www.klebsch.de/public.key
Fingerprint DSS: EE7C DBCC D9C8 5DC1 D4DB  1483 30CE 9FB2 A047 9CE0
 Diffie-Hellman: D447 4ED6 8A10 2C65 C5E5  8B98 9464 53FF 9382 F518