parsedatetime has an optional dependency on a specific version python-
pyicu, which is not documented -- it seems that the current trusty
version 1.5-2ubuntu4 does not play nice.

Workaround is to explicity disable pyicu, for example use:

import parsedatetime.parsedatetime as pdtal = pdt.Calendar()
cal = pdt.Calendar(pdt.Constants(usePyICU=False))

I'll dig and see if I can come up with the exact pyicu version
dependency parsedatetime expects.

** Changed in: parsedatetime (Ubuntu)
   Importance: Undecided => Medium

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

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

Title:
  Calendar() class can not be initialized

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to