Gajim not starting

1 reply [Última entrada]
Avron
Desconectado
Joined: 08/18/2020

I probably did something wrong but I don't know how to fix it.

$ gajim
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/gajim/gajim.py", line 255, in _activate
    self.interface = Interface()
  File "/usr/lib/python3/dist-packages/gajim/gui_interface.py", line 2782, in __init__
    cfg_was_read = parser.read()
  File "/usr/lib/python3/dist-packages/gajim/common/optparser.py", line 90, in read
    self.update_config(old_version, new_version)
  File "/usr/lib/python3/dist-packages/gajim/common/optparser.py", line 261, in update_config
    caps_cache.capscache.initialize_from_db()
  File "/usr/lib/python3/dist-packages/gajim/common/caps_cache.py", line 380, in initialize_from_db
    self.logger.iter_caps_data():
  File "/usr/lib/python3/dist-packages/gajim/common/logger.py", line 901, in iter_caps_data
    data = GzipFile(fileobj=BytesIO(row.data)).read().decode('utf-8').split('\0')
TypeError: a bytes-like object is required, not 'str'
$ 

Then of course gajim is not starting. I tried to remove and install the gajim package again but this does not change anything. Not sure what to do.

hailert
Desconectado
Joined: 10/21/2020

Developer response: removing cache.db could be a solution, but I'd be interested in why that fails (by having a look at that cache.db file)

By wurstsalat.

Check out the developers support channel on XMPP: gajim(at)conference.gajim.org