KeyError while retrieving facebook:images

Bug #615339 reported by Captain Chaos
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Gwibber
Fix Released
Medium
Unassigned
gwibber (Ubuntu)
Fix Released
Medium
Unassigned
Maverick
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: gwibber

Gwibber seems to have a problem retrieving Facebook images. When I run gwibber-service -do, I get error messages like this:

Gwibber Dispatcher: ERROR <facebook:images> Operation failed
Gwibber Dispatcher: DEBUG Traceback:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/dispatcher.py", line 75, in perform_operation
    message_data = PROTOCOLS[account["protocol"]].Client(account)(opname, **args)
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/facebook.py", line 231, in __call__
    return getattr(self, opname)(**args)
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/facebook.py", line 290, in images
    return [self._image(post, profiles) for post in data]
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/facebook.py", line 177, in _image
    user = profiles[data["owner"]]
KeyError: u'1515387918'

And I never see any images posted by Facebook contacts appear in Gwibber.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: gwibber 2.30.1-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-24.39-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Mon Aug 9 14:34:25 2010
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
PackageArchitecture: all
SourcePackage: gwibber

Revision history for this message
Captain Chaos (launchpad-chaos) wrote :
Omer Akram (om26er)
Changed in gwibber (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Changed in gwibber:
status: New → Fix Committed
Changed in gwibber:
importance: Undecided → Medium
milestone: none → 2.32.0
Changed in gwibber:
status: Fix Committed → Fix Released
Changed in gwibber (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Sayantan Das (sayantan13) wrote :

I can confirm the fix. I receive images now. Thanks a lot!!

Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted gwibber into maverick-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in gwibber (Ubuntu):
status: Fix Released → In Progress
Changed in gwibber (Ubuntu Maverick):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Omer Akram (om26er) wrote :

i have been using the proposed gwibber for 7 days and have not found any regressions and there is a verification from Sayantan Das about the fix in the upstream version.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gwibber - 2.32.0.2-0ubuntu1

---------------
gwibber (2.32.0.2-0ubuntu1) maverick-proposed; urgency=low

  * New upstream release (LP: #660693)
    - Reuse the libproxy.ProxyFactory object to prevent a race
      condition (LP: #651761)
    - Facebook: Check for new messages since "updated_time" instead
      of "created_time", to prevent losing status updates (LP: #541831)
    - Facebook: Better handling of data returned from facebook (LP: #615339)
    - Facebook: fixed matching of uid with profiles (LP: #524510)
    - Facebook: fixed missing notifications (LP: #575394)
    - Facebook: when checking for new content, use localtime
    - Update existing record if it conflicts instead of just
      ignoring it (LP: #541831)
    - Added a missing import to properly log failure on avatar resize
    - Fix for internal Digg errors, thanks Vadim Rutkovsky (LP: #352226)
    - Branch fixes gwibber icon is broken on the right
      side, thanks Vish. (LP: #655159)
    - start gwibber-service anytime the client needs it, not just for
      service operations
    - dropped print statement used for debugging scrolling
 -- Ken VanDine <email address hidden> Wed, 13 Oct 2010 15:19:46 -0400

Changed in gwibber (Ubuntu Maverick):
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

copied to natty as well.

Changed in gwibber (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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