[Python-modules-team] Bug#733829: python3-icalendar: Fails to configure

John O'Hagan johnmohagan at gmail.com
Wed Jan 1 01:55:01 UTC 2014


Package: python3-icalendar
Version: 3.5-2
Severity: grave
Justification: renders package unusable

Dear Maintainer,

Tried to install the package using aptitude, it failed at the configure stage
Here is the output:

root at mini:/home/john# aptitude install python3-icalendar
The following NEW packages will be installed:
  python3-icalendar
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/45.1 kB of archives. After unpacking 175 kB will be used.
Selecting previously unselected package python3-icalendar.
(Reading database ... 180274 files and directories currently installed.)
Preparing to unpack .../python3-icalendar_3.5-2_all.deb ...
Unpacking python3-icalendar (3.5-2) ...
Setting up python3-icalendar (3.5-2) ...
  File "/usr/lib/python3/dist-packages/icalendar/tests/test_timezoned.py", line
29
    self.assertEqual(ev1.decoded('DTSTART'), datetime.datetime(2012, 02, 13,
10, 0, 0, tzinfo=pytz.timezone('Europe/Vienna')))
                                                                      ^
SyntaxError: invalid token

  File "/usr/lib/python3/dist-
packages/icalendar/tests/test_property_params.py", line 72
    NON_SAFE_CHARS = ur',\;:'
                            ^
SyntaxError: invalid syntax

  File "/usr/lib/python3/dist-packages/icalendar/tests/test_unit_prop.py", line
328
    self.assertEqual(vText('Text with escaped\N chars').to_ical(),
                                  ^
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in
position 17-18: malformed \N character escape

  File "/usr/lib/python3/dist-packages/icalendar/parser.py", line 25
    return text.replace('\N', '\n')\
                           ^
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in
position 0-1: malformed \N character escape

dpkg: error processing package python3-icalendar (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 python3-icalendar
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up python3-icalendar (3.5-2) ...
  File "/usr/lib/python3/dist-packages/icalendar/tests/test_timezoned.py", line
29
    self.assertEqual(ev1.decoded('DTSTART'), datetime.datetime(2012, 02, 13,
10, 0, 0, tzinfo=pytz.timezone('Europe/Vienna')))
                                                                      ^
SyntaxError: invalid token

  File "/usr/lib/python3/dist-
packages/icalendar/tests/test_property_params.py", line 72
    NON_SAFE_CHARS = ur',\;:'
                            ^
SyntaxError: invalid syntax

  File "/usr/lib/python3/dist-packages/icalendar/tests/test_unit_prop.py", line
328
    self.assertEqual(vText('Text with escaped\N chars').to_ical(),
                                  ^
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in
position 17-18: malformed \N character escape

  File "/usr/lib/python3/dist-packages/icalendar/parser.py", line 25
    return text.replace('\N', '\n')\
                           ^
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in
position 0-1: malformed \N character escape

dpkg: error processing package python3-icalendar (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 python3-icalendar



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

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

Versions of packages python3-icalendar depends on:
ii  python3-dateutil  2.0+dfsg1-1
ii  python3-tz        2012c-1

python3-icalendar recommends no packages.

python3-icalendar suggests no packages.

-- no debconf information



More information about the Python-modules-team mailing list