Mailing list archives : pcb-rnd

ID:10
From:James Battat <jb...@wellesley.edu>
Date:Thu, 18 Aug 2016 23:36:16 -0400
Subject:[pcb-rnd] configuration issue, no auto_place
in-reply-to:8 from ge...@igor2.repo.hu
replies: 11 from ge...@igor2.repo.hu , 12 from ge...@igor2.repo.hu
 
--Apple-Mail=_FBE26D01-7512-4B5B-93B7-4033BD297767
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252
 
OK, returning to test the user configuration issue on mac.
 
When I start pcb-rnd the first time, the window is very small.  I resize =
the window and zoom level, and attempt to save it.
Here is Igor2=92s suggestion from a few weeks ago (transferred to our =
new mailing list):
  "It doesn't have auto_place. Fix: please go to the preferences window, =
general, click in the restore window geometry checkbox and then click on =
the button "Save in user config" on the bottom of the same page. That =
should immediately write it to the file - if the file still lacks =
auto_place after that, then you've just found a config save bug.=94
 
So I open Preferences =97> User PoV =97> General.
Check the =93Restore window geometry=94 box.
Click =93Save in user config=94
But I don=92t see =93auto_place=94 in my ~/.pcb-rnd/pcb-conf.lht file.
And the next time that I start pcb-rnd, I get the small window again.
 
Perhaps my config file had some write issue (permissions)?  So I blow =
away my old pcb-conf.lht, restart pcb-rnd and repeat the above.  The =
newly created pcb-conf.lht still doesn=92t have an =93auto_place=94 =
entry.
 
pcb-conf.lht file contents below for the original and the =93freshly =
created=94 .lht files.
 
James
 
Original file (held over from a previous version of pcb-rnd)
$ cat pcb-conf.lht
li:pcb-rnd-conf-v1 =3D {
 ha:overwrite =3D {
  ha:plugins =3D {
   ha:hid_gtk =3D {
    compact_horizontal =3D { 1 }
    ha:auto_save_window_geometry =3D {
     to_user =3D {  0  }
    }
    ha:window_geometry =3D {
     netlist_x =3D {  0  }
     netlist_y =3D {  0  }
     pinout_x =3D {  0  }
     pinout_y =3D {  0  }
     library_x =3D {  0  }
     library_y =3D {  22  }
     pinout_height =3D {  0  }
     log_x =3D {  0  }
     log_y =3D {  0  }
     netlist_width =3D {  0  }
     drc_x =3D {  0  }
     drc_y =3D {  0  }
     netlist_height =3D {  0  }
     top_height =3D {  956  }
     library_width =3D {  417  }
     drc_height =3D {  0  }
     top_width =3D {  1243  }
     drc_width =3D {  0  }
     keyref_width =3D {  0  }
     keyref_height =3D {  0  }
     pinout_width =3D {  0  }
     keyref_x =3D {  0  }
     keyref_y =3D {  0  }
     library_height =3D {  244  }
     log_width =3D {  0  }
     top_x =3D {  0  }
     top_y =3D {  22  }
     log_height =3D {  0  }
    }
    compact_vertical =3D { 1 }
    history_size =3D { 16 }
    use_command_window =3D { 0 }
   }
  }
  ha:rc =3D {
   backup_interval =3D { 60 }
  }
 }
}
 
 
Newly created pcb-conf.lht
$ cat pcb-conf.lht=20
li:pcb-rnd-conf-v1 =3D {
 ha:overwrite =3D {
  ha:plugins =3D {
   ha:hid_gtk =3D {
    compact_horizontal =3D { 1 }
    compact_vertical =3D { 1 }
    history_size =3D { 16 }
    use_command_window =3D { 0 }
   }
  }
  ha:rc =3D {
   backup_interval =3D { 60 }
  }
 }
}
 
 
 
On Aug 17, 2016, at 11:31 PM, gedau@igor2.repo.hu wrote:
 
