Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem after upgrading to Trusty Thar (14.04) #132

Closed
levi42 opened this issue Apr 5, 2014 · 7 comments
Closed

Problem after upgrading to Trusty Thar (14.04) #132

levi42 opened this issue Apr 5, 2014 · 7 comments

Comments

@levi42
Copy link

levi42 commented Apr 5, 2014

Since I upgraded to Trusty Thar, gcalcli will no longer launch, it just returns:

Traceback (most recent call last):
File "/usr/bin/gcalcli", line 392, in
class gcalcli:
File "/usr/bin/gcalcli", line 410, in gcalcli
dateParser = DateTimeParser()
File "/usr/bin/gcalcli", line 335, in init
self.pdtCalendar = parsedatetime.Calendar();
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'
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,))

@wxl
Copy link

wxl commented Apr 19, 2014

ditto. other python packages are working fine (e.g. geeknote, googlecl, morituri) and python-pyicu is installed.

@wxl
Copy link

wxl commented Apr 19, 2014

oh and technically i get (see last line):

Traceback (most recent call last):
  File "/usr/bin/gcalcli", line 392, in <module>
    class gcalcli:
  File "/usr/bin/gcalcli", line 410, in gcalcli
    dateParser    = DateTimeParser()
  File "/usr/bin/gcalcli", line 335, in __init__
    self.pdtCalendar = parsedatetime.Calendar();
  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,))

@davinellulinvega
Copy link

Hello everyone,
I'm unfortunately not commenting here to add any new information regarding this error, but as I also have this problem and kind of rely on gcalcli on a daily basis, I would like to be kept up to date.
If I can help in any way to provide more information or event correct the problem, feel free to ask.
Thanks for your efforts.

@wxl
Copy link

wxl commented May 3, 2014

$ pip install --upgrade parsedatetime

problem solved.

if you don't have pip (wha?):

$ sudo apt-get update && sudo apt-get -y install python-pip

@davinellulinvega
Copy link

Thanks a lot wxl this work perfectly.

@levi42
Copy link
Author

levi42 commented May 3, 2014

Thanks this work.

@levi42 levi42 closed this as completed May 3, 2014
@chrisjohnston
Copy link

FWIW, I backported parsedatetime in my PPA so you don't need to install it from pypi.. ppa:cjohnston/ppa

@tresni tresni mentioned this issue Dec 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants