[Bug 1302963] Re: Calendar() class can not be initialized
Greg Lutostanski
1302963 at bugs.launchpad.net
Mon Apr 21 21:15:02 UTC 2014
Hi bear,
Good point, looks like disabling PyICU is not a good workaround then.
If we can get it to work with the python-pyicu version (1.5) currently
in trusty I think that would be best for now. I know its quite a bit
outdated, I will look into getting that updated to a more recent version
as well.
If getting it to work with 1.5 turns out to be a debacle, comment here
and we'll look for a better solution.
I am willing to test the changes on my end if need be.
BTW, this is such a useful package, I love it :). Thanks!
--
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:
Triaged
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