sqlite3.IntegrityError: NOT NULL constraint failed: Profile.surname
def patronymic(message): #получаем отчества
...
cursor.execute("INSERT INTO Profile (user_id, name, surname, patronymic) VALUES (?, ?, ?, ?)", (user_id, name, surname, patronymic))