Results 1 to 4 of 4

Thread: Gwibber facebook bug.

  1. #1
    Join Date
    Aug 2009
    Location
    Under the stairs.
    Beans
    1,408
    Distro
    Ubuntu 12.04 Precise Pangolin

    Gwibber facebook bug.

    Hi..
    I am aware that there is an ongoing bug with gwibber not being able to authorise properly with facebook. Status's can be updated but nothing else shows. I was wondering if anyone has a workaround for this?

    Thanks!
    Dell Inspiron 1764 Laptop, Intel CoreTM i5 520M), 4GB Shared Dual Channel DDR3 at 1066MHz, 512MB ATI Mobility RadeonTM HD4330 Integrated Intel HD.

  2. #2
    Join Date
    May 2011
    Location
    Alternate Universe
    Beans
    38
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Gwibber facebook bug.

    Hi,

    I've been pulling my hair for months because of this issue.

    Thanks to comment #79 here: https://bugs.launchpad.net/ubuntu/+s...r/+bug/1058672
    there's a workaround/fix to this, and guess what... IT WORKS!
    Just checked it and now I can see my Facebook feed on Gwibber.

    It's here, http://planetared.com/2013/01/soluci...12-04-y-12-10/
    it's in Spanish, but if you guys can't understand, I'll do a quick translation:


    Open the file /usr/share/gwibber/plugins/facebook/__init__.py with Gedit or other text editor, this way:
    Code:
    gksu gedit /usr/share/gwibber/plugins/facebook/__init__.py
    Now find the following line:
    Code:
    m["privacy"]["description"] = data["privacy"]["description"]
    and replace it with the following lines exactly (including the indentations -two blank spaces- before the two "m"s):
    Code:
    if data["privacy"].has_key("description"):
      m["privacy"]["description"] = data["privacy"]["description"]
    else:
      m["privacy"]["description"] = "Unknown"
    Save the file and restart Gwibber via the following commands:
    Code:
    killall gwibber-service
    gwibber-service &
    This fix works for 12.04 and 12.10

  3. #3
    Join Date
    Jun 2006
    Location
    Brisbane Australia
    Beans
    713

    Re: Gwibber facebook bug.

    It's simpler and better python code to replace those 4 lines with:
    Code:
    m["privacy"]["description"] = data["privacy"].get("description", "Unknown")

  4. #4
    Join Date
    May 2011
    Location
    Alternate Universe
    Beans
    38
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Gwibber facebook bug.

    Thanks for pointing it out, markbl. I don't know anything about code, so I just replicated a solution someone else found on the web.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •