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=Kfn8Hds3bGoo/p3itk0f7TCINmWcuuINJ3LbQTSly9o=; b=uulUaTAm1gJDZNX2BPa6D6rqIW1Q1va8Lyh3EuXtY4kwYEsGJn0nbHS9qh3KGzSYh7 0pkYJnasdIuKXTV8bEjUFmLT5MwEgYuGiH8iFuuP/ApdiXZ+h4I82WsxZnNrNSWeQ0uh Lwz8xiiIQWHeO/NaDa6sgVnJHZ3iTRZ1JhaoszsbBaUEDHZ+XKOe0WT2txNePcjYpzVJ rmrEB9CYfJfdLI+v9qc9sLs3/eoSRkmDQoWqB8mCdNkJU9yeax/vlReF2MbIyopIEb/5 5jYZmbiIeBkHIF0MasF1QaSnou9EcdVIVVVFWMtS1J5zfdK4x3su05PeDQNKy2JXsi9b 3Ybw== 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=Kfn8Hds3bGoo/p3itk0f7TCINmWcuuINJ3LbQTSly9o=; b=I+eLzAK8QJqxQ5EYFh4UghCfXe41F/pFeKqipOQotoCgNqFM8et5F8/op83G6h3DQU vqg7IP5fQ2xF7hic3gjYrwvNP4pukVXnv9Z87JLAoNfpDqBrXdzau2YmmUijNl3m37fG qEB1h1yV4Opbg4a4oNpPu281FDk3bKYOOoFazy6wpRhxESydEqS1gkOA/T0yTEZWTYSa KcNjK5n8qCc1l9aOH4RGU8jVIQWXMzDIiPzZuTw40XCKLsakM8xOOsEa09EhbuRgfawO 4NWKcCODqtjDvesGK8ayHvsmiCaJPnv/QYXMS8K6ItskHHlFYIaptJ7REZowdywMrDMl BCOg== X-Gm-Message-State: APjAAAUL9Qqv327vc59kLQ1AqXtuGJQwBppt6qWY/03BHvzj3PYe66Nr 0/LdhsNjoUF/ZgZodpWx8cFvW4x/eVXm3CevIlVK0ltM X-Google-Smtp-Source: APXvYqyFHS5yojTUfzrW9kV781jy1rm+oXX0MMr1vvHN8Gs4+DtgWqMr93k0LsfR/bV600PJ3r3dIphF/NDyCgtESG0= X-Received: by 2002:a2e:720b:: with SMTP id n11mr36154849ljc.213.1565003616108; Mon, 05 Aug 2019 04:13:36 -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 13:13:24 +0200 Message-ID: Subject: Re: [geda-help] Re: Picaxe 14M2 To: geda-help AT delorie DOT com Content-Type: multipart/alternative; boundary="0000000000009c4635058f5cccf3" Reply-To: geda-help AT delorie DOT com --0000000000009c4635058f5cccf3 Content-Type: text/plain; charset="UTF-8" Hi Erich and Glen, It appears that "pcb-gtk board.pcb" instead of "board.pcb" works. If that turns out to be the solution, should'nt the "geda:gsch2pcb_tutorial" be updated? best regards torben On Mon, Aug 5, 2019 at 11:43 AM Torben Friis wrote: > 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 >>>> >>> --0000000000009c4635058f5cccf3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Erich and Glen,
It appears that "pcb-gtk board.pcb" instead of "board.pc= b" works. If that turns out to be the solution, should'nt the=C2= =A0 "geda:gsch2pcb_tutorial" be updated?
= best regards
torben

On Mon, Aug 5, 2019 = at 11:43 AM Torben Friis <friistf AT g= mail.com> wrote:
Hi Erich and Glen,

I hav= e 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:

i= i =C2=A0gtk-update-ico 3.22.30-1ubu amd64 =C2=A0 =C2=A0 =C2=A0 =C2=A0icon t= heme caching 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-engi= nes-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=A0example 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-commo= n =C2=A0 =C2=A0 1: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-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 c= ircuit 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) desi= g

The board.pcb file starts:

torben AT torben-Aspire-E5-773G:~/g= af/myproject1$ cat board.pcb
# release: pcb 1.99x
# To read pcb files= , the pcb version (or the cvs source date) must be >=3D the file version=
FileVersion[20070407]
PCB["" 600000 500000]
Grid[10000.= 000000 0 0 0]
Cursor[0 0 0.000000]
PolyArea[200000000.000000]
Ther= mal[0.500000]
DRC[1000 1000 1000 1000 1500 1000]
Flags("nameonpc= b,uniquename,clearnew,snappin")
Groups("1,c:2:3:4:5:6,s:7:8&qu= ot;)
Styles["Signal,1000,3600,2000,1000:Power,2500,6000,3500,1000:F= at,4000,6000,3500,1000:Skinny,600,2402,1181,600"]
Element(0x00 &quo= t;TO92" "Q201" "2N3904" 0 0 0 100 0x00)
(
P= in(250 200 72 42 "1" 0x101)
.
.
.

Can you see any= thing wrong?
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 scr= atch (uninstalling - installing gEDA,=C2=A0 restarting the computer.) witho= ut using sudo and I have installed gtk (sudo apt install gtk+3.0) and the r= esult is shown in the attached screen dump.
Same re= sult, but there is something about gtk that I may have misunderstood.
=
best regards
torben

=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.


=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 Frii= s (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
--0000000000009c4635058f5cccf3--