<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I had commented out<br>
# entry = Entry(master, width=10,
textvariable=self.slowdownVar).grid(row=4, column=1), which had worked
fine previously to my changes.<br>
I added your two statements after remarking <br>
<pre wrap="">entry = Entry(master, width=10).grid(row=4, column=1)
</pre>
<pre wrap=""><!----></pre>
IDLE & the Command prompt window produced, which was really what I
was showing in the image that I removed:<br>
<br>
Exception in Tkinter callback<br>
Traceback (most recent call last):<br>
File "C:\Python25\Lib\lib-tk\Tkinter.py", line 1403, in __call__<br>
return self.func(*args)<br>
File
"C:\Sandia_Meteors\Sentinel_Development\Development_Sentuser-Utilities\sentuser\sentuserNC25-Dev5.py",
line 579, in OperationalSettings<br>
dialog = OperationalSettingsDialog( self.master, set_loc_dict )<br>
File
"C:\Sandia_Meteors\Sentinel_Development\Development_Sentuser-Utilities\sentuser\sentuserNC25-Dev5.py",
line 84, in __init__<br>
tkSimpleDialog.Dialog.__init__(self, parent)<br>
File "C:\Python25\lib\lib-tk\tkSimpleDialog.py", line 64, in __init__<br>
self.initial_focus = self.body(body)<br>
File
"C:\Sandia_Meteors\Sentinel_Development\Development_Sentuser-Utilities\sentuser\sentuserNC25-Dev5.py",
line 115, in body<br>
entry.insert(0,self.slowdown)<br>
AttributeError: OperationalSettingsDialog instance has no attribute
'slowdown'<br>
<pre wrap=""><!----></pre>
Kent Johnson wrote:
<blockquote
cite="mid:1c2a2c590903090716u79722c84t6e9ec737c95bdf4d@mail.gmail.com"
type="cite">
<pre wrap="">On Mon, Mar 9, 2009 at 8:30 AM, Wayne Watson
<a class="moz-txt-link-rfc2396E" href="mailto:sierra_mtnview@sbcglobal.net"><sierra_mtnview@sbcglobal.net></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap=""> entry = Entry(master, width=10).grid(row=4, column=1)
</pre>
</blockquote>
<pre wrap=""><!---->
You have to write this as
entry = Entry(master, width=10)
entry.grid(row=4, column=1)
The grid() method returns None, that is why entry is None.
Kent
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<meta content="text/html;" http-equiv="Content-Type">
<title>Signature.html</title>
<pre class="moz-signature" cols="76"> Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.01 Deg. W, 39.26 Deg. N) GMT-8 hr std. time)
<font color="#330099"> </font>
<span style="font-weight: bold;"></span><b><b
style="color: rgb(204, 51, 204);" class="b"><span
style="color: rgb(255, 153, 255);"></span><span
style="font-family: monospace;"></span></b></b>
<span style="color: rgb(102, 0, 204);"> </span><font
class="sqq"><span style="color: rgb(102, 0, 204);">“</span><span
style="color: rgb(102, 0, 204);" class="sqq">In mathematics you don't understand things. </span>
<span style="color: rgb(102, 0, 204);"> </span><span
style="color: rgb(102, 0, 204);" class="sqq">You just get used to them.</span><span
style="color: rgb(102, 0, 204);">”</span> -- John Von Neumann
(P.S. The same is true in life.)
</font></pre>
<div style="margin-left: 40px;">
<b><b style="color: rgb(204, 51, 204);" class="b"><span
style="font-family: monospace;"></span></b></b></div>
<pre class="moz-signature" cols="76"><b><b
style="color: rgb(204, 51, 204);" class="b"><span
style="font-family: monospace; color: rgb(153, 51, 153);"></span></b></b><b
style="color: rgb(204, 51, 204);" class="b"><span
style="font-family: monospace; color: rgb(153, 51, 153);"></span></b><span
style="color: rgb(153, 51, 153);"></span><span
style="color: rgb(153, 51, 153);">
</span><span style="color: rgb(153, 51, 153);"></span><b
style="color: rgb(204, 51, 204);" class="b"><span
style="font-family: monospace;"></span></b><span
style="color: rgb(204, 51, 204);"></span> Web Page: <<a class="moz-txt-link-abbreviated" href="http://www.speckledwithstars.net/">www.speckledwithstars.net/</a>></pre>
</div>
</body>
</html>