X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f X-Recipient: geda-help AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=/hqOaw1Z30X2nc961stZ+c578kS9J+yr+LznlSgDhqo=; b=XGstwRwC8s2xY5FW3QQbbkjqAD5geA/mm8tmuHm1/oEUCdDFLZMrvA8K2+2kJMACgk HWuTP6ejJ6WdwTYRoagTMXPirA5lzYam8iL9TvllmZJ6zW4z3L3IWfOd+L0hW2VlrSyi BTjachXkRiBf8n838trqddZrE5slQosPrhF4YmE+AmH388t8hyoFaHkpp8UEuPtbMLbh //yTp1CeYotKcNss7WVLQ5qp96OyBhomfPh4Ov/ZSVTdJF0/OwgLh9YPgVYn6LK68qEt e3auj8rC9hquq7pJKZUQ+erbeT11yRyxwry7NP8NS8nXU+DGYcFBOHKxYrNHTGSzOHbK xk1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=/hqOaw1Z30X2nc961stZ+c578kS9J+yr+LznlSgDhqo=; b=b3rIBD8jDT3oYHq9pcuUj8kyUAk98GvCocLr27MJW7pfAlwYla56hZss/J4wCqo52L 7gPpDP14aPyeX3/PM7MLUm/d/QhWPEwuiyhZ7t14rcDXbzDlTkFdRSICiKPBIVEo+4Vf Xt8b5BE3uJU/UKBi8JdREqtrOavfM3q8fgU+JFHnlvXgqjGPX6pwt0qyAUj6sCVTqeCb 84q/JfU/Zs07B8b+4s8X2Utr/6/Szr+EZvPZufuDVjVvPOSbHvGDKfT0HrO3j+y+bumH TzByEz8CSc3tsJ49KW8xp1S+0mCygY0CuTTHNtuJt68jpzQJ9kQE9HuarV4Y/lqA0vjo osHg== X-Gm-Message-State: APjAAAW/fbLzMYSwam2zN8Ylx9xU4cEnvXeMH9LQmDzx5A63aKC7wNlM KM9qPFcFye1CPUsg7KrhRXQQ7Tuvy0u/d4oRA+YD0um4 X-Google-Smtp-Source: APXvYqwTIzCnXK58Z03zKf6YlZqC25Ohn39xiXyR/3G6Mr49uG3XB6YvaftDDE0bRGoAuiOVmgGtpjatg/NxDCV89UY= X-Received: by 2002:a2e:8602:: with SMTP id a2mr74461238lji.206.1564998240320; Mon, 05 Aug 2019 02:44:00 -0700 (PDT) MIME-Version: 1.0 References: <86d2961a-d7c2-101e-e697-e92140e83600 AT yahoo DOT com> In-Reply-To: From: "Torben Friis (friistf AT gmail DOT com) [via geda-help AT delorie DOT com]" Date: Mon, 5 Aug 2019 11:43:49 +0200 Message-ID: Subject: Re: [geda-help] Re: Picaxe 14M2 To: geda-help AT delorie DOT com Content-Type: multipart/alternative; boundary="0000000000003040a2058f5b8c81" Reply-To: geda-help AT delorie DOT com --0000000000003040a2058f5b8c81 Content-Type: text/plain; charset="UTF-8" Hi Erich and Glen, I have run the geda:gsch2pcb_tutorial again and I get the same result. I have installed gtk2.0 (sudo apt-get install gtk2.0) and have packages: ii gtk-update-ico 3.22.30-1ubu amd64 icon theme caching utility ii gtk2-engines-m 0.98.2-2ubun amd64 cairo-based gtk+-2.0 theme engine ii gtk2-engines-p 2.24.32-1ubu amd64 pixbuf-based theme for GTK+ 2.x ii gtk2.0-example 2.24.32-1ubu amd64 example files for GTK+ 2.0 and: ii pcb 1:4.0.2-4 all printed circuit board (pcb) desig ii pcb-common 1:4.0.2-4 all printed circuit board (pcb) desig ii pcb-gtk 1:4.0.2-4 amd64 printed circuit board (pcb) desig ii pcb-lesstif 1:4.0.2-4 amd64 printed circuit board (pcb) desig The board.pcb file starts: torben AT torben-Aspire-E5-773G:~/gaf/myproject1$ cat board.pcb # release: pcb 1.99x # To read pcb files, the pcb version (or the cvs source date) must be >= the file version FileVersion[20070407] PCB["" 600000 500000] Grid[10000.000000 0 0 0] Cursor[0 0 0.000000] PolyArea[200000000.000000] Thermal[0.500000] DRC[1000 1000 1000 1000 1500 1000] Flags("nameonpcb,uniquename,clearnew,snappin") Groups("1,c:2:3:4:5:6,s:7:8") Styles["Signal,1000,3600,2000,1000:Power,2500,6000,3500,1000:Fat,4000,6000,3500,1000:Skinny,600,2402,1181,600"] Element(0x00 "TO92" "Q201" "2N3904" 0 0 0 100 0x00) ( Pin(250 200 72 42 "1" 0x101) . . . Can you see anything wrong? It's a real mystery. best regards torben On Sat, Aug 3, 2019 at 4:46 PM Torben Friis wrote: > Hi Erich and Glen, > I have started from scratch (uninstalling - installing gEDA, restarting > the computer.) without using sudo and I have installed gtk (sudo apt > install gtk+3.0) and the result is shown in the attached screen dump. > Same result, but there is something about gtk that I may have > misunderstood. > best regards > torben > > On Fri, Aug 2, 2019 at 8:07 AM Glen W. Ruch (gw DOT ruch AT yahoo DOT com) [via > geda-help AT delorie DOT com] wrote: > >> P.S. >> You may also want to do a *ls -l *(list -long) to see how many files >> still belong to you and how many belong to root. >> >> You may want to *sudo chown* to move the files back to the correct owner. >> >> On my computer there is a difference between the user default permissions >> and root's default permissions.?? You may want to correct the permissions >> with *sudo chmod* >> >> Regards. >> >> >> On 8/1/19 4:34 PM, Glen W. Ruch (gw DOT ruch AT yahoo DOT com) [via >> geda-help AT delorie DOT com] wrote: >> >> Torben: >> >> You should not have to use *sudo* *(SuperUser DO) *as this elevates you >> from your user level (torben) to root user. >> >> This may be causing issues where you are saving files as user *torben*, >> but when you become root, root's directory may be checked for the file. >> >> sudo is a dangerous tool and is meant to be used for specific uses such >> as installing software.?? Using it excessively can cause a typo to have >> catastrophic consequences.?? When your computer is configured correctly you >> should be able to run *gschem* or *pcb* (etc.) with your own user >> (torben) level privileges. >> >> Hope this helps. >> On 7/30/19 7:11 AM, Torben Friis (friistf AT gmail DOT com) [via >> geda-help AT delorie DOT com] wrote: >> >> Hi, >> Is Wilson's tutorial up-to-date? I run: >> >> torben AT torben-Aspire-E5-773G:~/gaf/myproject3$ sudo gsch2pcb project >> >> with 2 resistors and get: >> ---------------------------------- >> Done processing.?? Work performed: >> 2 file elements and 0 m4 elements added to board.pcb. >> >> Next step: >> 1.?? Run pcb on your file board.pcb. >> ?? ?? You will find all your footprints in a bundle ready for you to place >> ?? ?? or disperse with "Select -> Disperse all elements" in PCB. >> >> 2.?? From within PCB, select "File -> Load netlist file" and select >> ?? ?? board.net to load the netlist. >> >> 3.?? From within PCB, enter >> >> ?? ?? ?? ?? ?? ??:ExecuteFile(board.cmd) >> >> ?? ?? to propagate the pin names of all footprints to the layout. >> >> I then run: >> torben AT torben-Aspire-E5-773G:~/gaf/myproject3$ sudo pcb board.pcb >> >> and get: >> File 'board.pcb' has no font information, using default font >> ?? >> I then get the rather empty looking screen shown attached. >> >> I can disperse the components and run the netlist, but when I run >> >> sudo :ExecuteFile(board.cmd) (or :ExecuteFile(board.cmd)) >> ??nothing happens >> >> Incidentally, when I run: >> >> sudo gschem one.sch >> >> the curser moves to the next line. It looks as if some input is expected. >> What? >> >> >> Can anyone help? >> best regards >> torben >> >> >> On Thu, Feb 14, 2019 at 3:04 PM Torben Friis wrote: >> >>> Hi , >>> I have been looking fo the above element, but I cannot find it. I have >>> been looking for .../newlib and found it in two places, but neither one >>> appeared to provide it. >>> Is there anywhere else I can look for it? >>> torben >>> >> --0000000000003040a2058f5b8c81 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Erich and Glen,

