Ticket #44 (accepted defect)
KeyError: 'pkglist'
| Reported by: | Id2ndR | Owned by: | fpletz |
|---|---|---|---|
| Priority: | critical | Milestone: | |
| Component: | apt-zeroconf | Keywords: | |
| Cc: |
Description
I have a problem that I don't know know exactly how to reproduce. That a critical problem since it prevent you for downloading any package when it occured. The solution when you have this problem is to fully reboot you computer. If you only do "$ sudo /etc/init.d/apt-zeroconf restart", it will say you it have restart but the problem remains. I put the log bellow. When browsing http://localhost:1618/list, the list is correcty sended even with this problem.
2008-03-09 15:37:14 [Thread-10] [INFO ] [::ffff:127.0.0.1]: http://apt.emesene.org/./emesene_1.0~r1157-1_all.deb 2008-03-09 15:37:14 [Thread-10] [DEBUG ] fallback: http://apt.emesene.org/./emesene_1.0~r1157-1_all.deb Traceback (most recent call last):
File "SocketServer?.py", line 464, in process_request_thread
self.finish_request(request, client_address)
File "SocketServer?.py", line 254, in finish_request
self.RequestHandlerClass?(request, client_address, self)
File "SocketServer?.py", line 522, in init
self.handle()
File "BaseHTTPServer.py", line 316, in handle
self.handle_one_request()
File "BaseHTTPServer.py", line 310, in handle_one_request
method()
File "/usr/lib/python2.5/site-packages/aptzeroconf/http.py", line 73, in do_GET
self._do_GET()
File "/usr/lib/python2.5/site-packages/aptzeroconf/http.py", line 139, in _do_GET
for url in self._get_urls(path[-1]):
File "/usr/lib/python2.5/site-packages/aptzeroconf/http.py", line 183, in _get_urls
urls += hosts.get_urls_for_file(unquote(fn))
File "/usr/lib/python2.5/site-packages/aptzeroconf/util.py", line 31, in func
return f(*args, **kw)
File "/usr/lib/python2.5/site-packages/aptzeroconf/avaphi.py", line 236, in get_urls_for_file
for real_fn in datapkglist?:
KeyError?: 'pkglist'
