Ticket #651: KeyError.html

File KeyError.html, 11.0 KB (added by zooko, at 2009-03-04T19:08:30Z)
Line 
1<html><head>
2 
3    <title>Directory SI=iy5il</title>
4    <!-- <link href="http://www.allmydata.com/common/css/styles.css"
5          rel="stylesheet" type="text/css"/> -->
6    <link href="KeyError_files/webform_css.css" type="text/css" rel="stylesheet">
7    <link href="KeyError_files/tahoe_css.css" type="text/css" rel="stylesheet">
8    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
9  <title>Exception</title></head><body>
10
11<h2>Directory SI=iy5il</h2>
12
13<div><a href="http://127.0.0.1:8123/uri/URI%3ADIR2%3A6n53rbb5gvfo5r7o73cjnelpje%3Aw6wmhdfdem34v245a7dq53kg437rvcqystdt7fg43ze5limjltoq/">Refresh this view</a></div>
14<div><a href="http://127.0.0.1:8123/">Return to Welcome page</a></div>
15
16<div><a href="http://127.0.0.1:8123/uri/URI%3ADIR2%3A6n53rbb5gvfo5r7o73cjnelpje%3Aw6wmhdfdem34v245a7dq53kg437rvcqystdt7fg43ze5limjltoq/?t=info">More info on this directory</a></div>
17<div><a href="http://127.0.0.1:8123/uri/URI%3ADIR2-RO%3Aszh3w74zhlnqcirbpcdbym45mm%3Aw6wmhdfdem34v245a7dq53kg437rvcqystdt7fg43ze5limjltoq/">Read-Only Version</a></div>
18
19<div>
20<style type="text/css">
21p.error {
22  color: black;
23  font-family: Verdana, Arial, helvetica, sans-serif;
24  font-weight: bold;
25  font-size: large;
26  margin: 0.25em;
27}
28
29div {
30  font-family: Verdana, Arial, helvetica, sans-serif;
31}
32
33strong.variableClass {
34  font-size: small;
35}
36
37div.stackTrace {
38}
39
40div.frame {
41  padding: 0.25em;
42  background: white;
43  border-bottom: thin black dotted;
44}
45
46div.firstFrame {
47  padding: 0.25em;
48  background: white;
49  border-top: thin black dotted;
50  border-bottom: thin black dotted;
51}
52
53div.location {
54    font-size: small;
55}
56
57div.snippet {
58  background: #FFFFDD;
59  padding: 0.25em;
60}
61
62div.snippetHighlightLine {
63  color: red;
64}
65
66span.lineno {
67    font-size: small;
68}
69
70pre.code {
71  margin: 0px;
72  padding: 0px;
73  display: inline;
74  font-size: small;
75  font-family: "Courier New", courier, monotype;
76}
77
78span.function {
79  font-weight: bold;
80  font-family: "Courier New", courier, monotype;
81}
82
83table.variables {
84  border-collapse: collapse;
85  width: 100%;
86}
87
88td.varName {
89  width: 1in;
90  vertical-align: top;
91  font-style: italic;
92  font-size: small;
93  padding-right: 0.25em;
94}
95
96td.varValue {
97  padding-left: 0.25em;
98  padding-right: 0.25em;
99  font-size: small;
100}
101
102div.variables {
103  margin-top: 0.5em;
104}
105
106div.dict {
107  background: #cccc99;
108  padding: 2px;
109  float: left;
110}
111
112td.dictKey {
113  background: #ffff99;
114  font-weight: bold;
115}
116
117td.dictValue {
118  background: #ffff99;
119}
120
121div.list {
122  background: #7777cc;
123  padding: 2px;
124  float: left;
125}
126
127div.listItem {
128  background: #9999ff;
129}
130
131div.instance {
132  width: 100%;
133  background: #efefef;
134  padding: 2px;
135  float: left;
136}
137
138span.instanceName {
139  font-size: small;
140  display: block;
141}
142
143span.instanceRepr {
144  font-family: "Courier New", courier, monotype;
145}
146
147div.function {
148  background: orange;
149  font-weight: bold;
150  float: left;
151}
152</style><a href="#tracebackEnd"><p class="error">&lt;type 'exceptions.KeyError'&gt;: 5</p></a><div class="stackTrace"><div class="firstFrame"><div class="location">/usr/lib/python2.5/site-packages/Twisted-8.2.0-py2.5-linux-x86_64.egg/twisted/internet/defer.py, line 328 in <span class="function">_runCallbacks</span></div><div class="snippet"><div class="snippetLine"><span class="lineno">326</span><pre class="code">                    self._runningCallbacks = True
153</pre></div><div class="snippetLine"><span class="lineno">327</span><pre class="code">                    try:
154</pre></div><div class="snippetHighlightLine"><span class="lineno">328</span><pre class="code">                        self.result = callback(self.result, *args, **kw)
155</pre></div><div class="snippetLine"><span class="lineno">329</span><pre class="code">                    finally:
156</pre></div></div><div class="variables"><strong class="variableClass">Self</strong><table class="variables"><tbody><tr class="varRow"><td class="varName">_runningCallbacks</td><td class="varValue"><pre>False</pre></td></tr><tr class="varRow"><td class="varName">result</td><td class="varValue"><pre>None</pre></td></tr></tbody></table></div><div class="variables"><strong class="variableClass">Locals</strong></div><table class="variables"><tbody><tr class="varRow"><td class="varName">callback</td><td class="varValue"><div class="method">Method
157_once_updated_download_best_version in file
158/home/zooko/playground/allmydata/tahoe/trunk/trunk/src/allmydata/mutable/filenode.py
159at line 305</div></td></tr><tr class="varRow"><td class="varName">self</td><td class="varValue"><div class="instance"><span class="instanceName">twisted.internet.defer.Deferred instance at 0x1dd2ef0</span><span class="instanceRepr">&lt;Deferred at 0x1dd2ef0  current result: None&gt;</span></div></td></tr><tr class="varRow"><td class="varName">args</td><td class="varValue"><pre>(&lt;allmydata.mutable.servermap.ServerMap instance at 0x36a3998&gt;,)</pre></td></tr><tr class="varRow"><td class="varName">kw</td><td class="varValue"><div class="dict"><span class="heading">Dictionary instance @ 0x91cbc80</span><table class="dict"></table></div></td></tr></tbody></table></div><div class="frame"><div class="location">/home/zooko/playground/allmydata/tahoe/trunk/trunk/src/allmydata/mutable/filenode.py, line 309 in <span class="function">_once_updated_download_best_version</span></div><div class="snippet"><div class="snippetLine"><span class="lineno">307</span><pre class="code">        if not goal:
160</pre></div><div class="snippetLine"><span class="lineno">308</span><pre class="code">            raise UnrecoverableFileError("no recoverable versions")
161</pre></div><div class="snippetHighlightLine"><span class="lineno">309</span><pre class="code">        return self._try_once_to_download_version(servermap, goal)
162</pre></div><div class="snippetLine"><span class="lineno">310</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">servermap</td><td class="varValue"><div class="instance"><span class="instanceName">allmydata.mutable.servermap.ServerMap instance at 0x36a3998</span><span class="instanceRepr">&lt;allmydata.mutable.servermap.ServerMap instance at 0x36a3998&gt;</span></div></td></tr><tr class="varRow"><td class="varName">self</td><td class="varValue"><div class="instance"><span class="instanceName">allmydata.mutable.filenode.MutableFileNode instance at 0x1e5cd40</span><span class="instanceRepr">&lt;MutableFileNode 1e5cd40 RW 6n53rbb5&gt;</span></div></td></tr><tr class="varRow"><td class="varName">goal</td><td class="varValue"><pre>(20, "\x80v\xf6\xdd7\xd1\x88\xa9\xd8\x99\x9f\x1bjr\xea\xe4\xbf\xfa\xc9\xc2\xffd\xc5\xecb\xc1\xa4\xcb\xcf('\xe8", '\x8eT\x81&lt;\xbf\xc3\xffO\x0f&amp;o\x9c\xcf\xc2\x83T', 4749, 4747, 3, 10, "\x00\x00\x00\x00\x00\x00\x00\x00\x14\x80v\xf6\xdd7\xd1\x88\xa9\xd8\x99\x9f\x1bjr\xea\xe4\xbf\xfa\xc9\xc2\xffd\xc5\xecb\xc1\xa4\xcb\xcf('\xe8\x8eT\x81&lt;\xbf\xc3\xffO\x0f&amp;o\x9c\xcf\xc2\x83T\x03\n\x00\x00\x00\x00\x00\x00\x12\x8d\x00\x00\x00\x00\x00\x00\x12\x8b", (('EOF', 3621), ('enc_privkey', 2406), ('share_data', 823), ('signature', 399), ('block_hash_tree', 791), ('share_hash_chain', 655)))</pre></td></tr></tbody></table><div class="variables"><strong class="variableClass">Globals</strong></div><table class="variables"><tbody><tr class="varRow"><td class="varName">UnrecoverableFileError</td><td class="varValue"><pre>&lt;class 'allmydata.mutable.common.UnrecoverableFileError'&gt;</pre></td></tr></tbody></table></div><div class="frame"><div class="location">/home/zooko/playground/allmydata/tahoe/trunk/trunk/src/allmydata/mutable/filenode.py, line 428 in <span class="function">_try_once_to_download_version</span></div><div class="snippet"><div class="snippetLine"><span class="lineno">426</span><pre class="code">        if history:
163</pre></div><div class="snippetLine"><span class="lineno">427</span><pre class="code">            history.notify_retrieve(r.get_status())
164</pre></div><div class="snippetHighlightLine"><span class="lineno">428</span><pre class="code">        return r.download()
165</pre></div><div class="snippetLine"><span class="lineno">429</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">r</td><td class="varValue"><div class="instance"><span class="instanceName">allmydata.mutable.retrieve.Retrieve instance at 0x97c32d8</span><span class="instanceRepr">&lt;allmydata.mutable.retrieve.Retrieve instance at 0x97c32d8&gt;</span></div></td></tr><tr class="varRow"><td class="varName">history</td><td class="varValue"><div class="instance"><span class="instanceName">allmydata.history.History instance at 0x1b0aab8</span><span class="instanceRepr">&lt;allmydata.history.History instance at 0x1b0aab8&gt;</span></div></td></tr></tbody></table></div><div class="frame"><div class="location">/home/zooko/playground/allmydata/tahoe/trunk/trunk/src/allmydata/mutable/retrieve.py, line 157 in <span class="function">download</span></div><div class="snippet"><div class="snippetLine"><span class="lineno">155</span><pre class="code">            # right now, and a well-provisioned grid shouldn't have multiple
166</pre></div><div class="snippetLine"><span class="lineno">156</span><pre class="code">            # shares per peer.
167</pre></div><div class="snippetHighlightLine"><span class="lineno">157</span><pre class="code">            peerid = list(self.remaining_sharemap[shnum])[0]
168</pre></div><div class="snippetLine"><span class="lineno">158</span><pre class="code">            self.get_data(shnum, peerid)
169</pre></div></div><div class="variables"><strong class="variableClass">Self</strong><table class="variables"><tbody><tr class="varRow"><td class="varName">remaining_sharemap</td><td class="varValue"><pre>{}</pre></td></tr></tbody></table></div><div class="variables"><strong class="variableClass">Locals</strong></div><table class="variables"><tbody><tr class="varRow"><td class="varName">shnum</td><td class="varValue"><pre>5</pre></td></tr><tr class="varRow"><td class="varName">shares</td><td class="varValue"><pre>set([(8, 'B\xa6g[P}&lt;\x859\xc0\x83\xac\xe9(\xd5\xe1\xcb\x17\xf3\x9c', 1236176457.7733941), (2, '\xd6&gt;\xb1\xaaF1\xb9\xcf\xdd\xa5\xe6m$\x88W\xfa\x0f/X\xac', 1236176451.9993761), (3, '\x9cR7GnS\xb3n\x11c\xda\xfd\x95\xf0\x0f\xe6|~\xcd^', 1236176452.0135119), (7, '\xb1Z\x86\xd0*\x8dN\xbcHTg\xe2\xb9\x08\xe1=\xfa\x80D\xdb', 1236176457.7767711), (5, '(\x98\xbb\xf8\x8c^\x06\xf6\x1aJ\x96gJ\xcd\xf7/L7\x01\x91', 1236176450.1852679), (6, '\xf1q~\xd3\x99\x8f\xe7\\\xeeY\xc3Pqr\xfb\xa0\xbc)\xf4\xc7', 1236176457.7664011)])</pre></td></tr><tr class="varRow"><td class="varName">self</td><td class="varValue"><div class="instance"><span class="instanceName">allmydata.mutable.retrieve.Retrieve instance at 0x97c32d8</span><span class="instanceRepr">&lt;allmydata.mutable.retrieve.Retrieve instance at 0x97c32d8&gt;</span></div></td></tr><tr class="varRow"><td class="varName">peerid</td><td class="varValue">�R7GnS�nc����|~�^</td></tr></tbody></table></div></div><a name="tracebackEnd"><p class="error">&lt;type 'exceptions.KeyError'&gt;: 5</p></a></div></body></html>