Mail Archives: geda-help/2019/08/05/07:27:16
--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 <friistf AT gmail DOT com> 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 <friistf AT gmail DOT com> 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] <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 <friistf AT gmail DOT com> 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
<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:arial,he=
lvetica,sans-serif;font-size:large">Hi Erich and Glen,</div><div class=3D"g=
mail_default" style=3D"font-family:arial,helvetica,sans-serif;font-size:lar=
ge">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?</div><div class=3D"gmail=
_default" style=3D"font-family:arial,helvetica,sans-serif;font-size:large">=
best regards</div><div class=3D"gmail_default" style=3D"font-family:arial,h=
elvetica,sans-serif;font-size:large">torben<br></div></div><br><div class=
=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Aug 5, 2019 =
at 11:43 AM Torben Friis <<a href=3D"mailto:friistf AT gmail DOT com">friistf AT g=
mail.com</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D=
"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-le=
ft:1ex"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:=
arial,helvetica,sans-serif;font-size:large">Hi Erich and Glen,<br><br>I hav=
e run the geda:gsch2pcb_tutorial again and I get the same result.<br>I have=
installed gtk2.0 (sudo apt-get install gtk2.0) and have packages:<br><br>i=
i =C2=A0gtk-update-ico 3.22.30-1ubu amd64 =C2=A0 =C2=A0 =C2=A0 =C2=A0icon t=
heme caching utility<br>ii =C2=A0gtk2-engines-m 0.98.2-2ubun amd64 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0cairo-based gtk+-2.0 theme engine<br>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<br>ii =C2=A0gtk2.0-example 2.24.32-1ubu amd64 =C2=A0 =C2=A0 =C2=A0=
=C2=A0example files for GTK+ 2.0<br><br>and:<br><br>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<br>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<br>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<br>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<br><br>The board.pcb file starts:<br><br>torben AT torben-Aspire-E5-773G:~/g=
af/myproject1$ cat board.pcb<br># release: pcb 1.99x<br># To read pcb files=
, the pcb version (or the cvs source date) must be >=3D the file version=
<br>FileVersion[20070407]<br>PCB["" 600000 500000]<br>Grid[10000.=
000000 0 0 0]<br>Cursor[0 0 0.000000]<br>PolyArea[200000000.000000]<br>Ther=
mal[0.500000]<br>DRC[1000 1000 1000 1000 1500 1000]<br>Flags("nameonpc=
b,uniquename,clearnew,snappin")<br>Groups("1,c:2:3:4:5:6,s:7:8&qu=
ot;)<br>Styles["Signal,1000,3600,2000,1000:Power,2500,6000,3500,1000:F=
at,4000,6000,3500,1000:Skinny,600,2402,1181,600"]<br>Element(0x00 &quo=
t;TO92" "Q201" "2N3904" 0 0 0 100 0x00)<br>(<br> P=
in(250 200 72 42 "1" 0x101)<br>.<br>.<br>.<br><br>Can you see any=
thing wrong?<br>It's a real mystery.<br>best regards<br>torben<br></div=
></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr"=
>On Sat, Aug 3, 2019 at 4:46 PM Torben Friis <<a href=3D"mailto:friistf@=
gmail.com" target=3D"_blank">friistf AT gmail DOT com</a>> wrote:<br></div><blo=
ckquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left=
:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div class=
=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-serif;font-siz=
e:large">Hi Erich and Glen,</div><div class=3D"gmail_default" style=3D"font=
-family:arial,helvetica,sans-serif;font-size:large">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.</div><div class=3D"gmail_defaul=
t" style=3D"font-family:arial,helvetica,sans-serif;font-size:large">Same re=
sult, but there is something about gtk that I may have misunderstood.</div>=
<div class=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-seri=
f;font-size:large">best regards<br></div><div class=3D"gmail_default" style=
=3D"font-family:arial,helvetica,sans-serif;font-size:large">torben<br></div=
></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr"=
>On Fri, Aug 2, 2019 at 8:07 AM Glen W. Ruch (<a href=3D"mailto:gw DOT ruch AT yah=
oo.com" target=3D"_blank">gw DOT ruch AT yahoo DOT com</a>) [via <a href=3D"mailto:ged=
a-help AT delorie DOT com" target=3D"_blank">geda-help AT delorie DOT com</a>] <<a hre=
f=3D"mailto:geda-help AT delorie DOT com" target=3D"_blank">geda-help AT delorie DOT com<=
/a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0=
px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
=20
=20
=20
<div bgcolor=3D"#FFFFFF">
<p>P.S.<br>
You may also want to do a <b>ls -l </b>(list -long) to see how
many files still belong to you and how many belong to root.</p>
<p>You may want to <b>sudo chown</b> to move the files back to the
correct owner.</p>
<p>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 <b>sudo chmod</b><br>
</p>
<p>Regards.<br>
</p>
<p><br>
</p>
<div class=3D"gmail-m_-7760036253015715348gmail-m_6568291093109405877gm=
ail-m_-428759268849965292moz-cite-prefix">On 8/1/19 4:34 PM, Glen W. Ruch
(<a class=3D"gmail-m_-7760036253015715348gmail-m_6568291093109405877g=
mail-m_-428759268849965292moz-txt-link-abbreviated" href=3D"mailto:gw.ruch@=
yahoo.com" target=3D"_blank">gw DOT ruch AT yahoo DOT com</a>) [via <a class=3D"gmail-=
m_-7760036253015715348gmail-m_6568291093109405877gmail-m_-42875926884996529=
2moz-txt-link-abbreviated" href=3D"mailto:geda-help AT delorie DOT com" target=3D"=
_blank">geda-help AT delorie DOT com</a>] wrote:<br>
</div>
<blockquote type=3D"cite">
=20
<p>Torben:</p>
<p>You should not have to use <i><b>sudo</b></i> <i><b>(SuperUser
DO) </b></i>as this elevates you from your user level
(torben) to root user. <br>
</p>
<p>This may be causing issues where you are saving files as user <i><=
b>torben</b></i>,
but when you become root, root's directory may be checked for
the file.</p>
<p>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 <i><b>gs=
chem</b></i>
or <i><b>pcb</b></i> (etc.) with your own user (torben) level
privileges.</p>
<p>Hope this helps.<br>
</p>
<div class=3D"gmail-m_-7760036253015715348gmail-m_6568291093109405877=
gmail-m_-428759268849965292moz-cite-prefix">On 7/30/19 7:11 AM, Torben Frii=
s (<a class=3D"gmail-m_-7760036253015715348gmail-m_6568291093109405877gmail=
-m_-428759268849965292moz-txt-link-abbreviated" href=3D"mailto:friistf AT gmai=
l.com" target=3D"_blank">friistf AT gmail DOT com</a>)
[via <a class=3D"gmail-m_-7760036253015715348gmail-m_65682910931094=
05877gmail-m_-428759268849965292moz-txt-link-abbreviated" href=3D"mailto:ge=
da-help AT delorie DOT com" target=3D"_blank">geda-help AT delorie DOT com</a>]
wrote:<br>
</div>
<blockquote type=3D"cite">
=20
<div dir=3D"ltr">
<div class=3D"gmail_default" style=3D"font-family:arial,helvetica=
,sans-serif;font-size:large">Hi,</div>
<div class=3D"gmail_default" style=3D"font-family:arial,helvetica=
,sans-serif;font-size:large">Is
Wilson's tutorial up-to-date? I run:<br>
</div>
<div class=3D"gmail_default" style=3D"font-family:arial,helvetica=
,sans-serif;font-size:large"><br>
</div>
<div class=3D"gmail_default" style=3D"font-family:arial,helvetica=
,sans-serif;font-size:large">torben AT torben-Aspire-E5-773G:~/gaf/myproject3$
sudo gsch2pcb project</div>
<div class=3D"gmail_default" style=3D"font-family:arial,helvetica=
,sans-serif;font-size:large"><br>
</div>
<div class=3D"gmail_default" style=3D"font-family:arial,helvetica=
,sans-serif;font-size:large">
with 2 resistors and get:<br>
</div>
<div class=3D"gmail_default" style=3D"font-family:arial,helvetica=
,sans-serif;font-size:large">----------------------------------<br>
Done processing.?? Work performed:<br>
2 file elements and 0 m4 elements added to board.pcb.<br>
<br>
Next step:<br>
1.?? Run pcb on your file board.pcb.<br>
?? ?? You will find all your footprints in a bundle ready
for you to place<br>
?? ?? or disperse with "Select -> Disperse all elements=
"
in PCB.<br>
<br>
2.?? From within PCB, select "File -> Load netlist file=
"
and select <br>
?? ?? <a href=3D"http://board.net" target=3D"_blank">board.net<=
/a> to load the netlist.<br>
<br>
3.?? From within PCB, enter<br>
<br>
?? ?? ?? ?? ?? ??:ExecuteFile(board.cmd)<br>
<br>
?? ?? to propagate the pin names of all footprints to the
layout.<br>
</div>
<div class=3D"gmail_default" style=3D"font-family:arial,helvetica=
,sans-serif;font-size:large"><br>
</div>
<div class=3D"gmail_default" style=3D"font-family:arial,helvetica=
,sans-serif;font-size:large">I
then run:<br>
torben AT torben-Aspire-E5-773G:~/gaf/myproject3$ sudo pcb
board.pcb<br>
</div>
<div class=3D"gmail_default" style=3D"font-family:arial,helvetica=
,sans-serif;font-size:large"><br>
</div>
<div class=3D"gmail_default" style=3D"font-family:arial,helvetica=
,sans-serif;font-size:large">and
get:<br>
</div>
<div class=3D"gmail_default" style=3D"font-family:arial,helvetica=
,sans-serif;font-size:large">File
'board.pcb' has no font information, using default font=
<br>
</div>
<div class=3D"gmail_default" style=3D"font-family:arial,helvetica=
,sans-serif;font-size:large">??<br>
</div>
<div class=3D"gmail_default" style=3D"font-family:arial,helvetica=
,sans-serif;font-size:large">I
then get the rather empty looking screen shown attached.</div>
<div class=3D"gmail_default" style=3D"font-family:arial,helvetica=
,sans-serif;font-size:large"><br>
</div>
<div class=3D"gmail_default" style=3D"font-family:arial,helvetica=
,sans-serif;font-size:large">I
can disperse the components and run the netlist, but when I
run</div>
<div class=3D"gmail_default" style=3D"font-family:arial,helvetica=
,sans-serif;font-size:large"><br>
</div>
<div class=3D"gmail_default" style=3D"font-family:arial,helvetica=
,sans-serif;font-size:large">sudo
:ExecuteFile(board.cmd) (or :ExecuteFile(board.cmd))</div>
<div class=3D"gmail_default" style=3D"font-family:arial,helvetica=
,sans-serif;font-size:large">??nothing
happens</div>
<div class=3D"gmail_default" style=3D"font-family:arial,helvetica=
,sans-serif;font-size:large"><br>
</div>
<div class=3D"gmail_default" style=3D"font-family:arial,helvetica=
,sans-serif;font-size:large">Incidentally,
when I run:</div>
<div class=3D"gmail_default" style=3D"font-family:arial,helvetica=
,sans-serif;font-size:large"><br>
</div>
<div class=3D"gmail_default" style=3D"font-family:arial,helvetica=
,sans-serif;font-size:large">sudo
gschem one.sch</div>
<div class=3D"gmail_default" style=3D"font-family:arial,helvetica=
,sans-serif;font-size:large"><br>
</div>
<div class=3D"gmail_default" style=3D"font-family:arial,helvetica=
,sans-serif;font-size:large">the
curser moves to the next line. It looks as if some input is
expected. What?<br>
</div>
<div class=3D"gmail_default" style=3D"font-family:arial,helvetica=
,sans-serif;font-size:large"><br>
</div>
<div><br>
</div>
<div>
<div style=3D"font-family:arial,helvetica,sans-serif;font-size:=
large" class=3D"gmail_default">Can anyone help?</div>
<div style=3D"font-family:arial,helvetica,sans-serif;font-size:=
large" class=3D"gmail_default">best regards</div>
<div style=3D"font-family:arial,helvetica,sans-serif;font-size:=
large" class=3D"gmail_default">torben</div>
<br>
</div>
</div>
<br>
<div class=3D"gmail_quote">
<div dir=3D"ltr" class=3D"gmail_attr">On Thu, Feb 14, 2019 at 3:0=
4
PM Torben Friis <<a href=3D"mailto:friistf AT gmail DOT com" target=
=3D"_blank">friistf AT gmail DOT com</a>>
wrote:<br>
</div>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8=
ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir=3D"ltr">
<div class=3D"gmail_default" style=3D"font-family:arial,helve=
tica,sans-serif;font-size:large">Hi
,</div>
<div class=3D"gmail_default" style=3D"font-family:arial,helve=
tica,sans-serif;font-size:large">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.</div=
>
<div class=3D"gmail_default" style=3D"font-family:arial,helve=
tica,sans-serif;font-size:large">Is
there anywhere else I can look for it?</div>
<div class=3D"gmail_default" style=3D"font-family:arial,helve=
tica,sans-serif;font-size:large">torben<br>
</div>
</div>
</blockquote>
</div>
</blockquote>
</blockquote>
</div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
--0000000000009c4635058f5cccf3--
- Raw text -