python-gdata crashes on gcalcli call with correct credentials but claims bad user/pass

Bug #364951 reported by gcranston
8
Affects Status Importance Assigned to Milestone
python-gdata (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: python-gdata

calling gcalcli with CORRECT credentials causes this crash. Incorrect credentials gives proper "Failed to authenticate" error from gcalcli.

I get this output:
graham@tyndareus:~ | gcalcli --nc --user ********* --pw ******** agenda
Traceback (most recent call last):
  File "/usr/bin/gcalcli", line 1114, in <module>
    DoooooItHippieMonster()
  File "/usr/bin/gcalcli", line 1044, in DoooooItHippieMonster
    gcal.AgendaQuery()
  File "/usr/bin/gcalcli", line 777, in AgendaQuery
    eventList = self._SearchForCalEvents(start, end, start, None)
  File "/usr/bin/gcalcli", line 710, in _SearchForCalEvents
    feed = self.gcal.CalendarQuery(query)
  File "/var/lib/python-support/python2.5/gdata/calendar/service.py", line 115, in CalendarQuery
    result = self.Query(query.ToUri())
  File "/var/lib/python-support/python2.5/gdata/calendar/service.py", line 111, in Query
    result = self.Get(uri)
  File "/var/lib/python-support/python2.5/gdata/service.py", line 556, in Get
    'reason': server_response.reason, 'body': result_body}
gdata.service.RequestError: {'status': 400, 'body': 'Invalid UserId p', 'reason': 'Bad Request'}

This appears to be caused by a bug in python-gdata which was fixed nearly a year ago in the source, but never made it into the repository.
http://code.google.com/p/gcalcli/issues/detail?id=27
http://code.google.com/p/gdata-python-client/issues/detail?id=122#makechanges
http://code.google.com/p/gdata-python-client/downloads/list <-- new source

The patch was commited in MAY 2008, and python-gdata is now at v1.3, way up from 1.0.9. Can we fix this one in the repositories?

graham@tyndareus:~ | lsb_release -rd
Description: Ubuntu 8.10
Release: 8.10

graham@tyndareus:~ | apt-cache policy python-gdata
python-gdata:
  Installed: 1.0.9-1ubuntu1
  Candidate: 1.0.9-1ubuntu1
  Version table:
 *** 1.0.9-1ubuntu1 0
        500 http://archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
NonfreeKernelModules: nvidia
Package: python-gdata 1.0.9-1ubuntu1
PackageArchitecture: all
ProcEnviron:
 PATH=/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
SourcePackage: python-gdata
Uname: Linux 2.6.27-11-generic i686

Tags: apport-bug
Revision history for this message
gcranston (gcranston) wrote :
Revision history for this message
gcranston (gcranston) wrote :

Ummm.... has anyone else seen this? The updated source to fix this bug is linked in the original post, I just don't know how to package it or submit the solution as a patch.

Revision history for this message
Donnie Pennington (donniepennington) wrote :

Yes, I just ran into the exact same problem described here.

sirald66 (sirald66)
Changed in python-gdata (Ubuntu):
status: New → Confirmed
Revision history for this message
sirald66 (sirald66) wrote :

UPDATE ?

Changed in python-gdata (Ubuntu):
status: Confirmed → New
Revision history for this message
Andreas Noteng (andreas-noteng) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner. There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. This bug is reported against Ubuntu 8.10 which reached EOL on April 30, 2010. Because of this, I'm going to close this bug as invalid, please don't hesitate to reopen, if the bug still exists in a supported release.

Changed in python-gdata (Ubuntu):
status: New → Invalid
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.