Ticket #618: error.html

File error.html, 6.8 KB (added by francois, at 2009-02-10T19:30: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.AttributeError'&gt;: NewDirectoryNode instance has no attribute 'replace_me_with_a_childcap'</p></a><div class="stackTrace"><div class="firstFrame"><div class="location">/usr/lib/python2.5/site-packages/twisted/internet/defer.py, line 107 in <span class="function">maybeDeferred</span></div><div class="snippet"><div class="snippetLine"><span class="lineno">105</span><pre class="code">
134</pre></div><div class="snippetLine"><span class="lineno">106</span><pre class="code">    try:
135</pre></div><div class="snippetHighlightLine"><span class="lineno">107</span><pre class="code">        result = f(*args, **kw)
136</pre></div><div class="snippetLine"><span class="lineno">108</span><pre class="code">    except:
137</pre></div></div><div class="variables"><strong class="variableClass">Locals</strong></div><table class="variables"><tr class="varRow"><td class="varName">args</td><td class="varValue">(PageContext(tag=&lt;allmydata.web.directory.DirectoryNodeHandler object at 0xda9f54c&gt;, remembrances={'nevow.inevow.ICurrentSegments': ('uri', 'URI:DIR2:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX', 'Music', 'Latest'), 'nevow.inevow.IRemainingSegments': ()}),)</td></tr><tr class="varRow"><td class="varName">kw</td><td class="varValue">{}</td></tr><tr class="varRow"><td class="varName">f</td><td class="varValue">&lt;bound method DirectoryNodeHandler.renderHTTP of &lt;allmydata.web.directory.DirectoryNodeHandler object at 0xda9f54c&gt;&gt;</td></tr></table></div><div class="frame"><div class="location">/usr/lib/python2.5/site-packages/allmydata/web/common.py, line 146 in <span class="function">renderHTTP</span></div><div class="snippet"><div class="snippetLine"><span class="lineno">144</span><pre class="code">            from twisted.web.server import UnsupportedMethod
138</pre></div><div class="snippetLine"><span class="lineno">145</span><pre class="code">            raise UnsupportedMethod(getattr(self, 'allowedMethods', ()))
139</pre></div><div class="snippetHighlightLine"><span class="lineno">146</span><pre class="code">        return m(ctx)
140</pre></div><div class="snippetLine"><span class="lineno">147</span><pre class="code"></pre></div></div><div class="variables"><strong class="variableClass">Locals</strong></div><table class="variables"><tr class="varRow"><td class="varName">m</td><td class="varValue">&lt;bound method DirectoryNodeHandler.render_PUT of &lt;allmydata.web.directory.DirectoryNodeHandler object at 0xda9f54c&gt;&gt;</td></tr><tr class="varRow"><td class="varName">self</td><td class="varValue">&lt;allmydata.web.directory.DirectoryNodeHandler object at 0xda9f54c&gt;</td></tr><tr class="varRow"><td class="varName">ctx</td><td class="varValue">PageContext(tag=&lt;allmydata.web.directory.DirectoryNodeHandler object at 0xda9f54c&gt;, remembrances={'nevow.inevow.ICurrentSegments': ('uri', 'URI:DIR2:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX', 'Music', 'Latest'), 'nevow.inevow.IRemainingSegments': ()})</td></tr></table><div class="variables"><strong class="variableClass">Globals</strong></div><table class="variables"><tr class="varRow"><td class="varName">server</td><td class="varValue">&lt;module 'twisted.web.server' from '/usr/lib/python2.5/site-packages/twisted/web/server.pyc'&gt;</td></tr></table></div><div class="frame"><div class="location">/usr/lib/python2.5/site-packages/allmydata/web/directory.py, line 161 in <span class="function">render_PUT</span></div><div class="snippet"><div class="snippetLine"><span class="lineno">159</span><pre class="code">                # (by us).
141</pre></div><div class="snippetLine"><span class="lineno">160</span><pre class="code">                raise ExistingChildError()
142</pre></div><div class="snippetHighlightLine"><span class="lineno">161</span><pre class="code">            d = self.parentnode.replace_me_with_a_childcap(ctx, replace)
143</pre></div><div class="snippetLine"><span class="lineno">162</span><pre class="code">            # TODO: results
144</pre></div></div><div class="variables"><strong class="variableClass">Locals</strong></div><table class="variables"><tr class="varRow"><td class="varName">self</td><td class="varValue">&lt;allmydata.web.directory.DirectoryNodeHandler object at 0xda9f54c&gt;</td></tr><tr class="varRow"><td class="varName">ctx</td><td class="varValue">PageContext(tag=&lt;allmydata.web.directory.DirectoryNodeHandler object at 0xda9f54c&gt;, remembrances={'nevow.inevow.ICurrentSegments': ('uri', 'URI:DIR2:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX', 'Music', 'Latest'), 'nevow.inevow.IRemainingSegments': ()})</td></tr><tr class="varRow"><td class="varName">replace</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">ExistingChildError</td><td class="varValue">&lt;class 'allmydata.interfaces.ExistingChildError'&gt;</td></tr></table></div></div><a name="tracebackEnd"><p class="error">&lt;type 'exceptions.AttributeError'&gt;: NewDirectoryNode instance has no attribute 'replace_me_with_a_childcap'</p></a></body></html>