Package: gcalcli
Version: 1.4-3
Severity: grave
Tags: upstream
Justification: renders package unusable


The issue and a simple solution are fully described on
http://code.google.com/p/gcalcli/issues/detail?id=51

I'm not the original reporter (randerson55), but my symptoms
are exactly the same and the proposed solution works for me.

Here is an excerpt from the above-linked page:
> Hi, all.  gcalcli worked perfectly for me for a few months until,
> within the last couple of days, it ceased working entirely.
> I didn't change versions or configuration of gcalcli in any way.
> I also made no changes to any settings on my Google Calendar account.
>
> > What steps will reproduce the problem?
> 1. Run the command "gcalcli list" (or calm or calw or agenda.
>    Not tested on any other commands).
>
> > What is the expected output? What do you see instead?
> Expected output: A list of all calendars available on
> the configured Google Calendars account.
>
> Actual output (to stderr):
>
> Traceback (most recent call last):
>   File "./gcalcli", line 1114, in <module>
>     DoooooItHippieMonster()
>   File "./gcalcli", line 1025, in DoooooItHippieMonster
>     borderColor=borderColor)
>   File "./gcalcli", line 321, in __init__
>     cal.gcalcli_username    = urllib.unquote(match.group(1))
> AttributeError: 'NoneType' object has no attribute 'group'
>
[...]
> > Please provide any additional information below.
> I did a bit of digging.  A few debugging print statements (near
> line 321) indicated that self.feedPrefix was an http:// address 
> while cal.GetAlternateLink().href was giving an https:// address.
>
> The obvious fix was to change feedPrefix on line 226.
>
> -    feedPrefix    = 'http://www.google.com/calendar/feeds/'
> +    feedPrefix    = 'https?://www.google.com/calendar/feeds/'
>
> Making that change fixed gcalcli completely, as far as I've tested.
> I'm not sure if it's the proper or optimal fix, but it does do the
> job.
>

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.33.4 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gcalcli depends on:
ii  python                        2.5.4-9    An interactive high-level object-o
ii  python-dateutil               1.4.1-3    powerful extensions to the standar
ii  python-gdata                  2.0.8-1.1  Google Data Python client library

Versions of packages gcalcli recommends:
pn  gxmessage                     <none>     (no description available)

gcalcli suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to