Those are wrapper errors in the wrapper (interface) you use, it's not SQLite errors. I should think the Pyqt5 forum or usergroup should be able to shed some light on it. With the error you get I would assume that "VisitorName" (which seems to be a string/text) is being pushed into a column that isn't so dedicated - not that SQLite would care about it, but the interface (wrapper) you use in Pyqt5 might care. Do you have the database schema? Show how the table was created and we may perhaps have more thoughts, but honestly, you are far more likely to find help from the Pyqt5 people.