Comment 53 for bug 1088775

Juan Simón (simonbcn) wrote :

The fix on #16 doesn't work for me on Ubuntu 12.10 64 bits:

$ gwibber-service -do
root MainThread : INFO Logger initialized
Service MainThread : INFO Service starting
Service MainThread : INFO Running from the source tree
root MainThread : ERROR Could not find any typelib for Unity
/usr/lib/python2.7/dist-packages/gobject/constants.py:24: Warning: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed
  import gobject._gobject
Twitter MainThread : DEBUG Initializing.
Facebook MainThread : DEBUG Initializing.
Service MainThread : DEBUG Setting up monitors
Storage MainThread : DEBUG Creating indexes
Dispatcher MainThread : INFO Found account 6/facebook-microblog
Dispatcher MainThread : INFO Found account 8/twitter-microblog
Dispatcher MainThread : INFO Found 2 accounts
Dispatcher MainThread : DEBUG Refresh interval is set to 15
Dispatcher MainThread : DEBUG ** Starting Refresh - 2013-01-16 14:47:52.977111 **
Dispatcher MainThread : INFO Running Jobs: 0
Dispatcher MainThread : INFO Running Jobs: 0
Dispatcher Thread-1 : DEBUG <facebook:receive> Performing operation
Facebook Thread-1 : DEBUG Logging in
Dispatcher Thread-2 : DEBUG <twitter:receive> Performing operation
Dispatcher Thread-3 : DEBUG <twitter:responses> Performing operation
Dispatcher Thread-4 : DEBUG <twitter:private> Performing operation
Twitter Thread-2 : DEBUG Logging in
Dispatcher Thread-5 : DEBUG <twitter:lists> Performing operation
Dispatcher MainThread : INFO Running Jobs: 5
Facebook MainThread : DEBUG Login completed
Twitter MainThread : DEBUG Login completed
Twitter Thread-2 : DEBUG User id is: 40375527, name is J1Sm
Dispatcher Thread-1 : ERROR <facebook:receive> Operation failed
Dispatcher Thread-1 : DEBUG Traceback:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/gwibber/microblog/dispatcher.py", line 83, in run
    message_data = PROTOCOLS[account["service"]].Client(account)(opname, **args)
  File "/usr/share/gwibber/plugins/facebook/__init__.py", line 372, in __call__
    return getattr(self, opname)(**args)
  File "/usr/share/gwibber/plugins/facebook/__init__.py", line 389, in receive
    data = self._get("me/home", since=since, limit=100)
  File "/usr/share/gwibber/plugins/facebook/__init__.py", line 171, in _get
    if "access_token" not in self.account and not self._login():
  File "/usr/share/gwibber/plugins/facebook/__init__.py", line 141, in _login
    self._locked_login(old_token)
  File "/usr/share/gwibber/plugins/facebook/__init__.py", line 154, in _locked_login
    logger.debug("User id is: %s" % self.account["uid"])
  File "/usr/lib/python2.7/dist-packages/gwibber/microblog/dispatcher.py", line 196, in __getitem__
    return self._dict[key]
KeyError: 'uid'

Dispatcher Thread-1 : INFO Loading Error: 0 - Error
Dispatcher Thread-1 : DEBUG <facebook:receive> Finished operation (0:00:00.722634)
Dispatcher Thread-3 : INFO Loading complete: 1 - 0
Dispatcher Thread-3 : DEBUG <twitter:responses> Finished operation (0:00:01.365018)
Dispatcher Thread-2 : DEBUG <twitter:receive> Adding record
Dispatcher Thread-2 : DEBUG <twitter:receive> Adding record
Dispatcher Thread-2 : DEBUG <twitter:receive> Adding record
Dispatcher Thread-2 : INFO Loading complete: 2 - 3
Dispatcher Thread-2 : DEBUG <twitter:receive> Finished operation (0:00:01.674096)
Dispatcher Thread-4 : INFO Loading complete: 3 - 0
Dispatcher Thread-4 : DEBUG <twitter:private> Finished operation (0:00:02.257676)
Dispatcher Thread-5 : DEBUG <twitter:lists> Adding record
Dispatcher Thread-5 : INFO Loading complete: 4 - 1
Dispatcher Thread-5 : DEBUG <twitter:lists> Finished operation (0:00:02.481079)
^CTraceback (most recent call last):
  File "/usr/bin/gwibber-service", line 84, in <module>
    loop.run()
KeyboardInterrupt