I have run th= e geda:gsch2pcb_tutorial again and I get the same result.
I have install= ed gtk2.0 (sudo apt-get install gtk2.0) and have packages:

ii =C2=A0= gtk-update-ico 3.22.30-1ubu amd64 =C2=A0 =C2=A0 =C2=A0 =C2=A0icon theme cac= hing utility
ii =C2=A0gtk2-engines-m 0.98.2-2ubun amd64 =C2=A0 =C2=A0 = =C2=A0 =C2=A0cairo-based gtk+-2.0 theme engine
ii =C2=A0gtk2-engines-p 2= .24.32-1ubu amd64 =C2=A0 =C2=A0 =C2=A0 =C2=A0pixbuf-based theme for GTK+ 2.= x
ii =C2=A0gtk2.0-example 2.24.32-1ubu amd64 =C2=A0 =C2=A0 =C2=A0 =C2=A0= example files for GTK+ 2.0

and:

ii =C2=A0pcb =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A01:4.0.2-4 =C2=A0 =C2=A0all =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0printed circuit board (pcb) desig
ii =C2=A0pcb-common =C2= =A0 =C2=A0 1:4.0.2-4 =C2=A0 =C2=A0all =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0pri= nted circuit board (pcb) desig
ii =C2=A0pcb-gtk =C2=A0 =C2=A0 =C2=A0 =C2= =A01:4.0.2-4 =C2=A0 =C2=A0amd64 =C2=A0 =C2=A0 =C2=A0 =C2=A0printed circuit = board (pcb) desig
ii =C2=A0pcb-lesstif =C2=A0 =C2=A01:4.0.2-4 =C2=A0 =C2= =A0amd64 =C2=A0 =C2=A0 =C2=A0 =C2=A0printed circuit board (pcb) desig
The board.pcb file starts:

