Problem appears to be that the facebook.py is expecting comments to be returned as a list and they are actually being returned as a dictionary. I have been able to fix the problem by changing the comment parsing loop to use values() for the dictionary. Here is the original code:
if data.get("comments", 0): m["comments"] = [] for item in data["comments"]["comment_list"]: m["comments"].append({ "text": item["text"], "time": int(mx.DateTime.DateTimeFrom(item["time"]).gmtime()), "sender": self._sender(profiles[item["fromid"]]), }) Changing the for line as follows corrects the problem: if data.get("comments", 0): m["comments"] = [] for item in data["comments"]["comment_list"].values(): m["comments"].append({ "text": item["text"], "time": int(mx.DateTime.DateTimeFrom(item["time"]).gmtime()), "sender": self._sender(profiles[item["fromid"]]), }) ** Attachment added: "modified /usr/lib/python2.6/dist-packages/gwibber/microblog/facebook.py file to correct facebook message retrieval problem" http://launchpadlibrarian.net/49241548/facebook.py -- facebook is always a day or two OLD https://bugs.launchpad.net/bugs/572011 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs