InvalidArgsError in gcalcli
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://
100 /var/lib/
$ python --version
Python 2.7.6
$ apt-cache policy python-
python-
Installed: 1.1.2-0ubuntu1
Candidate: 1.1.2-0ubuntu1
Version table:
*** 1.1.2-0ubuntu1 0
500 http://
100 /var/lib/
--- 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.
File "/usr/lib/
self.ptc = Constants()
File "/usr/lib/
self.locale = pdtLocales[
File "/usr/lib/
self.icu = pyicu.Locale(
icu.InvalidArgs
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
ProcVersionSign
Uname: Linux 3.13.0-29-generic x86_64
NonfreeKernelMo
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)
PackageArchitec
SourcePackage: gcalcli
UpgradeStatus: No upgrade log present (probably fresh install)
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.