torben AT torben-Aspire-E5-773G:~/gaf/mypr= oject1$ cat board.pcb
# release: pcb 1.99x
# To read pcb files, the p= cb version (or the cvs source date) must be >=3D the file version
Fil= eVersion[20070407]
PCB["" 600000 500000]
Grid[10000.000000 = 0 0 0]
Cursor[0 0 0.000000]
PolyArea[200000000.000000]
Thermal[0.5= 00000]
DRC[1000 1000 1000 1000 1500 1000]
Flags("nameonpcb,uniqu= ename,clearnew,snappin")
Groups("1,c:2:3:4:5:6,s:7:8")Styles["Signal,1000,3600,2000,1000:Power,2500,6000,3500,1000:Fat,4000= ,6000,3500,1000:Skinny,600,2402,1181,600"]
Element(0x00 "TO92&= quot; "Q201" "2N3904" 0 0 0 100 0x00)
(
Pin(250 = 200 72 42 "1" 0x101)
.
.
.

Can you see anything w= rong?
It's a real mystery.
best regards
torben
=
On Sat= , Aug 3, 2019 at 4:46 PM Torben Friis <friistf AT gmail DOT com> wrote:
Hi Erich and Glen,=
I have started from scratch (uninstalling - instal= ling gEDA,=C2=A0 restarting the computer.) without using sudo and I have in= stalled gtk (sudo apt install gtk+3.0) and the result is shown in the attac= hed screen dump.
Same result, but there is somethin= g about gtk that I may have misunderstood.
best reg= ards
torben

On Fri, Aug 2, 2019 at 8:0= 7 AM Glen W. Ruch (g= w DOT ruch AT yahoo DOT com) [via geda-help AT delorie DOT com] <geda-help AT delorie DOT com> wrote:
=20 =20 =20

P.S.
You may also want to do a ls -l (list -long) to see how many files still belong to you and how many belong to root.

You may want to sudo chown to move the files back to the correct owner.

On my computer there is a difference between the user default permissions and root's default permissions.?? You may want to correct the permissions with sudo chmod

Regards.


On 8/1/19 4:34 PM, Glen W. Ruch (gw DOT ruch AT yahoo DOT com) [via geda-help AT delorie DOT com] wrote:
=20

Torben:

You should not have to use sudo (SuperUser DO) as this elevates you from your user level (torben) to root user.

This may be causing issues where you are saving files as user <= b>torben, but when you become root, root's directory may be checked for the file.

sudo is a dangerous tool and is meant to be used for specific uses such as installing software.?? Using it excessively can cause a typo to have catastrophic consequences.?? When your computer is configured correctly you should be able to run gs= chem or pcb (etc.) with your own user (torben) level privileges.

Hope this helps.

On 7/30/19 7:11 AM, Torben Friis (friistf AT gmail DOT com) [via geda-help AT delorie DOT com] wrote:
=20
Hi,
Is Wilson's tutorial up-to-date? I run:

torben AT torben-Aspire-E5-773G:~/gaf/myproject3$ sudo gsch2pcb project

with 2 resistors and get:
----------------------------------
Done processing.?? Work performed:
2 file elements and 0 m4 elements added to board.pcb.

Next step:
1.?? Run pcb on your file board.pcb.
?? ?? You will find all your footprints in a bundle ready for you to place
?? ?? or disperse with "Select -> Disperse all elements= " in PCB.

2.?? From within PCB, select "File -> Load netlist file= " and select
?? ?? board.net<= /a> to load the netlist.

3.?? From within PCB, enter

?? ?? ?? ?? ?? ??:ExecuteFile(board.cmd)

?? ?? to propagate the pin names of all footprints to the layout.

I then run:
torben AT torben-Aspire-E5-773G:~/gaf/myproject3$ sudo pcb board.pcb

and get:
File 'board.pcb' has no font information, using default font=
??
I then get the rather empty looking screen shown attached.

I can disperse the components and run the netlist, but when I run

sudo :ExecuteFile(board.cmd) (or :ExecuteFile(board.cmd))
??nothing happens

Incidentally, when I run:

sudo gschem one.sch

the curser moves to the next line. It looks as if some input is expected. What?


Can anyone help?
best regards
torben


Hi ,
I have been looking fo the above element, but I cannot find it. I have been looking for .../newlib and found it in two places, but neither one appeared to provide it.
Is there anywhere else I can look for it?
torben
--0000000000003040a2058f5b8c81--