InvalidArgsError in gcalcli

Bug #1374213 reported by Brendan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gcalcli (Ubuntu)
New
Undecided
Unassigned

Bug Description

-- System info ---

 $ lsb_release -rd
Description: Ubuntu 14.04.1 LTS
Release: 14.04

$ apt-cache policy gcalcli
gcalcli:
  Installed: 2.4.2-2
  Candidate: 2.4.2-2
  Version table:
 *** 2.4.2-2 0
        500 http://gb.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
        100 /var/lib/dpkg/status

$ python --version
Python 2.7.6

$ apt-cache policy python-parsedatetime
python-parsedatetime:
  Installed: 1.1.2-0ubuntu1
  Candidate: 1.1.2-0ubuntu1
  Version table:
 *** 1.1.2-0ubuntu1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status

--- Bug ---

Gcalcli crashes during initialisation of the parsedatetime Python module:

$ gcalcli
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,))

Doesn't make any difference how you run it since it crashes when the class gets loaded.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: gcalcli 2.4.2-2
ProcVersionSignature: Ubuntu 3.13.0-29.53-generic 3.13.11.2
Uname: Linux 3.13.0-29-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3.3
Architecture: amd64
Date: Fri Sep 26 01:03:05 2014
InstallationDate: Installed on 2014-06-02 (115 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
PackageArchitecture: all
SourcePackage: gcalcli
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Brendan (bhenryj0117) wrote :
Revision history for this message
Mark Ferree (markferree) wrote :

I was getting the same error.

I found the following bug report for parsedatetime library which seems to be the culprit here: https://bugs.launchpad.net/ubuntu/+source/parsedatetime/+bug/1302963

Removing the ubuntu installed python-parsedatetime and using the pip version (1.4) of that library resolved this issue for me.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.