1 | <html><head> |
---|
2 | <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>Exception</title></head><body><style type="text/css"> |
---|
3 | p.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 | |
---|
11 | div { |
---|
12 | font-family: Verdana, Arial, helvetica, sans-serif; |
---|
13 | } |
---|
14 | |
---|
15 | strong.variableClass { |
---|
16 | font-size: small; |
---|
17 | } |
---|
18 | |
---|
19 | div.stackTrace { |
---|
20 | } |
---|
21 | |
---|
22 | div.frame { |
---|
23 | padding: 0.25em; |
---|
24 | background: white; |
---|
25 | border-bottom: thin black dotted; |
---|
26 | } |
---|
27 | |
---|
28 | div.firstFrame { |
---|
29 | padding: 0.25em; |
---|
30 | background: white; |
---|
31 | border-top: thin black dotted; |
---|
32 | border-bottom: thin black dotted; |
---|
33 | } |
---|
34 | |
---|
35 | div.location { |
---|
36 | font-size: small; |
---|
37 | } |
---|
38 | |
---|
39 | div.snippet { |
---|
40 | background: #FFFFDD; |
---|
41 | padding: 0.25em; |
---|
42 | } |
---|
43 | |
---|
44 | div.snippetHighlightLine { |
---|
45 | color: red; |
---|
46 | } |
---|
47 | |
---|
48 | span.lineno { |
---|
49 | font-size: small; |
---|
50 | } |
---|
51 | |
---|
52 | pre.code { |
---|
53 | margin: 0px; |
---|
54 | padding: 0px; |
---|
55 | display: inline; |
---|
56 | font-size: small; |
---|
57 | font-family: "Courier New", courier, monotype; |
---|
58 | } |
---|
59 | |
---|
60 | span.function { |
---|
61 | font-weight: bold; |
---|
62 | font-family: "Courier New", courier, monotype; |
---|
63 | } |
---|
64 | |
---|
65 | table.variables { |
---|
66 | border-collapse: collapse; |
---|
67 | width: 100%; |
---|
68 | } |
---|
69 | |
---|
70 | td.varName { |
---|
71 | width: 1in; |
---|
72 | vertical-align: top; |
---|
73 | font-style: italic; |
---|
74 | font-size: small; |
---|
75 | padding-right: 0.25em; |
---|
76 | } |
---|
77 | |
---|
78 | td.varValue { |
---|
79 | padding-left: 0.25em; |
---|
80 | padding-right: 0.25em; |
---|
81 | font-size: small; |
---|
82 | } |
---|
83 | |
---|
84 | div.variables { |
---|
85 | margin-top: 0.5em; |
---|
86 | } |
---|
87 | |
---|
88 | div.dict { |
---|
89 | background: #cccc99; |
---|
90 | padding: 2px; |
---|
91 | float: left; |
---|
92 | } |
---|
93 | |
---|
94 | td.dictKey { |
---|
95 | background: #ffff99; |
---|
96 | font-weight: bold; |
---|
97 | } |
---|
98 | |
---|
99 | td.dictValue { |
---|
100 | background: #ffff99; |
---|
101 | } |
---|
102 | |
---|
103 | div.list { |
---|
104 | background: #7777cc; |
---|
105 | padding: 2px; |
---|
106 | float: left; |
---|
107 | } |
---|
108 | |
---|
109 | div.listItem { |
---|
110 | background: #9999ff; |
---|
111 | } |
---|
112 | |
---|
113 | div.instance { |
---|
114 | width: 100%; |
---|
115 | background: #efefef; |
---|
116 | padding: 2px; |
---|
117 | float: left; |
---|
118 | } |
---|
119 | |
---|
120 | span.instanceName { |
---|
121 | font-size: small; |
---|
122 | display: block; |
---|
123 | } |
---|
124 | |
---|
125 | span.instanceRepr { |
---|
126 | font-family: "Courier New", courier, monotype; |
---|
127 | } |
---|
128 | |
---|
129 | div.function { |
---|
130 | background: orange; |
---|
131 | font-weight: bold; |
---|
132 | float: left; |
---|
133 | } |
---|
134 | </style><a href="#tracebackEnd"><p class="error"><type 'exceptions.AttributeError'>: '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"><generator object at 0x9737e6c></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">[<listiterator object at 0x97379ac>, <generator object at 0x9737aec>]</td></tr><tr class="varRow"><td class="varName">item</td><td class="varValue"><generator object at 0x9737fcc></td></tr><tr class="varRow"><td class="varName">gen</td><td class="varValue"><generator object at 0x9737fcc></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', |
---|
147 | children=['\n', WovenContext(tag=Tag(u'table', attributes={u'border': |
---|
148 | u'1'}, specials={'data': directive('children'), 'render': |
---|
149 | directive('sequence')}, children=['\n ', WovenContext(tag=Tag(u'tr', |
---|
150 | specials={u'pattern': u'header'}, children=['\n |
---|
151 | <td>Filename</td>\n <td>Type</td>\n |
---|
152 | <td>Size</td>\n <td>Times</td>\n |
---|
153 | <td></td>\n <td></td>\n <td></td>\n |
---|
154 | '])), '\n ', WovenContext(tag=Tag(u'tr', specials={u'pattern': u'item', |
---|
155 | 'render': directive('row')}, children=['\n <td>', |
---|
156 | _PrecompiledSlot(u'filename', isAttrib=False, inURL=False, inJS=False, |
---|
157 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
158 | _PrecompiledSlot(u'type', isAttrib=False, inURL=False, inJS=False, |
---|
159 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
160 | _PrecompiledSlot(u'size', isAttrib=False, inURL=False, inJS=False, |
---|
161 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
162 | _PrecompiledSlot(u'times', isAttrib=False, inURL=False, inJS=False, |
---|
163 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
164 | _PrecompiledSlot(u'delete', isAttrib=False, inURL=False, inJS=False, |
---|
165 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
166 | _PrecompiledSlot(u'rename', isAttrib=False, inURL=False, inJS=False, |
---|
167 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
168 | _PrecompiledSlot(u'info', isAttrib=False, inURL=False, inJS=False, |
---|
169 | inJSSingleQuoteString=False), '</td>\n '])), '\n\n ', |
---|
170 | WovenContext(tag=Tag(u'tr', specials={u'pattern': u'empty'}, |
---|
171 | children=['<td>directory is empty!</td>'])), '\n\n'])), |
---|
172 | '\n'])</td></tr><tr class="varRow"><td class="varName">context</td><td class="varValue">WovenContext(tag=Tag(u'div', |
---|
173 | children=['\n', WovenContext(tag=Tag(u'table', attributes={u'border': |
---|
174 | u'1'}, specials={'data': directive('children'), 'render': |
---|
175 | directive('sequence')}, children=['\n ', WovenContext(tag=Tag(u'tr', |
---|
176 | specials={u'pattern': u'header'}, children=['\n |
---|
177 | <td>Filename</td>\n <td>Type</td>\n |
---|
178 | <td>Size</td>\n <td>Times</td>\n |
---|
179 | <td></td>\n <td></td>\n <td></td>\n |
---|
180 | '])), '\n ', WovenContext(tag=Tag(u'tr', specials={u'pattern': u'item', |
---|
181 | 'render': directive('row')}, children=['\n <td>', |
---|
182 | _PrecompiledSlot(u'filename', isAttrib=False, inURL=False, inJS=False, |
---|
183 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
184 | _PrecompiledSlot(u'type', isAttrib=False, inURL=False, inJS=False, |
---|
185 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
186 | _PrecompiledSlot(u'size', isAttrib=False, inURL=False, inJS=False, |
---|
187 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
188 | _PrecompiledSlot(u'times', isAttrib=False, inURL=False, inJS=False, |
---|
189 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
190 | _PrecompiledSlot(u'delete', isAttrib=False, inURL=False, inJS=False, |
---|
191 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
192 | _PrecompiledSlot(u'rename', isAttrib=False, inURL=False, inJS=False, |
---|
193 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
194 | _PrecompiledSlot(u'info', isAttrib=False, inURL=False, inJS=False, |
---|
195 | inJSSingleQuoteString=False), '</td>\n '])), '\n\n ', |
---|
196 | WovenContext(tag=Tag(u'tr', specials={u'pattern': u'empty'}, |
---|
197 | children=['<td>directory is empty!</td>'])), '\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"><function serialize at 0x8b57c34></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', |
---|
202 | children=['\n', WovenContext(tag=Tag(u'table', attributes={u'border': |
---|
203 | u'1'}, specials={'data': directive('children'), 'render': |
---|
204 | directive('sequence')}, children=['\n ', WovenContext(tag=Tag(u'tr', |
---|
205 | specials={u'pattern': u'header'}, children=['\n |
---|
206 | <td>Filename</td>\n <td>Type</td>\n |
---|
207 | <td>Size</td>\n <td>Times</td>\n |
---|
208 | <td></td>\n <td></td>\n <td></td>\n |
---|
209 | '])), '\n ', WovenContext(tag=Tag(u'tr', specials={u'pattern': u'item', |
---|
210 | 'render': directive('row')}, children=['\n <td>', |
---|
211 | _PrecompiledSlot(u'filename', isAttrib=False, inURL=False, inJS=False, |
---|
212 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
213 | _PrecompiledSlot(u'type', isAttrib=False, inURL=False, inJS=False, |
---|
214 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
215 | _PrecompiledSlot(u'size', isAttrib=False, inURL=False, inJS=False, |
---|
216 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
217 | _PrecompiledSlot(u'times', isAttrib=False, inURL=False, inJS=False, |
---|
218 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
219 | _PrecompiledSlot(u'delete', isAttrib=False, inURL=False, inJS=False, |
---|
220 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
221 | _PrecompiledSlot(u'rename', isAttrib=False, inURL=False, inJS=False, |
---|
222 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
223 | _PrecompiledSlot(u'info', isAttrib=False, inURL=False, inJS=False, |
---|
224 | inJSSingleQuoteString=False), '</td>\n '])), '\n\n ', |
---|
225 | WovenContext(tag=Tag(u'tr', specials={u'pattern': u'empty'}, |
---|
226 | children=['<td>directory is empty!</td>'])), '\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"><function serialize at 0x8b57c34></td></tr><tr class="varRow"><td class="varName">partialflatten</td><td class="varValue"><function partialflatten at 0x8b57bfc></td></tr><tr class="varRow"><td class="varName">warnings</td><td class="varValue"><module 'warnings' from '/usr/lib/python2.5/warnings.pyc'></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"><function DirectiveSerializer at 0x8e6bbc4></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', |
---|
231 | children=['\n', WovenContext(tag=Tag(u'table', attributes={u'border': |
---|
232 | u'1'}, specials={'data': directive('children'), 'render': |
---|
233 | directive('sequence')}, children=['\n ', WovenContext(tag=Tag(u'tr', |
---|
234 | specials={u'pattern': u'header'}, children=['\n |
---|
235 | <td>Filename</td>\n <td>Type</td>\n |
---|
236 | <td>Size</td>\n <td>Times</td>\n |
---|
237 | <td></td>\n <td></td>\n <td></td>\n |
---|
238 | '])), '\n ', WovenContext(tag=Tag(u'tr', specials={u'pattern': u'item', |
---|
239 | 'render': directive('row')}, children=['\n <td>', |
---|
240 | _PrecompiledSlot(u'filename', isAttrib=False, inURL=False, inJS=False, |
---|
241 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
242 | _PrecompiledSlot(u'type', isAttrib=False, inURL=False, inJS=False, |
---|
243 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
244 | _PrecompiledSlot(u'size', isAttrib=False, inURL=False, inJS=False, |
---|
245 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
246 | _PrecompiledSlot(u'times', isAttrib=False, inURL=False, inJS=False, |
---|
247 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
248 | _PrecompiledSlot(u'delete', isAttrib=False, inURL=False, inJS=False, |
---|
249 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
250 | _PrecompiledSlot(u'rename', isAttrib=False, inURL=False, inJS=False, |
---|
251 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
252 | _PrecompiledSlot(u'info', isAttrib=False, inURL=False, inJS=False, |
---|
253 | inJSSingleQuoteString=False), '</td>\n '])), '\n\n ', |
---|
254 | WovenContext(tag=Tag(u'tr', specials={u'pattern': u'empty'}, |
---|
255 | children=['<td>directory is empty!</td>'])), '\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"><function getFlattener at 0x8b57b8c></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"><allmydata.web.directory.DirectoryAsHTML object at 0x97222cc></td></tr><tr class="varRow"><td class="varName">renderer</td><td class="varValue"><bound method DirectoryAsHTML.render_try_children of <allmydata.web.directory.DirectoryAsHTML object at 0x97222cc>></td></tr><tr class="varRow"><td class="varName">context</td><td class="varValue">WovenContext(tag=Tag(u'div', |
---|
260 | children=['\n', WovenContext(tag=Tag(u'table', attributes={u'border': |
---|
261 | u'1'}, specials={'data': directive('children'), 'render': |
---|
262 | directive('sequence')}, children=['\n ', WovenContext(tag=Tag(u'tr', |
---|
263 | specials={u'pattern': u'header'}, children=['\n |
---|
264 | <td>Filename</td>\n <td>Type</td>\n |
---|
265 | <td>Size</td>\n <td>Times</td>\n |
---|
266 | <td></td>\n <td></td>\n <td></td>\n |
---|
267 | '])), '\n ', WovenContext(tag=Tag(u'tr', specials={u'pattern': u'item', |
---|
268 | 'render': directive('row')}, children=['\n <td>', |
---|
269 | _PrecompiledSlot(u'filename', isAttrib=False, inURL=False, inJS=False, |
---|
270 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
271 | _PrecompiledSlot(u'type', isAttrib=False, inURL=False, inJS=False, |
---|
272 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
273 | _PrecompiledSlot(u'size', isAttrib=False, inURL=False, inJS=False, |
---|
274 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
275 | _PrecompiledSlot(u'times', isAttrib=False, inURL=False, inJS=False, |
---|
276 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
277 | _PrecompiledSlot(u'delete', isAttrib=False, inURL=False, inJS=False, |
---|
278 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
279 | _PrecompiledSlot(u'rename', isAttrib=False, inURL=False, inJS=False, |
---|
280 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
281 | _PrecompiledSlot(u'info', isAttrib=False, inURL=False, inJS=False, |
---|
282 | inJSSingleQuoteString=False), '</td>\n '])), '\n\n ', |
---|
283 | WovenContext(tag=Tag(u'tr', specials={u'pattern': u'empty'}, |
---|
284 | children=['<td>directory is empty!</td>'])), '\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"><function serialize at 0x8b57c34></td></tr><tr class="varRow"><td class="varName">IRendererFactory</td><td class="varValue"><InterfaceClass nevow.inevow.IRendererFactory></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"><bound method DirectoryAsHTML.render_try_children of <allmydata.web.directory.DirectoryAsHTML object at 0x97222cc>></td></tr><tr class="varRow"><td class="varName">context</td><td class="varValue">WovenContext(tag=Tag(u'div', |
---|
289 | children=['\n', WovenContext(tag=Tag(u'table', attributes={u'border': |
---|
290 | u'1'}, specials={'data': directive('children'), 'render': |
---|
291 | directive('sequence')}, children=['\n ', WovenContext(tag=Tag(u'tr', |
---|
292 | specials={u'pattern': u'header'}, children=['\n |
---|
293 | <td>Filename</td>\n <td>Type</td>\n |
---|
294 | <td>Size</td>\n <td>Times</td>\n |
---|
295 | <td></td>\n <td></td>\n <td></td>\n |
---|
296 | '])), '\n ', WovenContext(tag=Tag(u'tr', specials={u'pattern': u'item', |
---|
297 | 'render': directive('row')}, children=['\n <td>', |
---|
298 | _PrecompiledSlot(u'filename', isAttrib=False, inURL=False, inJS=False, |
---|
299 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
300 | _PrecompiledSlot(u'type', isAttrib=False, inURL=False, inJS=False, |
---|
301 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
302 | _PrecompiledSlot(u'size', isAttrib=False, inURL=False, inJS=False, |
---|
303 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
304 | _PrecompiledSlot(u'times', isAttrib=False, inURL=False, inJS=False, |
---|
305 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
306 | _PrecompiledSlot(u'delete', isAttrib=False, inURL=False, inJS=False, |
---|
307 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
308 | _PrecompiledSlot(u'rename', isAttrib=False, inURL=False, inJS=False, |
---|
309 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
310 | _PrecompiledSlot(u'info', isAttrib=False, inURL=False, inJS=False, |
---|
311 | inJSSingleQuoteString=False), '</td>\n '])), '\n\n ', |
---|
312 | WovenContext(tag=Tag(u'tr', specials={u'pattern': u'empty'}, |
---|
313 | children=['<td>directory is empty!</td>'])), '\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"><function serialize at 0x8b57c34></td></tr><tr class="varRow"><td class="varName">partialflatten</td><td class="varValue"><function partialflatten at 0x8b57bfc></td></tr><tr class="varRow"><td class="varName">warnings</td><td class="varValue"><module 'warnings' from '/usr/lib/python2.5/warnings.pyc'></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"><function MethodSerializer at 0x8e6bb54></td></tr><tr class="varRow"><td class="varName">obj</td><td class="varValue"><bound method DirectoryAsHTML.render_try_children of <allmydata.web.directory.DirectoryAsHTML object at 0x97222cc>></td></tr><tr class="varRow"><td class="varName">context</td><td class="varValue">WovenContext(tag=Tag(u'div', |
---|
318 | children=['\n', WovenContext(tag=Tag(u'table', attributes={u'border': |
---|
319 | u'1'}, specials={'data': directive('children'), 'render': |
---|
320 | directive('sequence')}, children=['\n ', WovenContext(tag=Tag(u'tr', |
---|
321 | specials={u'pattern': u'header'}, children=['\n |
---|
322 | <td>Filename</td>\n <td>Type</td>\n |
---|
323 | <td>Size</td>\n <td>Times</td>\n |
---|
324 | <td></td>\n <td></td>\n <td></td>\n |
---|
325 | '])), '\n ', WovenContext(tag=Tag(u'tr', specials={u'pattern': u'item', |
---|
326 | 'render': directive('row')}, children=['\n <td>', |
---|
327 | _PrecompiledSlot(u'filename', isAttrib=False, inURL=False, inJS=False, |
---|
328 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
329 | _PrecompiledSlot(u'type', isAttrib=False, inURL=False, inJS=False, |
---|
330 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
331 | _PrecompiledSlot(u'size', isAttrib=False, inURL=False, inJS=False, |
---|
332 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
333 | _PrecompiledSlot(u'times', isAttrib=False, inURL=False, inJS=False, |
---|
334 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
335 | _PrecompiledSlot(u'delete', isAttrib=False, inURL=False, inJS=False, |
---|
336 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
337 | _PrecompiledSlot(u'rename', isAttrib=False, inURL=False, inJS=False, |
---|
338 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
339 | _PrecompiledSlot(u'info', isAttrib=False, inURL=False, inJS=False, |
---|
340 | inJSSingleQuoteString=False), '</td>\n '])), '\n\n ', |
---|
341 | WovenContext(tag=Tag(u'tr', specials={u'pattern': u'empty'}, |
---|
342 | children=['<td>directory is empty!</td>'])), '\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"><function getFlattener at 0x8b57b8c></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"><function nocontext at 0x990ee9c></td></tr><tr class="varRow"><td class="varName">original</td><td class="varValue"><bound method DirectoryAsHTML.render_try_children of <allmydata.web.directory.DirectoryAsHTML object at 0x97222cc>></td></tr><tr class="varRow"><td class="varName">context</td><td class="varValue">WovenContext(tag=Tag(u'div', |
---|
347 | children=['\n', WovenContext(tag=Tag(u'table', attributes={u'border': |
---|
348 | u'1'}, specials={'data': directive('children'), 'render': |
---|
349 | directive('sequence')}, children=['\n ', WovenContext(tag=Tag(u'tr', |
---|
350 | specials={u'pattern': u'header'}, children=['\n |
---|
351 | <td>Filename</td>\n <td>Type</td>\n |
---|
352 | <td>Size</td>\n <td>Times</td>\n |
---|
353 | <td></td>\n <td></td>\n <td></td>\n |
---|
354 | '])), '\n ', WovenContext(tag=Tag(u'tr', specials={u'pattern': u'item', |
---|
355 | 'render': directive('row')}, children=['\n <td>', |
---|
356 | _PrecompiledSlot(u'filename', isAttrib=False, inURL=False, inJS=False, |
---|
357 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
358 | _PrecompiledSlot(u'type', isAttrib=False, inURL=False, inJS=False, |
---|
359 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
360 | _PrecompiledSlot(u'size', isAttrib=False, inURL=False, inJS=False, |
---|
361 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
362 | _PrecompiledSlot(u'times', isAttrib=False, inURL=False, inJS=False, |
---|
363 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
364 | _PrecompiledSlot(u'delete', isAttrib=False, inURL=False, inJS=False, |
---|
365 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
366 | _PrecompiledSlot(u'rename', isAttrib=False, inURL=False, inJS=False, |
---|
367 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
368 | _PrecompiledSlot(u'info', isAttrib=False, inURL=False, inJS=False, |
---|
369 | inJSSingleQuoteString=False), '</td>\n '])), '\n\n ', |
---|
370 | WovenContext(tag=Tag(u'tr', specials={u'pattern': u'empty'}, |
---|
371 | children=['<td>directory is empty!</td>'])), '\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"><function FunctionSerializer at 0x8e6bb1c></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', |
---|
377 | children=['\n', WovenContext(tag=Tag(u'table', attributes={u'border': |
---|
378 | u'1'}, specials={'data': directive('children'), 'render': |
---|
379 | directive('sequence')}, children=['\n ', WovenContext(tag=Tag(u'tr', |
---|
380 | specials={u'pattern': u'header'}, children=['\n |
---|
381 | <td>Filename</td>\n <td>Type</td>\n |
---|
382 | <td>Size</td>\n <td>Times</td>\n |
---|
383 | <td></td>\n <td></td>\n <td></td>\n |
---|
384 | '])), '\n ', WovenContext(tag=Tag(u'tr', specials={u'pattern': u'item', |
---|
385 | 'render': directive('row')}, children=['\n <td>', |
---|
386 | _PrecompiledSlot(u'filename', isAttrib=False, inURL=False, inJS=False, |
---|
387 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
388 | _PrecompiledSlot(u'type', isAttrib=False, inURL=False, inJS=False, |
---|
389 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
390 | _PrecompiledSlot(u'size', isAttrib=False, inURL=False, inJS=False, |
---|
391 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
392 | _PrecompiledSlot(u'times', isAttrib=False, inURL=False, inJS=False, |
---|
393 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
394 | _PrecompiledSlot(u'delete', isAttrib=False, inURL=False, inJS=False, |
---|
395 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
396 | _PrecompiledSlot(u'rename', isAttrib=False, inURL=False, inJS=False, |
---|
397 | inJSSingleQuoteString=False), '</td>\n <td>', |
---|
398 | _PrecompiledSlot(u'info', isAttrib=False, inURL=False, inJS=False, |
---|
399 | inJSSingleQuoteString=False), '</td>\n '])), '\n\n ', |
---|
400 | WovenContext(tag=Tag(u'tr', specials={u'pattern': u'empty'}, |
---|
401 | children=['<td>directory is empty!</td>'])), '\n\n'])), |
---|
402 | '\n']))</td></tr><tr class="varRow"><td class="varName">original</td><td class="varValue"><bound method DirectoryAsHTML.render_try_children of <allmydata.web.directory.DirectoryAsHTML object at 0x97222cc>></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"><allmydata.web.directory.DirectoryAsHTML object at 0x97222cc></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"><module 'nevow.tags' from '/usr/lib/python2.5/site-packages/nevow/tags.pyc'></td></tr></tbody></table></div></div><a name="tracebackEnd"><p class="error"><type 'exceptions.AttributeError'>: 'DirectoryAsHTML' object has no attribute 'dirnode_children_error'</p></a></body></html> |
---|