>=20
>=20
> On Wed, 17 Aug 2016, James Battat wrote:
>=20
>> Hi Igor2, all,
>>=20
>> On my mac, after an svn update in trunk, configure fails:
>>=20
>>=20
>> $ ./configure
>> make: Nothing to be done for `all'.
>> --- Detecting host
>> Looking for a shell... /bin/sh -c
>> Looking for a shell escape character... found: '\'
>> Detecting temp dir... validated =
/Users/jbattat/geda_pcb-rnd/trunk/scconfig/
>> Checking for system type... OK (name: MacOSX; class: UNIX)
>> Checking for ar... OK (ar)
>> Checking for mkdir... OK (mkdir -p)
>> Checking for rm... OK (rm -rf)
>> Checking for cp... OK (cp -rp)
>> Checking for ln... OK (ln -sf)
>> --- Detecting target (same as host)
>> Checking for cc (target)... OK ('gcc', ' -pipe', '')
>> Checking for -fpic... OK (-fPIC)
>> Checking for mkdtemp... OK ('#include <stdlib.h>\n', '(null)' and =
'(null)')
>> Checking for realpath()... OK ('(null)' and '(null)')
>> Checking for readdir()... OK ('#include <dirent.h>\n', '(null)' and
>> '(null)')
>> Checking for rint... OK ('#include <math.h>\n', '' and '')
>> Node libs/userpass/getpwuid/* is required but I don't know how to =
detect it.
>> ./configure: line 4:  5001 Abort trap: 6           ./configure "$@"
>>=20
>=20
> Please run "make distclean" in trunk/. (There was a big change in how =
pcb-rnd used scconfig which requires a full recompilation of scconfig =
binaries.)
>=20
> Regards,
>=20
> Igor2
 
 
--Apple-Mail=_FBE26D01-7512-4B5B-93B7-4033BD297767
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=windows-1252
 
<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dwindows-1252"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">OK, =
returning to test the user configuration issue on =
mac.<div><br></div><div>When I start pcb-rnd the first time, the window =
is very small. &nbsp;I resize the window and zoom level, and attempt to =
save it.</div><div>Here is Igor2=92s suggestion from a few weeks ago =
(transferred to our new mailing list):</div><div>&nbsp; "It doesn't have =
auto_place. Fix: please go to the preferences window, general, click in =
the restore window geometry checkbox and then click on the button "Save =
in user config" on the bottom of the&nbsp;same page. That should =
immediately write it to the file - if the file still lacks auto_place =
after that, then you've just found a config save =
bug.=94</div><div><br></div><div>So I open Preferences =97&gt; User PoV =
=97&gt; General.</div><div>Check the =93Restore window geometry=94 =
box.</div><div>Click =93Save in user config=94</div><div>But I don=92t =
see =93auto_place=94 in my ~/.pcb-rnd/pcb-conf.lht file.</div><div>And =
the next time that I start pcb-rnd, I get the small window =
again.</div><div><br></div><div>Perhaps my config file had some write =
issue (permissions)? &nbsp;So I blow away my old pcb-conf.lht, restart =
pcb-rnd and repeat the above. &nbsp;The newly created pcb-conf.lht still =
doesn=92t have an =93auto_place=94 =
entry.</div><div><br></div><div>pcb-conf.lht file contents below for the =
original and the =93freshly created=94 .lht =
files.</div><div><br></div><div>James</div><div><br></div><div>Original =
file (held over from a previous version of pcb-rnd)</div><div><div =
style=3D"margin: 0px; font-size: 11px; font-family: Menlo;">$ cat =
pcb-conf.lht</div><div style=3D"margin: 0px; font-size: 11px; =
font-family: Menlo;">li:pcb-rnd-conf-v1 =3D {</div><div style=3D"margin: =
0px; font-size: 11px; font-family: Menlo;">&nbsp;ha:overwrite =3D =
{</div><div style=3D"margin: 0px; font-size: 11px; font-family: =
Menlo;">&nbsp; ha:plugins =3D {</div><div style=3D"margin: 0px; =
font-size: 11px; font-family: Menlo;">&nbsp;&nbsp; ha:hid_gtk =3D =
{</div><div style=3D"margin: 0px; font-size: 11px; font-family: =
Menlo;">&nbsp; &nbsp; compact_horizontal =3D { 1 }</div><div =
style=3D"margin: 0px; font-size: 11px; font-family: Menlo;">&nbsp; =
&nbsp; ha:auto_save_window_geometry =3D {</div><div style=3D"margin: =
0px; font-size: 11px; font-family: Menlo;">&nbsp;&nbsp; &nbsp; to_user =3D=
 {&nbsp; 0&nbsp; }</div><div style=3D"margin: 0px; font-size: 11px; =
font-family: Menlo;">&nbsp; &nbsp; }</div><div style=3D"margin: 0px; =
font-size: 11px; font-family: Menlo;">&nbsp; &nbsp; ha:window_geometry =3D=
 {</div><div style=3D"margin: 0px; font-size: 11px; font-family: =
Menlo;">&nbsp;&nbsp; &nbsp; netlist_x =3D {&nbsp; 0&nbsp; }</div><div =
style=3D"margin: 0px; font-size: 11px; font-family: Menlo;">&nbsp;&nbsp; =
&nbsp; netlist_y =3D {&nbsp; 0&nbsp; }</div><div style=3D"margin: 0px; =
font-size: 11px; font-family: Menlo;">&nbsp;&nbsp; &nbsp; pinout_x =3D =
{&nbsp; 0&nbsp; }</div><div style=3D"margin: 0px; font-size: 11px; =
font-family: Menlo;">&nbsp;&nbsp; &nbsp; pinout_y =3D {&nbsp; 0&nbsp; =
}</div><div style=3D"margin: 0px; font-size: 11px; font-family: =
Menlo;">&nbsp;&nbsp; &nbsp; library_x =3D {&nbsp; 0&nbsp; }</div><div =
style=3D"margin: 0px; font-size: 11px; font-family: Menlo;">&nbsp;&nbsp; =
&nbsp; library_y =3D {&nbsp; 22&nbsp; }</div><div style=3D"margin: 0px; =
font-size: 11px; font-family: Menlo;">&nbsp;&nbsp; &nbsp; pinout_height =
=3D {&nbsp; 0&nbsp; }</div><div style=3D"margin: 0px; font-size: 11px; =
font-family: Menlo;">&nbsp;&nbsp; &nbsp; log_x =3D {&nbsp; 0&nbsp; =
}</div><div style=3D"margin: 0px; font-size: 11px; font-family: =
Menlo;">&nbsp;&nbsp; &nbsp; log_y =3D {&nbsp; 0&nbsp; }</div><div =
style=3D"margin: 0px; font-size: 11px; font-family: Menlo;">&nbsp;&nbsp; =
&nbsp; netlist_width =3D {&nbsp; 0&nbsp; }</div><div style=3D"margin: =
0px; font-size: 11px; font-family: Menlo;">&nbsp;&nbsp; &nbsp; drc_x =3D =
{&nbsp; 0&nbsp; }</div><div style=3D"margin: 0px; font-size: 11px; =
font-family: Menlo;">&nbsp;&nbsp; &nbsp; drc_y =3D {&nbsp; 0&nbsp; =
}</div><div style=3D"margin: 0px; font-size: 11px; font-family: =
Menlo;">&nbsp;&nbsp; &nbsp; netlist_height =3D {&nbsp; 0&nbsp; =
}</div><div style=3D"margin: 0px; font-size: 11px; font-family: =
Menlo;">&nbsp;&nbsp; &nbsp; top_height =3D {&nbsp; 956&nbsp; }</div><div =
style=3D"margin: 0px; font-size: 11px; font-family: Menlo;">&nbsp;&nbsp; =
&nbsp; library_width =3D {&nbsp; 417&nbsp; }</div><div style=3D"margin: =
0px; font-size: 11px; font-family: Menlo;">&nbsp;&nbsp; &nbsp; =
drc_height =3D {&nbsp; 0&nbsp; }</div><div style=3D"margin: 0px; =
font-size: 11px; font-family: Menlo;">&nbsp;&nbsp; &nbsp; top_width =3D =
{&nbsp; 1243&nbsp; }</div><div style=3D"margin: 0px; font-size: 11px; =
font-family: Menlo;">&nbsp;&nbsp; &nbsp; drc_width =3D {&nbsp; 0&nbsp; =
}</div><div style=3D"margin: 0px; font-size: 11px; font-family: =
Menlo;">&nbsp;&nbsp; &nbsp; keyref_width =3D {&nbsp; 0&nbsp; }</div><div =
style=3D"margin: 0px; font-size: 11px; font-family: Menlo;">&nbsp;&nbsp; =
&nbsp; keyref_height =3D {&nbsp; 0&nbsp; }</div><div style=3D"margin: =
0px; font-size: 11px; font-family: Menlo;">&nbsp;&nbsp; &nbsp; =
pinout_width =3D {&nbsp; 0&nbsp; }</div><div style=3D"margin: 0px; =
font-size: 11px; font-family: Menlo;">&nbsp;&nbsp; &nbsp; keyref_x =3D =
{&nbsp; 0&nbsp; }</div><div style=3D"margin: 0px; font-size: 11px; =
font-family: Menlo;">&nbsp;&nbsp; &nbsp; keyref_y =3D {&nbsp; 0&nbsp; =
}</div><div style=3D"margin: 0px; font-size: 11px; font-family: =
Menlo;">&nbsp;&nbsp; &nbsp; library_height =3D {&nbsp; 244&nbsp; =
}</div><div style=3D"margin: 0px; font-size: 11px; font-family: =
Menlo;">&nbsp;&nbsp; &nbsp; log_width =3D {&nbsp; 0&nbsp; }</div><div =
style=3D"margin: 0px; font-size: 11px; font-family: Menlo;">&nbsp;&nbsp; =
&nbsp; top_x =3D {&nbsp; 0&nbsp; }</div><div style=3D"margin: 0px; =
font-size: 11px; font-family: Menlo;">&nbsp;&nbsp; &nbsp; top_y =3D =
{&nbsp; 22&nbsp; }</div><div style=3D"margin: 0px; font-size: 11px; =
font-family: Menlo;">&nbsp;&nbsp; &nbsp; log_height =3D {&nbsp; 0&nbsp; =
}</div><div style=3D"margin: 0px; font-size: 11px; font-family: =
Menlo;">&nbsp; &nbsp; }</div><div style=3D"margin: 0px; font-size: 11px; =
font-family: Menlo;">&nbsp; &nbsp; compact_vertical =3D { 1 }</div><div =
style=3D"margin: 0px; font-size: 11px; font-family: Menlo;">&nbsp; =
&nbsp; history_size =3D { 16 }</div><div style=3D"margin: 0px; =
font-size: 11px; font-family: Menlo;">&nbsp; &nbsp; use_command_window =3D=
 { 0 }</div><div style=3D"margin: 0px; font-size: 11px; font-family: =
Menlo;">&nbsp;&nbsp; }</div><div style=3D"margin: 0px; font-size: 11px; =
font-family: Menlo;">&nbsp; }</div><div style=3D"margin: 0px; font-size: =
11px; font-family: Menlo;">&nbsp; ha:rc =3D {</div><div style=3D"margin: =
0px; font-size: 11px; font-family: Menlo;">&nbsp;&nbsp; backup_interval =
=3D { 60 }</div><div style=3D"margin: 0px; font-size: 11px; font-family: =
Menlo;">&nbsp; }</div><div style=3D"margin: 0px; font-size: 11px; =
font-family: Menlo;">&nbsp;}</div><div style=3D"margin: 0px; font-size: =
11px; font-family: =
Menlo;">}</div></div><div><br></div><div><br></div><div>Newly created =
pcb-conf.lht</div><div><div style=3D"margin: 0px; font-size: 11px; =
font-family: Menlo;">$ cat pcb-conf.lht&nbsp;</div><div style=3D"margin: =
0px; font-size: 11px; font-family: Menlo;">li:pcb-rnd-conf-v1 =3D =
{</div><div style=3D"margin: 0px; font-size: 11px; font-family: =
Menlo;">&nbsp;ha:overwrite =3D {</div><div style=3D"margin: 0px; =
font-size: 11px; font-family: Menlo;">&nbsp; ha:plugins =3D {</div><div =
style=3D"margin: 0px; font-size: 11px; font-family: Menlo;">&nbsp;&nbsp; =
ha:hid_gtk =3D {</div><div style=3D"margin: 0px; font-size: 11px; =
font-family: Menlo;">&nbsp; &nbsp; compact_horizontal =3D { 1 =
}</div><div style=3D"margin: 0px; font-size: 11px; font-family: =
Menlo;">&nbsp; &nbsp; compact_vertical =3D { 1 }</div><div =
style=3D"margin: 0px; font-size: 11px; font-family: Menlo;">&nbsp; =
&nbsp; history_size =3D { 16 }</div><div style=3D"margin: 0px; =
font-size: 11px; font-family: Menlo;">&nbsp; &nbsp; use_command_window =3D=
 { 0 }</div><div style=3D"margin: 0px; font-size: 11px; font-family: =
Menlo;">&nbsp;&nbsp; }</div><div style=3D"margin: 0px; font-size: 11px; =
font-family: Menlo;">&nbsp; }</div><div style=3D"margin: 0px; font-size: =
11px; font-family: Menlo;">&nbsp; ha:rc =3D {</div><div style=3D"margin: =
0px; font-size: 11px; font-family: Menlo;">&nbsp;&nbsp; backup_interval =
=3D { 60 }</div><div style=3D"margin: 0px; font-size: 11px; font-family: =
Menlo;">&nbsp; }</div><div style=3D"margin: 0px; font-size: 11px; =
font-family: Menlo;">&nbsp;}</div><div style=3D"margin: 0px; font-size: =
11px; font-family: =
Menlo;">}</div></div><div><br></div><div><br></div><div><br><div><div>On =
Aug 17, 2016, at 11:31 PM, <a =
href=3D"mailto:gedau@igor2.repo.hu">gedau@igor2.repo.hu</a> =
wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><br><br>On Wed, 17 Aug 2016, James Battat =
wrote:<br><br><blockquote type=3D"cite">Hi Igor2, all,<br><br>On my mac, =
after an svn update in trunk, configure fails:<br><br><br>$ =
./configure<br>make: Nothing to be done for `all'.<br>--- Detecting =
host<br>Looking for a shell... /bin/sh -c<br>Looking for a shell escape =
character... found: '\'<br>Detecting temp dir... validated =
/Users/jbattat/geda_pcb-rnd/trunk/scconfig/<br>Checking for system =
type... OK (name: MacOSX; class: UNIX)<br>Checking for ar... OK =
(ar)<br>Checking for mkdir... OK (mkdir -p)<br>Checking for rm... OK (rm =
-rf)<br>Checking for cp... OK (cp -rp)<br>Checking for ln... OK (ln =
-sf)<br>--- Detecting target (same as host)<br>Checking for cc =
(target)... OK ('gcc', ' -pipe', '')<br>Checking for -fpic... OK =
(-fPIC)<br>Checking for mkdtemp... OK ('#include &lt;stdlib.h&gt;\n', =
'(null)' and '(null)')<br>Checking for realpath()... OK ('(null)' and =
'(null)')<br>Checking for readdir()... OK ('#include =
&lt;dirent.h&gt;\n', '(null)' and<br>'(null)')<br>Checking for rint... =
OK ('#include &lt;math.h&gt;\n', '' and '')<br>Node =
libs/userpass/getpwuid/* is required but I don't know how to detect =
it.<br>./configure: line 4:&nbsp; 5001 Abort trap: 6 &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; ./configure "$@"<br><br></blockquote><br>Please run =
"make distclean" in trunk/. (There was a big change in how pcb-rnd used =
scconfig which requires a full recompilation of scconfig =
binaries.)<br><br>Regards,<br><br>Igor2</blockquote></div><br></div></body=
></html>=
 
--Apple-Mail=_FBE26D01-7512-4B5B-93B7-4033BD297767--
 

Reply subtree:
10 [pcb-rnd] configuration issue, no auto_place from James Battat <jb...@wellesley.edu>
  11 Re: [pcb-rnd] configuration issue, no auto_place from ge...@igor2.repo.hu
  12 Re: [pcb-rnd] configuration issue, no auto_place from ge...@igor2.repo.hu
    13 Re: [pcb-rnd] configuration issue, no auto_place from James Battat <jb...@wellesley.edu>