Ticket #786: Exception.html

File Exception.html, 8.0 KB (added by zooko, at 2009-08-11T17:02:32Z)
Line 
1<html><head><title>Exception</title></head><body><style type="text/css">
2p.error {
3  color: black;
4  font-family: Verdana, Arial, helvetica, sans-serif;
5  font-weight: bold;
6  font-size: large;
7  margin: 0.25em;
8}
9
10div {
11  font-family: Verdana, Arial, helvetica, sans-serif;
12}
13
14strong.variableClass {
15  font-size: small;
16}
17
18div.stackTrace {
19}
20
21div.frame {
22  padding: 0.25em;
23  background: white;
24  border-bottom: thin black dotted;
25}
26
27div.firstFrame {
28  padding: 0.25em;
29  background: white;
30  border-top: thin black dotted;
31  border-bottom: thin black dotted;
32}
33
34div.location {
35    font-size: small;
36}
37
38div.snippet {
39  background: #FFFFDD;
40  padding: 0.25em;
41}
42
43div.snippetHighlightLine {
44  color: red;
45}
46
47span.lineno {
48    font-size: small;
49}
50
51pre.code {
52  margin: 0px;
53  padding: 0px;
54  display: inline;
55  font-size: small;
56  font-family: "Courier New", courier, monotype;
57}
58
59span.function {
60  font-weight: bold;
61  font-family: "Courier New", courier, monotype;
62}
63
64table.variables {
65  border-collapse: collapse;
66  width: 100%;
67}
68
69td.varName {
70  width: 1in;
71  vertical-align: top;
72  font-style: italic;
73  font-size: small;
74  padding-right: 0.25em;
75}
76
77td.varValue {
78  padding-left: 0.25em;
79  padding-right: 0.25em;
80  font-size: small;
81}
82
83div.variables {
84  margin-top: 0.5em;
85}
86
87div.dict {
88  background: #cccc99;
89  padding: 2px;
90  float: left;
91}
92
93td.dictKey {
94  background: #ffff99;
95  font-weight: bold;
96}
97
98td.dictValue {
99  background: #ffff99;
100}
101
102div.list {
103  background: #7777cc;
104  padding: 2px;
105  float: left;
106}
107
108div.listItem {
109  background: #9999ff;
110}
111
112div.instance {
113  width: 100%;
114  background: #efefef;
115  padding: 2px;
116  float: left;
117}
118
119span.instanceName {
120  font-size: small;
121  display: block;
122}
123
124span.instanceRepr {
125  font-family: "Courier New", courier, monotype;
126}
127
128div.function {
129  background: orange;
130  font-weight: bold;
131  float: left;
132}
133</style><a href="#tracebackEnd"><p class="error">&lt;type 'exceptions.TypeError'&gt;: 'NoneType' object is not iterable</p></a><div class="stackTrace"><div class="firstFrame"><div class="location">/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Twisted-8.2.0-py2.5-macosx-10.3-i386.egg/twisted/internet/defer.py, line 328 in <span class="function">_runCallbacks</span></div><div class="snippet"><div class="snippetLine"><span class="lineno">326</span><pre class="code">                    self._runningCallbacks = True
134</pre></div><div class="snippetLine"><span class="lineno">327</span><pre class="code">                    try:
135</pre></div><div class="snippetHighlightLine"><span class="lineno">328</span><pre class="code">                        self.result = callback(self.result, *args, **kw)
136</pre></div><div class="snippetLine"><span class="lineno">329</span><pre class="code">                    finally:
137</pre></div></div><div class="variables"><strong class="variableClass">Locals</strong></div><table class="variables"><tr class="varRow"><td class="varName">callback</td><td class="varValue">&lt;function &lt;lambda&gt; at 0x3743b30&gt;</td></tr><tr class="varRow"><td class="varName">self</td><td class="varValue">&lt;Deferred at 0x328f878  current result: &lt;twisted.python.failure.Failure &lt;type 'exceptions.TypeError'&gt;&gt;&gt;</td></tr><tr class="varRow"><td class="varName">args</td><td class="varValue">()</td></tr><tr class="varRow"><td class="varName">kw</td><td class="varValue">{}</td></tr></table></div><div class="frame"><div class="location">/Users/wonwinmcbrootles/playground/allmydata/tahoe/trunk/trunk/src/allmydata/mutable/filenode.py, line 238 in <span class="function">&lt;lambda&gt;</span></div><div class="snippet"><div class="snippetLine"><span class="lineno">236</span><pre class="code">        # MFN instance.
138</pre></div><div class="snippetLine"><span class="lineno">237</span><pre class="code">        d = defer.Deferred()
139</pre></div><div class="snippetHighlightLine"><span class="lineno">238</span><pre class="code">        self._serializer.addCallback(lambda ignore: cb(*args, **kwargs))
140</pre></div><div class="snippetLine"><span class="lineno">239</span><pre class="code">        # we need to put off d.callback until this Deferred is finished being
141</pre></div></div><div class="variables"><strong class="variableClass">Locals</strong></div><table class="variables"><tr class="varRow"><td class="varName">ignore</td><td class="varValue">None</td></tr><tr class="varRow"><td class="varName">cb</td><td class="varValue">&lt;bound method MutableFileNode._try_once_to_download_version of &lt;MutableFileNode 328f648 RW wzpoc5l4&gt;&gt;</td></tr><tr class="varRow"><td class="varName">args</td><td class="varValue">(&lt;allmydata.mutable.servermap.ServerMap instance at 0x33a9a58&gt;, None, True)</td></tr><tr class="varRow"><td class="varName">kwargs</td><td class="varValue">{}</td></tr></table><div class="variables"><strong class="variableClass">Globals</strong></div><table class="variables"><tr class="varRow"><td class="varName">defer</td><td class="varValue">&lt;module 'twisted.internet.defer' from '/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Twisted-8.2.0-py2.5-macosx-10.3-i386.egg/twisted/internet/defer.pyc'&gt;</td></tr></table></div><div class="frame"><div class="location">/Users/wonwinmcbrootles/playground/allmydata/tahoe/trunk/trunk/src/allmydata/mutable/filenode.py, line 428 in <span class="function">_try_once_to_download_version</span></div><div class="snippet"><div class="snippetLine"><span class="lineno">426</span><pre class="code">    def _try_once_to_download_version(self, servermap, version,
142</pre></div><div class="snippetLine"><span class="lineno">427</span><pre class="code">                                      fetch_privkey=False):
143</pre></div><div class="snippetHighlightLine"><span class="lineno">428</span><pre class="code">        r = Retrieve(self, servermap, version, fetch_privkey)
144</pre></div><div class="snippetLine"><span class="lineno">429</span><pre class="code">        history = self._client.get_history()
145</pre></div></div><div class="variables"><strong class="variableClass">Locals</strong></div><table class="variables"><tr class="varRow"><td class="varName">servermap</td><td class="varValue">&lt;allmydata.mutable.servermap.ServerMap instance at 0x33a9a58&gt;</td></tr><tr class="varRow"><td class="varName">self</td><td class="varValue">&lt;MutableFileNode 328f648 RW wzpoc5l4&gt;</td></tr><tr class="varRow"><td class="varName">version</td><td class="varValue">None</td></tr><tr class="varRow"><td class="varName">fetch_privkey</td><td class="varValue">True</td></tr></table><div class="variables"><strong class="variableClass">Globals</strong></div><table class="variables"><tr class="varRow"><td class="varName">Retrieve</td><td class="varValue">&lt;class allmydata.mutable.retrieve.Retrieve at 0x31aea50&gt;</td></tr></table></div><div class="frame"><div class="location">/Users/wonwinmcbrootles/playground/allmydata/tahoe/trunk/trunk/src/allmydata/mutable/retrieve.py, line 113 in <span class="function">__init__</span></div><div class="snippet"><div class="snippetLine"><span class="lineno">111</span><pre class="code">        self._status.set_active(True)
146</pre></div><div class="snippetLine"><span class="lineno">112</span><pre class="code">        (seqnum, root_hash, IV, segsize, datalength, k, N, prefix,
147</pre></div><div class="snippetHighlightLine"><span class="lineno">113</span><pre class="code">         offsets_tuple) = self.verinfo
148</pre></div><div class="snippetLine"><span class="lineno">114</span><pre class="code">        self._status.set_size(datalength)
149</pre></div></div><div class="variables"><strong class="variableClass">Locals</strong></div><table class="variables"><tr class="varRow"><td class="varName">verinfo</td><td class="varValue">None</td></tr><tr class="varRow"><td class="varName">prefix</td><td class="varValue">'6s64w'</td></tr><tr class="varRow"><td class="varName">self</td><td class="varValue">&lt;allmydata.mutable.retrieve.Retrieve instance at 0x37a4828&gt;</td></tr></table></div></div><a name="tracebackEnd"><p class="error">&lt;type 'exceptions.TypeError'&gt;: 'NoneType' object is not iterable</p></a></body></html>