Your message dated Sun, 15 Jan 2012 14:47:39 +0000
with message-id <e1rmrmx-0004el...@franck.debian.org>
and subject line Bug#587698: fixed in ipcheck 0.233-1.1
has caused the Debian Bug report #587698,
regarding ipcheck: on python2.6: AttributeError: 'NoneType' object has no 
attribute 'close'
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 ow...@bugs.debian.org
immediately.)


-- 
587698: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=587698
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: ipcheck
Version: 0.233-1
Severity: normal
Tags: patch

Everytime I run ipcheck.py on cron (I have it in /etc/cron.hourly), I get this:

  Traceback (most recent call last):
    File "/usr/sbin/ipcheck.py", line 5518, in <module>
      _main(sys.argv)
    File "/usr/sbin/ipcheck.py", line 5198, in _main
      fp.close()
    File "/usr/lib/python2.6/socket.py", line 273, in close
      self._sock.close()
  AttributeError: 'NoneType' object has no attribute 'close'

I have attached the patch I used to silence these errors.

Cheers,
Francois

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

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

Versions of packages ipcheck depends on:
ii  python                        2.6.5-5    An interactive high-level object-o

ipcheck recommends no packages.

ipcheck suggests no packages.

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/sbin/ipcheck (from ipcheck package)
--- /usr/sbin/ipcheck.py        2006-02-23 06:51:51.000000000 +1300
+++ ipcheck.py  2010-07-01 09:24:47.000000000 +1200
@@ -5187,15 +5187,15 @@
   logger.logit(logline)
 
   # try to get the html text
+  fp = None
   try:
     fp = h2.getfile()
     httpdata = fp.read()
-    fp.close()
   except:
     httpdata = "No output from http request."
 
-  # explicitly close
-  fp.close()
+  if fp:
+    fp.close()
 
   logline = "fd closed" 
   logger.logit(logline)

--- End Message ---
--- Begin Message ---
Source: ipcheck
Source-Version: 0.233-1.1

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

ipcheck_0.233-1.1.diff.gz
  to main/i/ipcheck/ipcheck_0.233-1.1.diff.gz
ipcheck_0.233-1.1.dsc
  to main/i/ipcheck/ipcheck_0.233-1.1.dsc
ipcheck_0.233-1.1_all.deb
  to main/i/ipcheck/ipcheck_0.233-1.1_all.deb



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 587...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Miguel de Val Borro <miguel.de...@gmail.com> (supplier of updated ipcheck 
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 ftpmas...@debian.org)


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

Format: 1.8
Date: Sun, 04 Dec 2011 15:57:08 +0100
Source: ipcheck
Binary: ipcheck
Architecture: source all
Version: 0.233-1.1
Distribution: unstable
Urgency: low
Maintainer: Mark Purcell <m...@debian.org>
Changed-By: Miguel de Val Borro <miguel.de...@gmail.com>
Description: 
 ipcheck    - Dyndns.org client to register your dynamic IP address
Closes: 587698
Changes: 
 ipcheck (0.233-1.1) unstable; urgency=low
 .
   * Non-maintainer upload.
   * Fix "on python2.6: AttributeError: 'NoneType' object has no
     attribute 'close'" (Closes: #587698, LP: #756657)
Checksums-Sha1: 
 a4332eb7847e4d5edfcb6877d08f89541905e4f9 1652 ipcheck_0.233-1.1.dsc
 9bdeb469debd500b4346703432729470e70d6745 8244 ipcheck_0.233-1.1.diff.gz
 5fc02b97c956cfc0bb694d6a283cb5c766e2a4e8 42584 ipcheck_0.233-1.1_all.deb
Checksums-Sha256: 
 3181d6e40d8ecef051f19511f7b4137d93ed3c6de9d82fdef5dd4b7c4d9f8c2a 1652 
ipcheck_0.233-1.1.dsc
 e25c4c37b9dd0ca371a5314831e81a0ccf262742d97162815a4971284c9ab2d0 8244 
ipcheck_0.233-1.1.diff.gz
 76006f5a6b57305ed7aff0a1d0c6c0defebe0f32deac0dfc99efc439bb6b2613 42584 
ipcheck_0.233-1.1_all.deb
Files: 
 4d9fc72f4d59c17b5353275192f1e613 1652 net optional ipcheck_0.233-1.1.dsc
 91c218927846aa58001460bcfd285a65 8244 net optional ipcheck_0.233-1.1.diff.gz
 e05286399bbc2a310ad2fb403ee55701 42584 net optional ipcheck_0.233-1.1_all.deb

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

iQIcBAEBCAAGBQJPED7tAAoJELs6aAGGSaoGmHsQAKtz0TrI7mAbuwv42WwWgBwO
Fb0BPVhWm4CbpFN7YbH0/SeFSK+6rF8UXsOiU1AyUqliss47UrLuqX/LD/7+0UqX
qVkBgZNZJZJzuwkMHK4/e+N2hsBRn0YTNK5sKLs788s3uSIoRjmiK+DOtUXc5fOj
4f/9wri/3m9bSEG08efhjMYYKRnnPJl3W/7RxPkdTVUbU3BP9AtlHDUUAHu/DIw/
H+mIB0DDavHw5cLBwkUQOPXnjdykRBNL1qlzM6zGal+emtszUEeKmK6MUNTsqUzp
vuLbufiBRgnZyNeMR7VBqA1Dc1GGptklQFsUyv7tvQRLs/sXiBWU1W0TbMD95wXd
OdJSja2x/JVWH1J7f0tI6y3FpeMhiY8/Xk4fWWCKScbwTLDW/xVF/mEeGoYOx4xn
pYsKFegm7IfkmzwY3u2qSqodX6aZWD1Ll8HUnCqTAeo0642r8AYWPgCR+bgRoTo5
pNhS3HMhWByCa8p21JDekq7QNo3lP7zgJY08JgTBrPKkk5Hm69mSlrMoTrjg73Km
ap3rAre0wanx8xZXG5uIo3XKNBwwaM8kPhIe9Iaa6Pm599DHz5ij6XmdRrmZUBGC
jal+atG9teTf4hRxGjrBLrnyduZTCVi4fQcL1KVuHcM8klEXk4JFy9nE2QP6CJF2
nAlXR6zg8uBI9Cr00cVC
=rSwF
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to