Comment 1 for bug 600228

Revision history for this message
Jake Catayoc (jcatayoc) wrote :

Same here, using Ubuntu Lucid 10.04 LTS x64 on an Intel Core i3 processor and NVIDIA GeForce 310M video. Previously I'm also experiencing problems adding a Facebook account in Gwibber where the Add button does not appear. However, after several tries and doing all sorts of things, I can connect now, but my posts and replies aren't being updated in Facebook.

jacobcat@xsys-laptop2:~$ gwibber-service -d -o
Updating...
Gwibber Dispatcher: DEBUG Setting up monitors
Gwibber Dispatcher: DEBUG Monitors are up
Gwibber Dispatcher: INFO Gwibber Service is reloading account credentials
Gwibber Dispatcher: DEBUG Refresh interval is set to 5
Gwibber Dispatcher: DEBUG ** Starting Refresh - Mon Jul 5 16:39:50 2010 **
Gwibber Dispatcher: DEBUG <facebook:responses> Performing operation
Gwibber Dispatcher: DEBUG <facebook:receive> Performing operation
Gwibber Dispatcher: DEBUG <facebook:images> Performing operation
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/network.py", line 32, in __init__
    self.curl.perform()
error: (6, 'name lookup timed out')
Gwibber Dispatcher: ERROR Failed to communicate with https://api.facebook.com/restserver.php?api_key=71b85c6d8cb5bbb9f1a3f8bbdcdd4b05&v=1.0&sig=23890723f36d1177673edd2d6b0a73ba&format=json&query=%0A++++++SELECT+id%2C+post_id%2C+time%2C+fromid%2C+text%2C+object_id+FROM+comment+WHERE+post_id+IN%0A++++++++%28SELECT+post_id+FROM+stream+WHERE+source_id+%3D+100000350859355%29+AND%0A++++++++fromid+%3C%3E+100000350859355+ORDER+BY+time+DESC+LIMIT+1%2C100%0A++++++&session_key=08d8eecac12be053074dd6bb-100000350859355&method=facebook.fql.query&call_id=1278319190000
Gwibber Dispatcher: ERROR Failed to parse the response, error was: No JSON object could be decoded
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/network.py", line 32, in __init__
    self.curl.perform()
error: (6, 'name lookup timed out')
Gwibber Dispatcher: ERROR Failed to communicate with https://api.facebook.com/restserver.php?api_key=71b85c6d8cb5bbb9f1a3f8bbdcdd4b05&format=json&call_id=1278319190000&viewer_id=100000350859355&limit=80&v=1.0&sig=d45fa1e120eba9191690cf724e542cf5&session_key=08d8eecac12be053074dd6bb-100000350859355&method=facebook.stream.get
Gwibber Dispatcher: ERROR Failed to parse the response, error was: No JSON object could be decoded
Gwibber Dispatcher: ERROR <facebook:receive> Operation failed
Gwibber Dispatcher: DEBUG Traceback:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/dispatcher.py", line 75, in perform_operation
    message_data = PROTOCOLS[account["protocol"]].Client(account)(opname, **args)
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/facebook.py", line 198, in __call__
    return getattr(self, opname)(**args)
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/facebook.py", line 210, in receive
    profiles = dict((p["id"], p) for p in data["profiles"])
TypeError: string indices must be integers, not str

Gwibber Dispatcher: ERROR <facebook:responses> Operation failed
Gwibber Dispatcher: DEBUG Traceback:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/dispatcher.py", line 75, in perform_operation
    message_data = PROTOCOLS[account["protocol"]].Client(account)(opname, **args)
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/facebook.py", line 198, in __call__
    return getattr(self, opname)(**args)
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/facebook.py", line 221, in responses
    return [self._comment(comment, profiles) for comment in data]
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/facebook.py", line 141, in _comment
    user = profiles[data["fromid"]]
TypeError: string indices must be integers, not str

Gwibber Dispatcher: DEBUG <facebook:images> Finished operation
Gwibber Dispatcher: INFO Loading complete: 1 - ['Failure', 'Failure', 'Success']