Comment 16 for bug 1189229

Revision history for this message
Genadi Saltikov (carmageddon-2) wrote : Re: friends-dispatcher (Empathy) crashes almost always, usually after screen lock due to inactivity, when I unlock screen I have the "Sorry, Ubuntu 13.04 has experienced an internal error"

Actually I didnt have to wait long :)

genadi@genadi-deskubuntu:~/.cache/friends$ killall friends-dispatcher
friends-dispatcher: no process found
genadi@genadi-deskubuntu:~/.cache/friends$ su -
Password:
root@genadi-deskubuntu:~# killall friends-dispatcher
friends-dispatcher: no process found
root@genadi-deskubuntu:~# logout
genadi@genadi-deskubuntu:~/.cache/friends$ friends-dispatcher -d -o
INFO MainThread friends.main Friends backend dispatcher starting
Traceback (most recent call last):
  File "/usr/bin/friends-dispatcher", line 9, in <module>
    load_entry_point('friends==0.1', 'console_scripts', 'friends-dispatcher')()
  File "/usr/lib/python3/dist-packages/friends/main.py", line 136, in main
    Dispatcher(gsettings, loop)
  File "/usr/lib/python3/dist-packages/friends/service/dispatcher.py", line 99, in __init__
    self.account_manager = AccountManager()
  File "/usr/lib/python3/dist-packages/friends/utils/account.py", line 48, in __init__
    self._add_new_account(account_service)
  File "/usr/lib/python3/dist-packages/friends/utils/account.py", line 68, in _add_new_account
    new_account = Account(account_service)
  File "/usr/lib/python3/dist-packages/friends/utils/account.py", line 120, in __init__
    self.protocol = protocol_class(self)
  File "/usr/lib/python3/dist-packages/friends/protocols/facebook.py", line 53, in __init__
    self._timestamps = PostIdCache(self._name + '_ids')
  File "/usr/lib/python3/dist-packages/friends/utils/cache.py", line 61, in __init__
    self.update(json.loads(cache.read()))
  File "/usr/lib/python3.3/codecs.py", line 300, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf8 in position 0: invalid start byte