column jid is not unique
I tried to send a message to my account with two gajim (r8446) instances running with different resources, but on the second account I wasn't able to open the chat window. Anyhow a second try after restarting it worked - maybe because no window asking for a alternative resource appeared and I edit my resource via the account preferences window and then restarted the second gajim instance.
Traceback (most recent call last):
File "/usr/share/gajim/src/roster_window.py", line 4149, in on_open_chat_window
self.new_chat(contact, account, resource = resource)
File "/usr/share/gajim/src/roster_window.py", line 3719, in new_chat
chat_control = ChatControl(mw, contact, account, resource)
File "/usr/share/gajim/src/chat_control.py", line 1009, in __init__
self.restore_conversation()
File "/usr/share/gajim/src/chat_control.py", line 1812, in restore_conversation
pending_how_many, timeout, self.account)
File "/usr/share/gajim/src/common/logger.py", line 428, in get_last_conversation_lines
jid_id = self.get_jid_id(jid)
File "/usr/share/gajim/src/common/logger.py", line 184, in get_jid_id
self.cur.execute('INSERT INTO jids (jid, type) VALUES (?, ?)', (jid, typ))
pysqlite2.dbapi2.IntegrityError: column jid is not unique