fails to submit facebook thread message

Bug #436690 reported by Antono Vasiljev on 2009-09-25
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ken VanDine

Bug Description

apt-cache policy gwibber
  Installed: 2.0.0~bzr449-0ubuntu1
  Candidate: 2.0.0~bzr449-0ubuntu1
  Version table:
 *** 2.0.0~bzr449-0ubuntu1 0
        500 karmic/universe Packages
        100 /var/lib/dpkg/status

When trying to reply on facebook message:

send_thread failed with AttributeError on facebook 6 minutes ago
            Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/", line 130, in run
    messages = self.perform_operation(opdata)
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/", line 95, in perform_operation
    if not o.operation.return_value: o.perform_operation()
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/", line 76, in perform_operation
    return self.function(*(args or self.args))
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/", line 170, in send_thread, message)
AttributeError: 'dict' object has no attribute 'id'

i also having the same problem ....

Ken VanDine (ken-vandine) wrote :

I'll give that a me too.

Changed in gwibber:
status: New → Confirmed
Ken VanDine (ken-vandine) wrote :

Fixed in trunk

Changed in gwibber:
assignee: nobody → Ken VanDine (ken-vandine)
importance: Undecided → Medium
status: Confirmed → Fix Committed
Odin Hørthe Omdal (velmont) wrote :

Where is the fix? I want to look at the patch, it also isn't working with StatusNet (laconica). I get the same error replying.

Odin Hørthe Omdal (velmont) wrote :

Found it.

Almost the same fix worked here. Although I changed line 218 in from to str(target["id"])

Ken VanDine (ken-vandine) wrote :

Odlin: Can you confirm this patch works?

=== modified file 'gwibber/microblog/'
--- gwibber/microblog/ 2009-09-21 22:56:53 +0000
+++ gwibber/microblog/ 2009-10-02 01:57:24 +0000
@@ -215,5 +215,5 @@
   def send_thread(self, message, target):
     data = simplejson.loads(self.connect("/api/statuses/update.json",
       urllib.urlencode({"status": message,
- "in_reply_to_status_id":, "source": "Gwibber"})))
+ "in_reply_to_status_id": str(target["id"]), "source": "Gwibber"})))
     return Message(self, data)

Changed in gwibber:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers