Ticket #44 (accepted defect)

Opened 5 months ago

Last modified 3 months ago

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'

Attachments

Change History

Changed 4 months ago by Id2ndR

There is a workaround :

I was able to download package again avec restarting avahi and AZC. sudo /etc/init.d/avahi-daemon restart sudo /etc/init.d/apt-zeroconf restart

Changed 3 months ago by fpletz

  • owner changed from dino to fpletz
  • status changed from new to accepted

Changed 3 months ago by anonymous

There is a better workaround : $ sudo /etc/init.d/avahi-daemon restart

Add/Change #44 (KeyError: 'pkglist')

Author



Change Properties
Action
as accepted
The ticket will be disowned. Next status will be 'new'
The owner will change to anonymous. Next status will be 'started'
as The resolution will be set. Next status will be 'closed'
Next status will be 'infoneeded'
to The owner will change. Next status will be 'assigned'
The owner will change to anonymous. Next status will be 'accepted'
 
Note: See TracTickets for help on using tickets.