[Bug 1302963] Re: Calendar() class can not be initialized

Launchpad Bug Tracker 1302963 at bugs.launchpad.net
Wed Jun 4 08:22:38 UTC 2014


This bug was fixed in the package parsedatetime - 1.2-1

---------------
parsedatetime (1.2-1) unstable; urgency=medium


  * Team upload.

  [ Jakub Wilk ]
  * Use canonical URIs for Vcs-* fields.

  [ Jackson Doak ]
  * Sync from ubuntu. Closes: #485054 #717991
  * Bump standards-version to 3.9.5 (no changes)
  * Use dh and debhelper 9 for building

  [ Vincent Cheng ]
  * Remove obsolete patches.

 -- Jackson Doak <noskcaj at ubuntu.com>  Mon, 02 Jun 2014 14:08:43 +1000

** Changed in: parsedatetime (Ubuntu)
       Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to parsedatetime in Ubuntu.
https://bugs.launchpad.net/bugs/1302963

Title:
  Calendar() class can not be initialized

Status in “parsedatetime” package in Ubuntu:
  Fix Released

Bug description:
  Using the simple example from upstreams readme
  (https://github.com/bear/parsedatetime) raises an error:

  $python
  >>> import parsedatetime.parsedatetime as pdt
  >>> cal = pdt.Calendar()
  Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "/usr/lib/python2.7/dist-packages/parsedatetime/__init__.py", line 216, in __init__
      self.ptc = Constants()
    File "/usr/lib/python2.7/dist-packages/parsedatetime/__init__.py", line 1733, in __init__
      self.locale = pdtLocales['icu'](self.localeID)
    File "/usr/lib/python2.7/dist-packages/parsedatetime/pdt_locales.py", line 151, in __init__
      self.icu = pyicu.Locale(localeID)
  icu.InvalidArgsError: (<type 'icu.Locale'>, '__init__', (None,))

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/parsedatetime/+bug/1302963/+subscriptions



More information about the foundations-bugs mailing list