Ticket #672: Exception.html

File Exception.html, 31.0 KB (added by francois, at 2009-03-29T13:02:59Z)
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.AttributeError'&gt;: 'DirectoryAsHTML' object has no attribute 'dirnode_children_error'</p></a><div class="stackTrace"><div class="firstFrame"><div class="location">/usr/lib/python2.5/site-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 at 0x9737e6c&gt;</td></tr></tbody></table></div><div class="frame"><div class="location">/usr/lib/python2.5/site-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 object at 0x97379ac&gt;, &lt;generator object at 0x9737aec&gt;]</td></tr><tr class="varRow"><td class="varName">item</td><td class="varValue">&lt;generator object at 0x9737fcc&gt;</td></tr><tr class="varRow"><td class="varName">gen</td><td class="varValue">&lt;generator object at 0x9737fcc&gt;</td></tr></tbody></table></div><div class="frame"><div class="location">/usr/lib/python2.5/site-packages/nevow/flat/flatstan.py, line 103 in <span class="function">TagSerializer</span></div><div class="snippet"><div class="snippetLine"><span class="lineno">101</span><pre class="code">        # the specials won't be on the context twice.
143</pre></div><div class="snippetLine"><span class="lineno">102</span><pre class="code">        original._clearSpecials()
144</pre></div><div class="snippetHighlightLine"><span class="lineno">103</span><pre class="code">        yield serialize(toBeRenderedBy, context)
145</pre></div><div class="snippetLine"><span class="lineno">104</span><pre class="code">        return
146</pre></div></div><div class="variables"><strong class="variableClass">Locals</strong></div><table class="variables"><tbody><tr class="varRow"><td class="varName">toBeRenderedBy</td><td class="varValue">directive('try_children')</td></tr><tr class="varRow"><td class="varName">original</td><td class="varValue">Tag(u'div',
147children=['\n', WovenContext(tag=Tag(u'table', attributes={u'border':
148u'1'}, specials={'data': directive('children'), 'render':
149directive('sequence')}, children=['\n ', WovenContext(tag=Tag(u'tr',
150specials={u'pattern': u'header'}, children=['\n
151&lt;td&gt;Filename&lt;/td&gt;\n &lt;td&gt;Type&lt;/td&gt;\n
152&lt;td&gt;Size&lt;/td&gt;\n &lt;td&gt;Times&lt;/td&gt;\n
153&lt;td&gt;&lt;/td&gt;\n &lt;td&gt;&lt;/td&gt;\n &lt;td&gt;&lt;/td&gt;\n
154'])), '\n ', WovenContext(tag=Tag(u'tr', specials={u'pattern': u'item',
155'render': directive('row')}, children=['\n &lt;td&gt;',
156_PrecompiledSlot(u'filename', isAttrib=False, inURL=False, inJS=False,
157inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
158_PrecompiledSlot(u'type', isAttrib=False, inURL=False, inJS=False,
159inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
160_PrecompiledSlot(u'size', isAttrib=False, inURL=False, inJS=False,
161inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
162_PrecompiledSlot(u'times', isAttrib=False, inURL=False, inJS=False,
163inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
164_PrecompiledSlot(u'delete', isAttrib=False, inURL=False, inJS=False,
165inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
166_PrecompiledSlot(u'rename', isAttrib=False, inURL=False, inJS=False,
167inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
168_PrecompiledSlot(u'info', isAttrib=False, inURL=False, inJS=False,
169inJSSingleQuoteString=False), '&lt;/td&gt;\n '])), '\n\n ',
170WovenContext(tag=Tag(u'tr', specials={u'pattern': u'empty'},
171children=['&lt;td&gt;directory is empty!&lt;/td&gt;'])), '\n\n'])),
172'\n'])</td></tr><tr class="varRow"><td class="varName">context</td><td class="varValue">WovenContext(tag=Tag(u'div',
173children=['\n', WovenContext(tag=Tag(u'table', attributes={u'border':
174u'1'}, specials={'data': directive('children'), 'render':
175directive('sequence')}, children=['\n ', WovenContext(tag=Tag(u'tr',
176specials={u'pattern': u'header'}, children=['\n
177&lt;td&gt;Filename&lt;/td&gt;\n &lt;td&gt;Type&lt;/td&gt;\n
178&lt;td&gt;Size&lt;/td&gt;\n &lt;td&gt;Times&lt;/td&gt;\n
179&lt;td&gt;&lt;/td&gt;\n &lt;td&gt;&lt;/td&gt;\n &lt;td&gt;&lt;/td&gt;\n
180'])), '\n ', WovenContext(tag=Tag(u'tr', specials={u'pattern': u'item',
181'render': directive('row')}, children=['\n &lt;td&gt;',
182_PrecompiledSlot(u'filename', isAttrib=False, inURL=False, inJS=False,
183inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
184_PrecompiledSlot(u'type', isAttrib=False, inURL=False, inJS=False,
185inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
186_PrecompiledSlot(u'size', isAttrib=False, inURL=False, inJS=False,
187inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
188_PrecompiledSlot(u'times', isAttrib=False, inURL=False, inJS=False,
189inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
190_PrecompiledSlot(u'delete', isAttrib=False, inURL=False, inJS=False,
191inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
192_PrecompiledSlot(u'rename', isAttrib=False, inURL=False, inJS=False,
193inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
194_PrecompiledSlot(u'info', isAttrib=False, inURL=False, inJS=False,
195inJSSingleQuoteString=False), '&lt;/td&gt;\n '])), '\n\n ',
196WovenContext(tag=Tag(u'tr', specials={u'pattern': u'empty'},
197children=['&lt;td&gt;directory is empty!&lt;/td&gt;'])), '\n\n'])),
198'\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 0x8b57c34&gt;</td></tr></tbody></table></div><div class="frame"><div class="location">/usr/lib/python2.5/site-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):
199</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)
200</pre></div><div class="snippetHighlightLine"><span class="lineno">70</span><pre class="code">    return partialflatten(context, obj)
201</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">directive('try_children')</td></tr><tr class="varRow"><td class="varName">context</td><td class="varValue">WovenContext(tag=Tag(u'div',
202children=['\n', WovenContext(tag=Tag(u'table', attributes={u'border':
203u'1'}, specials={'data': directive('children'), 'render':
204directive('sequence')}, children=['\n ', WovenContext(tag=Tag(u'tr',
205specials={u'pattern': u'header'}, children=['\n
206&lt;td&gt;Filename&lt;/td&gt;\n &lt;td&gt;Type&lt;/td&gt;\n
207&lt;td&gt;Size&lt;/td&gt;\n &lt;td&gt;Times&lt;/td&gt;\n
208&lt;td&gt;&lt;/td&gt;\n &lt;td&gt;&lt;/td&gt;\n &lt;td&gt;&lt;/td&gt;\n
209'])), '\n ', WovenContext(tag=Tag(u'tr', specials={u'pattern': u'item',
210'render': directive('row')}, children=['\n &lt;td&gt;',
211_PrecompiledSlot(u'filename', isAttrib=False, inURL=False, inJS=False,
212inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
213_PrecompiledSlot(u'type', isAttrib=False, inURL=False, inJS=False,
214inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
215_PrecompiledSlot(u'size', isAttrib=False, inURL=False, inJS=False,
216inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
217_PrecompiledSlot(u'times', isAttrib=False, inURL=False, inJS=False,
218inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
219_PrecompiledSlot(u'delete', isAttrib=False, inURL=False, inJS=False,
220inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
221_PrecompiledSlot(u'rename', isAttrib=False, inURL=False, inJS=False,
222inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
223_PrecompiledSlot(u'info', isAttrib=False, inURL=False, inJS=False,
224inJSSingleQuoteString=False), '&lt;/td&gt;\n '])), '\n\n ',
225WovenContext(tag=Tag(u'tr', specials={u'pattern': u'empty'},
226children=['&lt;td&gt;directory is empty!&lt;/td&gt;'])), '\n\n'])),
227'\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 0x8b57c34&gt;</td></tr><tr class="varRow"><td class="varName">partialflatten</td><td class="varValue">&lt;function partialflatten at 0x8b57bfc&gt;</td></tr><tr class="varRow"><td class="varName">warnings</td><td class="varValue">&lt;module 'warnings' from '/usr/lib/python2.5/warnings.pyc'&gt;</td></tr></tbody></table></div><div class="frame"><div class="location">/usr/lib/python2.5/site-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)
228</pre></div><div class="snippetLine"><span class="lineno">60</span><pre class="code">    if flattener is not None:
229</pre></div><div class="snippetHighlightLine"><span class="lineno">61</span><pre class="code">        return flattener(obj, context)
230</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 DirectiveSerializer at 0x8e6bbc4&gt;</td></tr><tr class="varRow"><td class="varName">obj</td><td class="varValue">directive('try_children')</td></tr><tr class="varRow"><td class="varName">context</td><td class="varValue">WovenContext(tag=Tag(u'div',
231children=['\n', WovenContext(tag=Tag(u'table', attributes={u'border':
232u'1'}, specials={'data': directive('children'), 'render':
233directive('sequence')}, children=['\n ', WovenContext(tag=Tag(u'tr',
234specials={u'pattern': u'header'}, children=['\n
235&lt;td&gt;Filename&lt;/td&gt;\n &lt;td&gt;Type&lt;/td&gt;\n
236&lt;td&gt;Size&lt;/td&gt;\n &lt;td&gt;Times&lt;/td&gt;\n
237&lt;td&gt;&lt;/td&gt;\n &lt;td&gt;&lt;/td&gt;\n &lt;td&gt;&lt;/td&gt;\n
238'])), '\n ', WovenContext(tag=Tag(u'tr', specials={u'pattern': u'item',
239'render': directive('row')}, children=['\n &lt;td&gt;',
240_PrecompiledSlot(u'filename', isAttrib=False, inURL=False, inJS=False,
241inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
242_PrecompiledSlot(u'type', isAttrib=False, inURL=False, inJS=False,
243inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
244_PrecompiledSlot(u'size', isAttrib=False, inURL=False, inJS=False,
245inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
246_PrecompiledSlot(u'times', isAttrib=False, inURL=False, inJS=False,
247inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
248_PrecompiledSlot(u'delete', isAttrib=False, inURL=False, inJS=False,
249inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
250_PrecompiledSlot(u'rename', isAttrib=False, inURL=False, inJS=False,
251inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
252_PrecompiledSlot(u'info', isAttrib=False, inURL=False, inJS=False,
253inJSSingleQuoteString=False), '&lt;/td&gt;\n '])), '\n\n ',
254WovenContext(tag=Tag(u'tr', specials={u'pattern': u'empty'},
255children=['&lt;td&gt;directory is empty!&lt;/td&gt;'])), '\n\n'])),
256'\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 0x8b57b8c&gt;</td></tr></tbody></table></div><div class="frame"><div class="location">/usr/lib/python2.5/site-packages/nevow/flat/flatstan.py, line 264 in <span class="function">DirectiveSerializer</span></div><div class="snippet"><div class="snippetLine"><span class="lineno">262</span><pre class="code">    rendererFactory = context.locate(IRendererFactory)
257</pre></div><div class="snippetLine"><span class="lineno">263</span><pre class="code">    renderer = rendererFactory.renderer(context, original.name)
258</pre></div><div class="snippetHighlightLine"><span class="lineno">264</span><pre class="code">    return serialize(renderer, context)
259</pre></div><div class="snippetLine"><span class="lineno">265</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">rendererFactory</td><td class="varValue">&lt;allmydata.web.directory.DirectoryAsHTML object at 0x97222cc&gt;</td></tr><tr class="varRow"><td class="varName">renderer</td><td class="varValue">&lt;bound method DirectoryAsHTML.render_try_children of &lt;allmydata.web.directory.DirectoryAsHTML object at 0x97222cc&gt;&gt;</td></tr><tr class="varRow"><td class="varName">context</td><td class="varValue">WovenContext(tag=Tag(u'div',
260children=['\n', WovenContext(tag=Tag(u'table', attributes={u'border':
261u'1'}, specials={'data': directive('children'), 'render':
262directive('sequence')}, children=['\n ', WovenContext(tag=Tag(u'tr',
263specials={u'pattern': u'header'}, children=['\n
264&lt;td&gt;Filename&lt;/td&gt;\n &lt;td&gt;Type&lt;/td&gt;\n
265&lt;td&gt;Size&lt;/td&gt;\n &lt;td&gt;Times&lt;/td&gt;\n
266&lt;td&gt;&lt;/td&gt;\n &lt;td&gt;&lt;/td&gt;\n &lt;td&gt;&lt;/td&gt;\n
267'])), '\n ', WovenContext(tag=Tag(u'tr', specials={u'pattern': u'item',
268'render': directive('row')}, children=['\n &lt;td&gt;',
269_PrecompiledSlot(u'filename', isAttrib=False, inURL=False, inJS=False,
270inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
271_PrecompiledSlot(u'type', isAttrib=False, inURL=False, inJS=False,
272inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
273_PrecompiledSlot(u'size', isAttrib=False, inURL=False, inJS=False,
274inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
275_PrecompiledSlot(u'times', isAttrib=False, inURL=False, inJS=False,
276inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
277_PrecompiledSlot(u'delete', isAttrib=False, inURL=False, inJS=False,
278inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
279_PrecompiledSlot(u'rename', isAttrib=False, inURL=False, inJS=False,
280inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
281_PrecompiledSlot(u'info', isAttrib=False, inURL=False, inJS=False,
282inJSSingleQuoteString=False), '&lt;/td&gt;\n '])), '\n\n ',
283WovenContext(tag=Tag(u'tr', specials={u'pattern': u'empty'},
284children=['&lt;td&gt;directory is empty!&lt;/td&gt;'])), '\n\n'])),
285'\n']))</td></tr><tr class="varRow"><td class="varName">original</td><td class="varValue">directive('try_children')</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 0x8b57c34&gt;</td></tr><tr class="varRow"><td class="varName">IRendererFactory</td><td class="varValue">&lt;InterfaceClass nevow.inevow.IRendererFactory&gt;</td></tr></tbody></table></div><div class="frame"><div class="location">/usr/lib/python2.5/site-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):
286</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)
287</pre></div><div class="snippetHighlightLine"><span class="lineno">70</span><pre class="code">    return partialflatten(context, obj)
288</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">&lt;bound method DirectoryAsHTML.render_try_children of &lt;allmydata.web.directory.DirectoryAsHTML object at 0x97222cc&gt;&gt;</td></tr><tr class="varRow"><td class="varName">context</td><td class="varValue">WovenContext(tag=Tag(u'div',
289children=['\n', WovenContext(tag=Tag(u'table', attributes={u'border':
290u'1'}, specials={'data': directive('children'), 'render':
291directive('sequence')}, children=['\n ', WovenContext(tag=Tag(u'tr',
292specials={u'pattern': u'header'}, children=['\n
293&lt;td&gt;Filename&lt;/td&gt;\n &lt;td&gt;Type&lt;/td&gt;\n
294&lt;td&gt;Size&lt;/td&gt;\n &lt;td&gt;Times&lt;/td&gt;\n
295&lt;td&gt;&lt;/td&gt;\n &lt;td&gt;&lt;/td&gt;\n &lt;td&gt;&lt;/td&gt;\n
296'])), '\n ', WovenContext(tag=Tag(u'tr', specials={u'pattern': u'item',
297'render': directive('row')}, children=['\n &lt;td&gt;',
298_PrecompiledSlot(u'filename', isAttrib=False, inURL=False, inJS=False,
299inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
300_PrecompiledSlot(u'type', isAttrib=False, inURL=False, inJS=False,
301inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
302_PrecompiledSlot(u'size', isAttrib=False, inURL=False, inJS=False,
303inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
304_PrecompiledSlot(u'times', isAttrib=False, inURL=False, inJS=False,
305inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
306_PrecompiledSlot(u'delete', isAttrib=False, inURL=False, inJS=False,
307inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
308_PrecompiledSlot(u'rename', isAttrib=False, inURL=False, inJS=False,
309inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
310_PrecompiledSlot(u'info', isAttrib=False, inURL=False, inJS=False,
311inJSSingleQuoteString=False), '&lt;/td&gt;\n '])), '\n\n ',
312WovenContext(tag=Tag(u'tr', specials={u'pattern': u'empty'},
313children=['&lt;td&gt;directory is empty!&lt;/td&gt;'])), '\n\n'])),
314'\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 0x8b57c34&gt;</td></tr><tr class="varRow"><td class="varName">partialflatten</td><td class="varValue">&lt;function partialflatten at 0x8b57bfc&gt;</td></tr><tr class="varRow"><td class="varName">warnings</td><td class="varValue">&lt;module 'warnings' from '/usr/lib/python2.5/warnings.pyc'&gt;</td></tr></tbody></table></div><div class="frame"><div class="location">/usr/lib/python2.5/site-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)
315</pre></div><div class="snippetLine"><span class="lineno">60</span><pre class="code">    if flattener is not None:
316</pre></div><div class="snippetHighlightLine"><span class="lineno">61</span><pre class="code">        return flattener(obj, context)
317</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 MethodSerializer at 0x8e6bb54&gt;</td></tr><tr class="varRow"><td class="varName">obj</td><td class="varValue">&lt;bound method DirectoryAsHTML.render_try_children of &lt;allmydata.web.directory.DirectoryAsHTML object at 0x97222cc&gt;&gt;</td></tr><tr class="varRow"><td class="varName">context</td><td class="varValue">WovenContext(tag=Tag(u'div',
318children=['\n', WovenContext(tag=Tag(u'table', attributes={u'border':
319u'1'}, specials={'data': directive('children'), 'render':
320directive('sequence')}, children=['\n ', WovenContext(tag=Tag(u'tr',
321specials={u'pattern': u'header'}, children=['\n
322&lt;td&gt;Filename&lt;/td&gt;\n &lt;td&gt;Type&lt;/td&gt;\n
323&lt;td&gt;Size&lt;/td&gt;\n &lt;td&gt;Times&lt;/td&gt;\n
324&lt;td&gt;&lt;/td&gt;\n &lt;td&gt;&lt;/td&gt;\n &lt;td&gt;&lt;/td&gt;\n
325'])), '\n ', WovenContext(tag=Tag(u'tr', specials={u'pattern': u'item',
326'render': directive('row')}, children=['\n &lt;td&gt;',
327_PrecompiledSlot(u'filename', isAttrib=False, inURL=False, inJS=False,
328inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
329_PrecompiledSlot(u'type', isAttrib=False, inURL=False, inJS=False,
330inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
331_PrecompiledSlot(u'size', isAttrib=False, inURL=False, inJS=False,
332inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
333_PrecompiledSlot(u'times', isAttrib=False, inURL=False, inJS=False,
334inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
335_PrecompiledSlot(u'delete', isAttrib=False, inURL=False, inJS=False,
336inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
337_PrecompiledSlot(u'rename', isAttrib=False, inURL=False, inJS=False,
338inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
339_PrecompiledSlot(u'info', isAttrib=False, inURL=False, inJS=False,
340inJSSingleQuoteString=False), '&lt;/td&gt;\n '])), '\n\n ',
341WovenContext(tag=Tag(u'tr', specials={u'pattern': u'empty'},
342children=['&lt;td&gt;directory is empty!&lt;/td&gt;'])), '\n\n'])),
343'\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 0x8b57b8c&gt;</td></tr></tbody></table></div><div class="frame"><div class="location">/usr/lib/python2.5/site-packages/nevow/flat/flatstan.py, line 247 in <span class="function">MethodSerializer</span></div><div class="snippet"><div class="snippetLine"><span class="lineno">245</span><pre class="code">        code = getattr(func, 'func_code', None)
344</pre></div><div class="snippetLine"><span class="lineno">246</span><pre class="code">        return code is None or code.co_argcount == 2
345</pre></div><div class="snippetHighlightLine"><span class="lineno">247</span><pre class="code">    return FunctionSerializer(original, context, nocontext)
346</pre></div><div class="snippetLine"><span class="lineno">248</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">nocontext</td><td class="varValue">&lt;function nocontext at 0x990ee9c&gt;</td></tr><tr class="varRow"><td class="varName">original</td><td class="varValue">&lt;bound method DirectoryAsHTML.render_try_children of &lt;allmydata.web.directory.DirectoryAsHTML object at 0x97222cc&gt;&gt;</td></tr><tr class="varRow"><td class="varName">context</td><td class="varValue">WovenContext(tag=Tag(u'div',
347children=['\n', WovenContext(tag=Tag(u'table', attributes={u'border':
348u'1'}, specials={'data': directive('children'), 'render':
349directive('sequence')}, children=['\n ', WovenContext(tag=Tag(u'tr',
350specials={u'pattern': u'header'}, children=['\n
351&lt;td&gt;Filename&lt;/td&gt;\n &lt;td&gt;Type&lt;/td&gt;\n
352&lt;td&gt;Size&lt;/td&gt;\n &lt;td&gt;Times&lt;/td&gt;\n
353&lt;td&gt;&lt;/td&gt;\n &lt;td&gt;&lt;/td&gt;\n &lt;td&gt;&lt;/td&gt;\n
354'])), '\n ', WovenContext(tag=Tag(u'tr', specials={u'pattern': u'item',
355'render': directive('row')}, children=['\n &lt;td&gt;',
356_PrecompiledSlot(u'filename', isAttrib=False, inURL=False, inJS=False,
357inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
358_PrecompiledSlot(u'type', isAttrib=False, inURL=False, inJS=False,
359inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
360_PrecompiledSlot(u'size', isAttrib=False, inURL=False, inJS=False,
361inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
362_PrecompiledSlot(u'times', isAttrib=False, inURL=False, inJS=False,
363inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
364_PrecompiledSlot(u'delete', isAttrib=False, inURL=False, inJS=False,
365inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
366_PrecompiledSlot(u'rename', isAttrib=False, inURL=False, inJS=False,
367inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
368_PrecompiledSlot(u'info', isAttrib=False, inURL=False, inJS=False,
369inJSSingleQuoteString=False), '&lt;/td&gt;\n '])), '\n\n ',
370WovenContext(tag=Tag(u'tr', specials={u'pattern': u'empty'},
371children=['&lt;td&gt;directory is empty!&lt;/td&gt;'])), '\n\n'])),
372'\n']))</td></tr></tbody></table><div class="variables"><strong class="variableClass">Globals</strong></div><table class="variables"><tbody><tr class="varRow"><td class="varName">FunctionSerializer</td><td class="varValue">&lt;function FunctionSerializer at 0x8e6bb1c&gt;</td></tr></tbody></table></div><div class="frame"><div class="location">/usr/lib/python2.5/site-packages/nevow/flat/flatstan.py, line 236 in <span class="function">FunctionSerializer</span></div><div class="snippet"><div class="snippetLine"><span class="lineno">234</span><pre class="code">                    result = original(renderer, context, data)
373</pre></div><div class="snippetLine"><span class="lineno">235</span><pre class="code">                else:
374</pre></div><div class="snippetHighlightLine"><span class="lineno">236</span><pre class="code">                    result = original(context, data)
375</pre></div><div class="snippetLine"><span class="lineno">237</span><pre class="code">        except StopIteration:
376</pre></div></div><div class="variables"><strong class="variableClass">Locals</strong></div><table class="variables"><tbody><tr class="varRow"><td class="varName">data</td><td class="varValue">None</td></tr><tr class="varRow"><td class="varName">context</td><td class="varValue">WovenContext(tag=Tag(u'div',
377children=['\n', WovenContext(tag=Tag(u'table', attributes={u'border':
378u'1'}, specials={'data': directive('children'), 'render':
379directive('sequence')}, children=['\n ', WovenContext(tag=Tag(u'tr',
380specials={u'pattern': u'header'}, children=['\n
381&lt;td&gt;Filename&lt;/td&gt;\n &lt;td&gt;Type&lt;/td&gt;\n
382&lt;td&gt;Size&lt;/td&gt;\n &lt;td&gt;Times&lt;/td&gt;\n
383&lt;td&gt;&lt;/td&gt;\n &lt;td&gt;&lt;/td&gt;\n &lt;td&gt;&lt;/td&gt;\n
384'])), '\n ', WovenContext(tag=Tag(u'tr', specials={u'pattern': u'item',
385'render': directive('row')}, children=['\n &lt;td&gt;',
386_PrecompiledSlot(u'filename', isAttrib=False, inURL=False, inJS=False,
387inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
388_PrecompiledSlot(u'type', isAttrib=False, inURL=False, inJS=False,
389inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
390_PrecompiledSlot(u'size', isAttrib=False, inURL=False, inJS=False,
391inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
392_PrecompiledSlot(u'times', isAttrib=False, inURL=False, inJS=False,
393inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
394_PrecompiledSlot(u'delete', isAttrib=False, inURL=False, inJS=False,
395inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
396_PrecompiledSlot(u'rename', isAttrib=False, inURL=False, inJS=False,
397inJSSingleQuoteString=False), '&lt;/td&gt;\n &lt;td&gt;',
398_PrecompiledSlot(u'info', isAttrib=False, inURL=False, inJS=False,
399inJSSingleQuoteString=False), '&lt;/td&gt;\n '])), '\n\n ',
400WovenContext(tag=Tag(u'tr', specials={u'pattern': u'empty'},
401children=['&lt;td&gt;directory is empty!&lt;/td&gt;'])), '\n\n'])),
402'\n']))</td></tr><tr class="varRow"><td class="varName">original</td><td class="varValue">&lt;bound method DirectoryAsHTML.render_try_children of &lt;allmydata.web.directory.DirectoryAsHTML object at 0x97222cc&gt;&gt;</td></tr></tbody></table></div><div class="frame"><div class="location">/usr/lib/python2.5/site-packages/allmydata/web/directory.py, line 557 in <span class="function">render_try_children</span></div><div class="snippet"><div class="snippetLine"><span class="lineno">555</span><pre class="code">        else:
403</pre></div><div class="snippetLine"><span class="lineno">556</span><pre class="code">            return T.div[T.p["Error reading directory:"],
404</pre></div><div class="snippetHighlightLine"><span class="lineno">557</span><pre class="code">                         T.p[self.dirnode_children_error]]
405</pre></div><div class="snippetLine"><span class="lineno">558</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">self</td><td class="varValue">&lt;allmydata.web.directory.DirectoryAsHTML object at 0x97222cc&gt;</td></tr></tbody></table><div class="variables"><strong class="variableClass">Globals</strong></div><table class="variables"><tbody><tr class="varRow"><td class="varName">T</td><td class="varValue">&lt;module 'nevow.tags' from '/usr/lib/python2.5/site-packages/nevow/tags.pyc'&gt;</td></tr></tbody></table></div></div><a name="tracebackEnd"><p class="error">&lt;type 'exceptions.AttributeError'&gt;: 'DirectoryAsHTML' object has no attribute 'dirnode_children_error'</p></a></body></html>