Comment 16 for bug 1088775

Revision history for this message
Björn Kautler (vampire0) wrote :

The problem is that the feed doesn't contain a "description" sub-key for the "privacy" key.
Obviously this was present before but is no longer present.
But the code depends on it being there.

Workaround:

sudo vim /usr/share/gwibber/plugins/facebook/__init__.py

replace line 329 which reads

      m["privacy"]["description"] = data["privacy"]["description"]

by

      if data["privacy"].has_key("description"):
        m["privacy"]["description"] = data["privacy"]["description"]
      else:
        m["privacy"]["description"] = "Unknown"

This is not a suggested fix as I don't know whether the else is needed as I don't know whether some other code depends on "description" being set in m.