Your message dated Wed, 01 Jun 2011 18:18:19 +0000
with message-id <[email protected]>
and subject line Bug#574133: fixed in python-vobject 0.8.1c-4
has caused the Debian Bug report #574133,
regarding Import of Google Calendar ICAL file fails with "year is out of range" 
parse error
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.)


-- 
574133: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=574133
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-vobject
Version: 0.8.1c-3
Severity: normal
Tags: patch

Google allows iCal entries to have a datetime with year set to 0.  Python 
objects to this, as 0 is less than datetime.MIN_YEAR.  The patch just 
normalises the year info to be within Python's year bounds.


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

Kernel: Linux 2.6.32-trunk-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-vobject depends on:
ii  python                        2.5.4-9    An interactive high-level object-o
ii  python-dateutil               1.4.1-3    powerful extensions to the standar
ii  python-support                1.0.6.1    automated rebuilding support for P

python-vobject recommends no packages.

python-vobject suggests no packages.

-- no debconf information
--- /home/daniel/icalendar.py   2010-03-16 15:52:35.000000000 +0000
+++ icalendar.py        2010-03-16 15:54:43.000000000 +0000
@@ -1617,6 +1617,11 @@
                 tzinfo = utc
     except:
         raise ParseError("'%s' is not a valid DATE-TIME" % s)
+    if year < datetime.MINYEAR:
+        year = datetime.MINYEAR
+    if year > datetime.MAXYEAR:
+        year = datetime.MAXYEAR
+
     return datetime.datetime(year, month, day, hour, minute, second, 0, tzinfo)
 
 

--- End Message ---
--- Begin Message ---
Source: python-vobject
Source-Version: 0.8.1c-4

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

python-vobject_0.8.1c-4.diff.gz
  to main/p/python-vobject/python-vobject_0.8.1c-4.diff.gz
python-vobject_0.8.1c-4.dsc
  to main/p/python-vobject/python-vobject_0.8.1c-4.dsc
python-vobject_0.8.1c-4_all.deb
  to main/p/python-vobject/python-vobject_0.8.1c-4_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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Guido Günther <[email protected]> (supplier of updated python-vobject 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: SHA1

Format: 1.8
Date: Wed, 01 Jun 2011 20:05:05 +0200
Source: python-vobject
Binary: python-vobject
Architecture: source all
Version: 0.8.1c-4
Distribution: unstable
Urgency: low
Maintainer: Calendarserver Maintainers 
<[email protected]>
Changed-By: Guido Günther <[email protected]>
Description: 
 python-vobject - parse iCalendar and VCards in Python
Closes: 569273 574133
Changes: 
 python-vobject (0.8.1c-4) unstable; urgency=low
 .
   * [80b984b] Restore original upstream behaviour on unrecognized parameters
     (Closes: #569273)
   * [ae6eba8] Normalise year info to be within Python's year bounds. Thanks
     to Dave Holland for the patch (Closes: #574133)
Checksums-Sha1: 
 268107d5cd9785eb1ff7877b967ee55d8eec9378 1359 python-vobject_0.8.1c-4.dsc
 9a75414c418938079d11aa9e6a07dfae3153b68c 6809 python-vobject_0.8.1c-4.diff.gz
 476006e065fc12910190f70963059de0a93f9581 48132 python-vobject_0.8.1c-4_all.deb
Checksums-Sha256: 
 f8fe0d49bbd4ab2e2d1d05958ab4c712f4024cf217706ac53e6a8601ca9d92c9 1359 
python-vobject_0.8.1c-4.dsc
 ef6b624af6128b2aada9c8926e0b2a6efdd636c013c97b43ddb9023db796d0b1 6809 
python-vobject_0.8.1c-4.diff.gz
 11332d7663b8aeee8a1845435719713ddc2a0ed4653b64541aecf23c20bd1c8b 48132 
python-vobject_0.8.1c-4_all.deb
Files: 
 e4fcf4b7ece0d84fd4df453aabe3c46a 1359 python optional 
python-vobject_0.8.1c-4.dsc
 e7a3dd600580f0df369195719c459d7e 6809 python optional 
python-vobject_0.8.1c-4.diff.gz
 97ca1ea740d456ba829e51b52f5fc2eb 48132 python optional 
python-vobject_0.8.1c-4_all.deb

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

iD8DBQFN5oCrn88szT8+ZCYRAuWrAJ4g5BMnXHSJeafk6ohMwAz5ASQcHgCcD2QO
M2SzPvSiMxRlBZnpHGmXFyU=
=lTF+
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to