Has the DB schema for unread_messages changed between Gajim versions?
If so, it would be good if both the old and the new schema were
supported.  Something like

        def insert_unread_events(self, message_id, jid_id):
                ''' add unread message with id: message_id'''
                try:
                        sql = 'INSERT INTO unread_messages VALUES (%d, %d)' % 
(message_id, jid_id)
                        self.simple_commit(sql)
                except sqlite.OperationalError:
                        # Code from older revision with three columns in 
unread_messages

-- 
table unread_messages has 3 columns but 2 values were supplied
https://bugs.launchpad.net/bugs/462043
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to