Ticket #692: Exception.html

File Exception.html, 17.5 KB (added by francois, at 2009-05-04T15:22:43Z)
Line 
1<html><head>
2<meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>Exception</title></head><body><style type="text/css">
3p.error {
4  color: black;
5  font-family: Verdana, Arial, helvetica, sans-serif;
6  font-weight: bold;
7  font-size: large;
8  margin: 0.25em;
9}
10
11div {
12  font-family: Verdana, Arial, helvetica, sans-serif;
13}
14
15strong.variableClass {
16  font-size: small;
17}
18
19div.stackTrace {
20}
21
22div.frame {
23  padding: 0.25em;
24  background: white;
25  border-bottom: thin black dotted;
26}
27
28div.firstFrame {
29  padding: 0.25em;
30  background: white;
31  border-top: thin black dotted;
32  border-bottom: thin black dotted;
33}
34
35div.location {
36    font-size: small;
37}
38
39div.snippet {
40  background: #FFFFDD;
41  padding: 0.25em;
42}
43
44div.snippetHighlightLine {
45  color: red;
46}
47
48span.lineno {
49    font-size: small;
50}
51
52pre.code {
53  margin: 0px;
54  padding: 0px;
55  display: inline;
56  font-size: small;
57  font-family: "Courier New", courier, monotype;
58}
59
60span.function {
61  font-weight: bold;
62  font-family: "Courier New", courier, monotype;
63}
64
65table.variables {
66  border-collapse: collapse;
67  width: 100%;
68}
69
70td.varName {
71  width: 1in;
72  vertical-align: top;
73  font-style: italic;
74  font-size: small;
75  padding-right: 0.25em;
76}
77
78td.varValue {
79  padding-left: 0.25em;
80  padding-right: 0.25em;
81  font-size: small;
82}
83
84div.variables {
85  margin-top: 0.5em;
86}
87
88div.dict {
89  background: #cccc99;
90  padding: 2px;
91  float: left;
92}
93
94td.dictKey {
95  background: #ffff99;
96  font-weight: bold;
97}
98
99td.dictValue {
100  background: #ffff99;
101}
102
103div.list {
104  background: #7777cc;
105  padding: 2px;
106  float: left;
107}
108
109div.listItem {
110  background: #9999ff;
111}
112
113div.instance {
114  width: 100%;
115  background: #efefef;
116  padding: 2px;
117  float: left;
118}
119
120span.instanceName {
121  font-size: small;
122  display: block;
123}
124
125span.instanceRepr {
126  font-family: "Courier New", courier, monotype;
127}
128
129div.function {
130  background: orange;
131  font-weight: bold;
132  float: left;
133}
134</style><a href="#tracebackEnd"><p class="error">&lt;type 'exceptions.KeyError'&gt;: u"Slot named 'connected-bool' was not filled."</p></a><div class="stackTrace"><div class="firstFrame"><div class="location">/usr/lib/python2.6/dist-packages/nevow/flat/twist.py, line 24 in <span class="function">_drive</span></div><div class="snippet"><div class="snippetLine"><span class="lineno">22</span><pre class="code">    """
135</pre></div><div class="snippetLine"><span class="lineno">23</span><pre class="code">    try:
136</pre></div><div class="snippetHighlightLine"><span class="lineno">24</span><pre class="code">        next = iterable.next()
137</pre></div><div class="snippetLine"><span class="lineno">25</span><pre class="code">    except StopIteration:
138</pre></div></div><div class="variables"><strong class="variableClass">Locals</strong></div><table class="variables"><tbody><tr class="varRow"><td class="varName">iterable</td><td class="varValue">&lt;generator object iterflatten at 0x33553c0&gt;</td></tr></tbody></table></div><div class="frame"><div class="location">/usr/lib/python2.6/dist-packages/nevow/flat/ten.py, line 83 in <span class="function">iterflatten</span></div><div class="snippet"><div class="snippetLine"><span class="lineno">81</span><pre class="code">    while rest:
139</pre></div><div class="snippetLine"><span class="lineno">82</span><pre class="code">        gen = rest.pop()
140</pre></div><div class="snippetHighlightLine"><span class="lineno">83</span><pre class="code">        for item in gen:
141</pre></div><div class="snippetLine"><span class="lineno">84</span><pre class="code">            if isinstance(item, str):
142</pre></div></div><div class="variables"><strong class="variableClass">Locals</strong></div><table class="variables"><tbody><tr class="varRow"><td class="varName">rest</td><td class="varValue">[&lt;listiterator
143object at 0x33041d0&gt;, &lt;generator object ListSerializer at
1440x3355460&gt;, &lt;generator object TagSerializer at 0x33554b0&gt;,
145&lt;generator object TagSerializer at 0x3355dc0&gt;, &lt;generator
146object ListSerializer at 0x3355f50&gt;, &lt;generator object
147ListSerializer at 0x3355e10&gt;, &lt;generator object TagSerializer at
1480x3355e60&gt;]</td></tr><tr class="varRow"><td class="varName">item</td><td class="varValue">'&lt;/div&gt;&lt;/td&gt;\n        &lt;td class="service-connected connected-'</td></tr><tr class="varRow"><td class="varName">gen</td><td class="varValue">&lt;generator object TagSerializer at 0x3355fa0&gt;</td></tr></tbody></table></div><div class="frame"><div class="location">/usr/lib/python2.6/dist-packages/nevow/flat/flatstan.py, line 128 in <span class="function">TagSerializer</span></div><div class="snippet"><div class="snippetLine"><span class="lineno">126</span><pre class="code">        yield '&gt;'
149</pre></div><div class="snippetLine"><span class="lineno">127</span><pre class="code">        for child in original.children:
150</pre></div><div class="snippetHighlightLine"><span class="lineno">128</span><pre class="code">            yield serialize(child, context)       
151</pre></div><div class="snippetLine"><span class="lineno">129</span><pre class="code">        yield '&lt;/%s&gt;' % original.tagName
152</pre></div></div><div class="variables"><strong class="variableClass">Locals</strong></div><table class="variables"><tbody><tr class="varRow"><td class="varName">child</td><td class="varValue">_PrecompiledSlot(u'connected-bool', isAttrib=True, inURL=False, inJS=False, inJSSingleQuoteString=False)</td></tr><tr class="varRow"><td class="varName">original</td><td class="varValue">Tag(u'tr',
153children=['\n &lt;td class="service-service-name"&gt;',
154_PrecompiledSlot(u'service_name', isAttrib=False, inURL=False,
155inJS=False, inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td
156class="nickname-and-peerid"&gt;\n &lt;div class="nickname"&gt;',
157_PrecompiledSlot(u'nickname', isAttrib=False, inURL=False, inJS=False,
158inJSSingleQuoteString=False), '&lt;/div&gt;\n &lt;div class="nodeid
159data-chars"&gt;', _PrecompiledSlot(u'peerid', isAttrib=False,
160inURL=False, inJS=False, inJSSingleQuoteString=False),
161'&lt;/div&gt;&lt;/td&gt;\n &lt;td class="service-connected connected-',
162_PrecompiledSlot(u'connected-bool', isAttrib=True, inURL=False,
163inJS=False, inJSSingleQuoteString=False), '"&gt; \n \n ',
164_PrecompiledSlot(u'connected', isAttrib=False, inURL=False, inJS=False,
165inJSSingleQuoteString=False), '\n &lt;/td&gt;\n &lt;td
166class="service-since"&gt; ', _PrecompiledSlot(u'since', isAttrib=False,
167inURL=False, inJS=False, inJSSingleQuoteString=False), '&lt;/td&gt;\n
168&lt;td class="service-announced"&gt; ', _PrecompiledSlot(u'announced',
169isAttrib=False, inURL=False, inJS=False, inJSSingleQuoteString=False),
170'&lt;/td&gt;\n &lt;td class="service-version"&gt; ',
171_PrecompiledSlot(u'version', isAttrib=False, inURL=False, inJS=False,
172inJSSingleQuoteString=False), '&lt;/td&gt;\n '])</td></tr><tr class="varRow"><td class="varName">context</td><td class="varValue">WovenContext(tag=Tag(u'tr',
173children=['\n &lt;td class="service-service-name"&gt;',
174_PrecompiledSlot(u'service_name', isAttrib=False, inURL=False,
175inJS=False, inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td
176class="nickname-and-peerid"&gt;\n &lt;div class="nickname"&gt;',
177_PrecompiledSlot(u'nickname', isAttrib=False, inURL=False, inJS=False,
178inJSSingleQuoteString=False), '&lt;/div&gt;\n &lt;div class="nodeid
179data-chars"&gt;', _PrecompiledSlot(u'peerid', isAttrib=False,
180inURL=False, inJS=False, inJSSingleQuoteString=False),
181'&lt;/div&gt;&lt;/td&gt;\n &lt;td class="service-connected connected-',
182_PrecompiledSlot(u'connected-bool', isAttrib=True, inURL=False,
183inJS=False, inJSSingleQuoteString=False), '"&gt; \n \n ',
184_PrecompiledSlot(u'connected', isAttrib=False, inURL=False, inJS=False,
185inJSSingleQuoteString=False), '\n &lt;/td&gt;\n &lt;td
186class="service-since"&gt; ', _PrecompiledSlot(u'since', isAttrib=False,
187inURL=False, inJS=False, inJSSingleQuoteString=False), '&lt;/td&gt;\n
188&lt;td class="service-announced"&gt; ', _PrecompiledSlot(u'announced',
189isAttrib=False, inURL=False, inJS=False, inJSSingleQuoteString=False),
190'&lt;/td&gt;\n &lt;td class="service-version"&gt; ',
191_PrecompiledSlot(u'version', isAttrib=False, inURL=False, inJS=False,
192inJSSingleQuoteString=False), '&lt;/td&gt;\n ']))</td></tr></tbody></table><div class="variables"><strong class="variableClass">Globals</strong></div><table class="variables"><tbody><tr class="varRow"><td class="varName">serialize</td><td class="varValue">&lt;function serialize at 0x1a1b668&gt;</td></tr></tbody></table></div><div class="frame"><div class="location">/usr/lib/python2.6/dist-packages/nevow/flat/ten.py, line 70 in <span class="function">serialize</span></div><div class="snippet"><div class="snippetLine"><span class="lineno">68</span><pre class="code">def serialize(obj, context):
193</pre></div><div class="snippetLine"><span class="lineno">69</span><pre class="code">    #warnings.warn('serialize is deprecated; it has been renamed partialflatten.', stacklevel=2)
194</pre></div><div class="snippetHighlightLine"><span class="lineno">70</span><pre class="code">    return partialflatten(context, obj)
195</pre></div><div class="snippetLine"><span class="lineno">71</span><pre class="code"></pre></div></div><div class="variables"><strong class="variableClass">Locals</strong></div><table class="variables"><tbody><tr class="varRow"><td class="varName">obj</td><td class="varValue">_PrecompiledSlot(u'connected-bool', isAttrib=True, inURL=False, inJS=False, inJSSingleQuoteString=False)</td></tr><tr class="varRow"><td class="varName">context</td><td class="varValue">WovenContext(tag=Tag(u'tr',
196children=['\n &lt;td class="service-service-name"&gt;',
197_PrecompiledSlot(u'service_name', isAttrib=False, inURL=False,
198inJS=False, inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td
199class="nickname-and-peerid"&gt;\n &lt;div class="nickname"&gt;',
200_PrecompiledSlot(u'nickname', isAttrib=False, inURL=False, inJS=False,
201inJSSingleQuoteString=False), '&lt;/div&gt;\n &lt;div class="nodeid
202data-chars"&gt;', _PrecompiledSlot(u'peerid', isAttrib=False,
203inURL=False, inJS=False, inJSSingleQuoteString=False),
204'&lt;/div&gt;&lt;/td&gt;\n &lt;td class="service-connected connected-',
205_PrecompiledSlot(u'connected-bool', isAttrib=True, inURL=False,
206inJS=False, inJSSingleQuoteString=False), '"&gt; \n \n ',
207_PrecompiledSlot(u'connected', isAttrib=False, inURL=False, inJS=False,
208inJSSingleQuoteString=False), '\n &lt;/td&gt;\n &lt;td
209class="service-since"&gt; ', _PrecompiledSlot(u'since', isAttrib=False,
210inURL=False, inJS=False, inJSSingleQuoteString=False), '&lt;/td&gt;\n
211&lt;td class="service-announced"&gt; ', _PrecompiledSlot(u'announced',
212isAttrib=False, inURL=False, inJS=False, inJSSingleQuoteString=False),
213'&lt;/td&gt;\n &lt;td class="service-version"&gt; ',
214_PrecompiledSlot(u'version', isAttrib=False, inURL=False, inJS=False,
215inJSSingleQuoteString=False), '&lt;/td&gt;\n ']))</td></tr></tbody></table><div class="variables"><strong class="variableClass">Globals</strong></div><table class="variables"><tbody><tr class="varRow"><td class="varName">serialize</td><td class="varValue">&lt;function serialize at 0x1a1b668&gt;</td></tr><tr class="varRow"><td class="varName">partialflatten</td><td class="varValue">&lt;function partialflatten at 0x1a1b410&gt;</td></tr><tr class="varRow"><td class="varName">warnings</td><td class="varValue">&lt;module 'warnings' from '/usr/lib/python2.6/warnings.pyc'&gt;</td></tr></tbody></table></div><div class="frame"><div class="location">/usr/lib/python2.6/dist-packages/nevow/flat/ten.py, line 61 in <span class="function">partialflatten</span></div><div class="snippet"><div class="snippetLine"><span class="lineno">59</span><pre class="code">    flattener = getFlattener(obj)
216</pre></div><div class="snippetLine"><span class="lineno">60</span><pre class="code">    if flattener is not None:
217</pre></div><div class="snippetHighlightLine"><span class="lineno">61</span><pre class="code">        return flattener(obj, context)
218</pre></div><div class="snippetLine"><span class="lineno">62</span><pre class="code"></pre></div></div><div class="variables"><strong class="variableClass">Locals</strong></div><table class="variables"><tbody><tr class="varRow"><td class="varName">flattener</td><td class="varValue">&lt;function PrecompiledSlotSerializer at 0x2013398&gt;</td></tr><tr class="varRow"><td class="varName">obj</td><td class="varValue">_PrecompiledSlot(u'connected-bool', isAttrib=True, inURL=False, inJS=False, inJSSingleQuoteString=False)</td></tr><tr class="varRow"><td class="varName">context</td><td class="varValue">WovenContext(tag=Tag(u'tr',
219children=['\n &lt;td class="service-service-name"&gt;',
220_PrecompiledSlot(u'service_name', isAttrib=False, inURL=False,
221inJS=False, inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td
222class="nickname-and-peerid"&gt;\n &lt;div class="nickname"&gt;',
223_PrecompiledSlot(u'nickname', isAttrib=False, inURL=False, inJS=False,
224inJSSingleQuoteString=False), '&lt;/div&gt;\n &lt;div class="nodeid
225data-chars"&gt;', _PrecompiledSlot(u'peerid', isAttrib=False,
226inURL=False, inJS=False, inJSSingleQuoteString=False),
227'&lt;/div&gt;&lt;/td&gt;\n &lt;td class="service-connected connected-',
228_PrecompiledSlot(u'connected-bool', isAttrib=True, inURL=False,
229inJS=False, inJSSingleQuoteString=False), '"&gt; \n \n ',
230_PrecompiledSlot(u'connected', isAttrib=False, inURL=False, inJS=False,
231inJSSingleQuoteString=False), '\n &lt;/td&gt;\n &lt;td
232class="service-since"&gt; ', _PrecompiledSlot(u'since', isAttrib=False,
233inURL=False, inJS=False, inJSSingleQuoteString=False), '&lt;/td&gt;\n
234&lt;td class="service-announced"&gt; ', _PrecompiledSlot(u'announced',
235isAttrib=False, inURL=False, inJS=False, inJSSingleQuoteString=False),
236'&lt;/td&gt;\n &lt;td class="service-version"&gt; ',
237_PrecompiledSlot(u'version', isAttrib=False, inURL=False, inJS=False,
238inJSSingleQuoteString=False), '&lt;/td&gt;\n ']))</td></tr></tbody></table><div class="variables"><strong class="variableClass">Globals</strong></div><table class="variables"><tbody><tr class="varRow"><td class="varName">getFlattener</td><td class="varValue">&lt;function getFlattener at 0x1a15848&gt;</td></tr></tbody></table></div><div class="frame"><div class="location">/usr/lib/python2.6/dist-packages/nevow/flat/flatstan.py, line 322 in <span class="function">PrecompiledSlotSerializer</span></div><div class="snippet"><div class="snippetLine"><span class="lineno">320</span><pre class="code"></pre></div><div class="snippetLine"><span class="lineno">321</span><pre class="code">    try:
239</pre></div><div class="snippetHighlightLine"><span class="lineno">322</span><pre class="code">        data = context.locateSlotData(original.name)
240</pre></div><div class="snippetLine"><span class="lineno">323</span><pre class="code">    except KeyError:
241</pre></div></div><div class="variables"><strong class="variableClass">Locals</strong></div><table class="variables"><tbody><tr class="varRow"><td class="varName">original</td><td class="varValue">_PrecompiledSlot(u'connected-bool', isAttrib=True, inURL=False, inJS=False, inJSSingleQuoteString=False)</td></tr><tr class="varRow"><td class="varName">context</td><td class="varValue">WovenContext(tag=Tag(u'tr',
242children=['\n &lt;td class="service-service-name"&gt;',
243_PrecompiledSlot(u'service_name', isAttrib=False, inURL=False,
244inJS=False, inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td
245class="nickname-and-peerid"&gt;\n &lt;div class="nickname"&gt;',
246_PrecompiledSlot(u'nickname', isAttrib=False, inURL=False, inJS=False,
247inJSSingleQuoteString=False), '&lt;/div&gt;\n &lt;div class="nodeid
248data-chars"&gt;', _PrecompiledSlot(u'peerid', isAttrib=False,
249inURL=False, inJS=False, inJSSingleQuoteString=False),
250'&lt;/div&gt;&lt;/td&gt;\n &lt;td class="service-connected connected-',
251_PrecompiledSlot(u'connected-bool', isAttrib=True, inURL=False,
252inJS=False, inJSSingleQuoteString=False), '"&gt; \n \n ',
253_PrecompiledSlot(u'connected', isAttrib=False, inURL=False, inJS=False,
254inJSSingleQuoteString=False), '\n &lt;/td&gt;\n &lt;td
255class="service-since"&gt; ', _PrecompiledSlot(u'since', isAttrib=False,
256inURL=False, inJS=False, inJSSingleQuoteString=False), '&lt;/td&gt;\n
257&lt;td class="service-announced"&gt; ', _PrecompiledSlot(u'announced',
258isAttrib=False, inURL=False, inJS=False, inJSSingleQuoteString=False),
259'&lt;/td&gt;\n &lt;td class="service-version"&gt; ',
260_PrecompiledSlot(u'version', isAttrib=False, inURL=False, inJS=False,
261inJSSingleQuoteString=False), '&lt;/td&gt;\n ']))</td></tr></tbody></table></div><div class="frame"><div class="location">/usr/lib/python2.6/dist-packages/nevow/context.py, line 154 in <span class="function">locateSlotData</span></div><div class="snippet"><div class="snippetLine"><span class="lineno">152</span><pre class="code">                    return data
262</pre></div><div class="snippetLine"><span class="lineno">153</span><pre class="code">            if currentContext.parent is None:
263</pre></div><div class="snippetHighlightLine"><span class="lineno">154</span><pre class="code">                raise KeyError, "Slot named '%s' was not filled." % name
264</pre></div><div class="snippetLine"><span class="lineno">155</span><pre class="code">            currentContext = currentContext.parent
265</pre></div></div><div class="variables"><strong class="variableClass">Locals</strong></div><table class="variables"><tbody><tr class="varRow"><td class="varName">currentContext</td><td class="varValue">SiteContext(tag=None,
266remembrances={'allmydata.web.common.IOpHandleTable':
267&lt;allmydata.web.operations.OphandleTable object at 0x23fc190&gt;,
268'nevow.inevow.ICanHandleException':
269&lt;allmydata.web.common.MyExceptionHandler instance at 0x277ac20&gt;})</td></tr><tr class="varRow"><td class="varName">data</td><td class="varValue">Unset</td></tr><tr class="varRow"><td class="varName">name</td><td class="varValue">u'connected-bool'</td></tr></tbody></table></div></div><a name="tracebackEnd"><p class="error">&lt;type 'exceptions.KeyError'&gt;: u"Slot named 'connected-bool' was not filled."</p></a></body></html>