We can't just remove the count, but since facebook has changed the data
structure I have a patch ready that properly gets the count.

-- 
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:
  New

Bug description:
  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

Reply via email to