Your message dated Mon, 10 Aug 2009 18:03:24 +0000
with message-id <[email protected]>
and subject line Bug#529740: fixed in urlwatch 1.8-1
has caused the Debian Bug report #529740,
regarding urlwatch: crashes on certain http errors
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
529740: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=529740
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: urlwatch
Version: 1.7-1
Severity: normal
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

on certain errors urlwatch crashes with a backtrace:
$ urlwatch
Traceback (most recent call last):
  File "/usr/bin/urlwatch", line 231, in <module>
    data = filter(url, urllib2.urlopen(request).read())
  File "/usr/lib/python2.5/urllib2.py", line 124, in urlopen
    return _opener.open(url, data)
  File "/usr/lib/python2.5/urllib2.py", line 381, in open
    response = self._open(req, data)
  File "/usr/lib/python2.5/urllib2.py", line 399, in _open
    '_open', req)
  File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.5/urllib2.py", line 1107, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/lib/python2.5/urllib2.py", line 1080, in do_open
    r = h.getresponse()
  File "/usr/lib/python2.5/httplib.py", line 928, in getresponse
    response.begin()
  File "/usr/lib/python2.5/httplib.py", line 385, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.5/httplib.py", line 349, in _read_status
    raise BadStatusLine(line)
httplib.BadStatusLine

The attached patch catches all http errors when retrieving URL
content.

Regards,
  Bastian


- -- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29grog6 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages urlwatch depends on:
ii  python                        2.5.4-2    An interactive high-level object-o
ii  python-support                1.0.3      automated rebuilding support for P

Versions of packages urlwatch recommends:
pn  lynx                          <none>     (no description available)
ii  python-utidylib               0.2-3.2    Python wrapper for TidyLib
pn  python-vobject                <none>     (no description available)

Versions of packages urlwatch suggests:
ii  html2text                     1.3.2a-14  advanced HTML to text converter

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkoVGmoACgkQeBwlBDLsbz6VsgCfdKIf67n3KAu/RaJKzWQWe5q+
2KcAni0EKZAHxOVIZD3x/erNtB1FTXBW
=fVDt
-----END PGP SIGNATURE-----
--- /usr/bin/urlwatch   2009-01-08 00:02:45.000000000 +0100
+++ /tmp/urlwatch       2009-05-21 11:07:29.000000000 +0200
@@ -243,7 +243,7 @@
                 details += foutput('new', url, None, summary)
             log.info('writing current content of %s to %s' % (url, filename))
             open(filename, 'w').write(data)
-        except urllib2.HTTPError, error:
+        except (urllib2.HTTPError, httplib.error), error:
             log.error('got HTTPError while loading url: %s' % error)
             if display_errors:
                 details += foutput('error', url, error, summary)

--- End Message ---
--- Begin Message ---
Source: urlwatch
Source-Version: 1.8-1

We believe that the bug you reported is fixed in the latest version of
urlwatch, which is due to be installed in the Debian FTP archive:

urlwatch_1.8-1.diff.gz
  to pool/main/u/urlwatch/urlwatch_1.8-1.diff.gz
urlwatch_1.8-1.dsc
  to pool/main/u/urlwatch/urlwatch_1.8-1.dsc
urlwatch_1.8-1_all.deb
  to pool/main/u/urlwatch/urlwatch_1.8-1_all.deb
urlwatch_1.8.orig.tar.gz
  to pool/main/u/urlwatch/urlwatch_1.8.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Franck Joncourt <[email protected]> (supplier of updated urlwatch 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 10 Aug 2009 16:45:18 +0200
Source: urlwatch
Binary: urlwatch
Architecture: source all
Version: 1.8-1
Distribution: unstable
Urgency: low
Maintainer: Franck Joncourt <[email protected]>
Changed-By: Franck Joncourt <[email protected]>
Description: 
 urlwatch   - tool for monitoring webpages for updates
Closes: 529740
Changes: 
 urlwatch (1.8-1) unstable; urgency=low
 .
   * New Upstream Version
   * Bumped up Standards-Version to 3.8.2 (no change).
   * Fixed crash due to httplib exceptions (BadStatusLine) not handled.
    (Closes: #529740)
Checksums-Sha1: 
 97a194f6209d37894ed1cf088b7c68740302cbff 1867 urlwatch_1.8-1.dsc
 50a0e93cf7815a2400a11bb692b0f2a180bd872d 9982 urlwatch_1.8.orig.tar.gz
 77a546fcc2986d931a24803dcac29ca007000f15 3003 urlwatch_1.8-1.diff.gz
 97f6e95a7ca09271f749e87a03f5e644d97a3ba6 12952 urlwatch_1.8-1_all.deb
Checksums-Sha256: 
 e537f00bfe104426ebc37ddcc57201677944c4862c7da309affd10aa0c3df628 1867 
urlwatch_1.8-1.dsc
 36ff02617b03778f9ac4424da78c3b34e10fa4d74173247d15282527eb9f06a7 9982 
urlwatch_1.8.orig.tar.gz
 6ed500b579e4e139c24d5321e17709185632a0f6e6230340dbd3d024bd7ca114 3003 
urlwatch_1.8-1.diff.gz
 07d35a3f23805c8d1e2a4cd72b721d12a0697e8ea0b6bb74cf64785e0c033e1e 12952 
urlwatch_1.8-1_all.deb
Files: 
 88d29e6f425bb29d24186de757ff4216 1867 web extra urlwatch_1.8-1.dsc
 358f3b82a2c762c713b513bc0e5622b6 9982 web extra urlwatch_1.8.orig.tar.gz
 e69c591b270f9fe8b4e4f4f1d8b7301f 3003 web extra urlwatch_1.8-1.diff.gz
 6e379a561caa09f5ab8864542f2e83d3 12952 web extra urlwatch_1.8-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iQIcBAEBCAAGBQJKgF1nAAoJEB5qw/OH8O2saFkQAK33HqvT7WScsJvp+ZbCZ7F8
KtXKPUDxDD2xoEikhQgWUG3GP8CkTZxTLAM0uA61Vm3WOw5xFDXQJ4idPSBGOD+F
ylAX5xJz4YZ2Mc+o8VlkaCSnfjQoDjun57z42Zuuy4vvIgUlzyIVZCfZjMhsY8HK
7ZJVYWlcoAPc0gkLLOguDTH5bsYCCGqB+1XxYxsQjsTRsdcA2x7OSvveRW6RLPAh
wp7vg+sTZdRlvG5ukrOWr9fFs1RnAXADgNJ8UL+eGIcivC2jfm1KDz2Qwsj0JUFZ
85zDaY94u05fIv7NTsKc5SCTTbEqDMxkk+vHvXISUROXE5Z5YTIVSi8BnkHQF1W/
2ibZdzNyknYV/MndETGP1syIVmqjf2JmeHeDDmVIDV3rpMtYDymGgzCFdlOb5BHk
D+a9lNtwNXYwH4c5clhxWDtRN2UuwBUWxK7Lra1bFalD44MtWxdwDq5eVkXjDbIl
SvQ4spOwE5/ZqE38i7vls1hWYkt6sGPagBkmyAc5zrbM8Is5uoZLT9eIJ8rxUhvV
ksTkY3KhLMxI7a19Gi7LUzBJn8ZvAu4Fcmlo6PWqTu2VDKIWpkq954v/xW6RMrJm
8T01IB2qK80QylTcTTjpS/UcfZl0ALMHsgJcEK4hNQZaV0G0BjdQQS0GHcEaa4un
+uo/MPcKdHrY0Iq1ZQ3i
=Fass
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to