This bug was fixed in the package gwibber - 3.4.2-0ubuntu2.4
---------------
gwibber (3.4.2-0ubuntu2.4) precise-proposed; urgency=medium
* debian/patches/lp_1287211.patch
- Facebook's data structure for likes has changed, fix for parsing
and getting a count (LP: #1287211)
* debian/patches/lp_1286639.patch
- Ensure all calls to twitter.com use SSL (LP: #1286639)
-- Ken VanDine <[email protected]> Mon, 03 Mar 2014 13:38:17 -0500
** Changed in: gwibber (Ubuntu Precise)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gwibber in Ubuntu.
https://bugs.launchpad.net/bugs/1287211
Title:
Gwibber does not refresh Facebook feed
Status in “gwibber” package in Ubuntu:
Invalid
Status in “gwibber” source package in Precise:
Fix Released
Bug description:
[Impact]
Facebook's API has changed the data structure returned. There is no longer a
count of total number of likes provided. This causes a parse error in the
gwibber.
[Test case]
To reproduce this bug, ensure you have a facebook account configured and
attempt a refresh. The parse failure prevents any new feed data from being
stored in gwibber.
To verify the fix, ensure there is a facebook account configured and
refresh the feed. You should see recent content in your feed.
[Regression potential]
Very low, right now all refresh attempts will fail to parse the result
meaning nothing
gets stored. Any problems with the included fix would result in the same
failure.
There are problems again with gwibber and facebook. The facebook feed does
not refresh.
The error this time is that there is no "count" key when receiving the
facebook feed:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/gwibber/microblog/dispatcher.py",
line 81, in run
message_data = PROTOCOLS[account["service"]].Client(account)(opname,
**args)
File "/usr/share/gwibber/plugins/facebook/__init__.py", line 253, in
__call__
return getattr(self, opname)(**args)
File "/usr/share/gwibber/plugins/facebook/__init__.py", line 268, in receive
return [self._message(post) for post in data["data"]]
File "/usr/share/gwibber/plugins/facebook/__init__.py", line 224, in
_message
m["likes"]["count"] = data["likes"]["count"]
KeyError: 'count'
My solution was to edit the file
/usr/share/gwibber/plugins/facebook/__init__.py and from line 224 to
231 delete any instance of ["count"]. Save file and reboot. The
facebook feed now refreshes and appears in gwibber.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: gwibber 3.4.2-0ubuntu2.3
ProcVersionSignature: Ubuntu 3.11.0-17.31~precise1-generic 3.11.10.3
Uname: Linux 3.11.0-17-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: amd64
Date: Mon Mar 3 15:08:40 2014
InstallationMedia: Ubuntu 12.04.4 LTS "Precise Pangolin" - Release amd64
(20140204)
MarkForUpload: True
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: gwibber
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gwibber/+bug/1287211/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp