Bug#494047: 'pyzor discover' fails
Package: pyzor
Version: 1:0.4.0+cvs20030201-8
Severity: important
When I attempt to run `pyzor discover`, it throws an exception, I
believe due to not handling a 404 error properly.
Output:
jonathan@mammon:~$ pyzor discover
downloading servers from http://pyzor.sourceforge.net/cgi-bin/inform-servers-0-3-x
Traceback (most recent call last):
File "/usr/bin/pyzor", line 8, in <module>
pyzor.client.run()
File "/var/lib/python-support/python2.5/pyzor/client.py", line 1005, in run
ExecCall().run()
File "/var/lib/python-support/python2.5/pyzor/client.py", line 184, in run
self.servers = self.get_servers(servers_fn)
File "/var/lib/python-support/python2.5/pyzor/client.py", line 411, in get_servers
servers.read(open(servers_fn))
File "/var/lib/python-support/python2.5/pyzor/client.py", line 117, in read
self.append(pyzor.Address.from_str(line))
File "/var/lib/python-support/python2.5/pyzor/__init__.py", line 458, in from_str
fields[1] = int(fields[1])
IndexError: list index out of range
If I simply visit http://pyzor.sourceforge.net/cgi-bin/inform-servers-0-3-x
the server gives a 404 page. I do not know what other URL to try.
Jonathan
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.16.33-xenU (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages pyzor depends on:
ii python 2.5.2-1 An interactive high-level object-o
ii python-gdbm 2.5.2-1 GNU dbm database support for Pytho
ii python-support 0.8.4 automated rebuilding support for P
pyzor recommends no packages.
pyzor suggests no packages.
-- no debconf information
Reply to: