[Bug 1088775] Re: gwibber does not refresh Facebook feeds
Ruben Rocha
ruben.silvarocha at gmail.com
Sun Oct 27 22:47:11 UTC 2013
There are problems again with gwibber and facebook. 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.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-imaging in Ubuntu.
https://bugs.launchpad.net/bugs/1088775
Title:
gwibber does not refresh Facebook feeds
Status in Gwibber:
Fix Released
Status in “gwibber” package in Ubuntu:
Fix Released
Status in “python-imaging” package in Ubuntu:
Incomplete
Status in “gwibber” source package in Precise:
Fix Released
Status in “gwibber” source package in Quantal:
Fix Released
Status in “python-imaging” source package in Quantal:
Invalid
Bug description:
Since around November 28th, Gwibber stopped updating my Facebook
feeds. First, I tried to delete my facebook account from online
accounts and than uninstall and reinstall gwibber. Then, I removed
ubuntu from facebook app settings after doing all of the above. Then I
checked my proxy settings, and my proxy is on none. When I open
gwibber, I see feeds that are 12-13 days old and when I try to
refresh, it does not do anything. I mean it does not even write
refreshing... at the bottom of the screen. When I check if gwibber-
service is running correctly I get no mistake in the terminal. I've
looked a lot around bugs sections in many sites but none of them had
an answer.
Steps to verify this SRU:
[Test Case]
Ensure gwibber-service has restarted since the update by either a logout/login or "killall gwibber-service", then verify there is feed data for your facebook account.
[Regression Potential]
Regression potential is really low, it simply checks that the dict returned has a key, and if it doesn't use an empty value for the result.
To manage notifications about this bug go to:
https://bugs.launchpad.net/gwibber/+bug/1088775/+subscriptions
More information about the foundations-bugs
mailing list