2023-02-10 18:57:15 - ERROR - [AnyIO worker thread:book_ticket():55] - Invalid input of type: 'Ticket'. Convert to a bytes, string, int or float first.
2023-02-10 18:59:21 - ERROR - [AnyIO worker thread:book_ticket():56] - a bytes-like object is required, not 'Ticket'
2023-02-10 19:02:10 - ERROR - [AnyIO worker thread:book_ticket():57] - a bytes-like object is required, not 'Ticket'
2023-02-13 10:18:19 - ERROR - [AnyIO worker thread:book_ticket():56] - a bytes-like object is required, not 'Ticket'
2023-02-13 10:20:02 - ERROR - [AnyIO worker thread:book_ticket():56] - (psycopg2.errors.UndefinedColumn) column "age" of relation "ticket_details" does not exist
LINE 1: ...ket_details (mobile_no, pref_class, no_of_ticket, age, statu...
(Background on this error at: https://sqlalche.me/e/20/f405)
2023-02-13 12:09:04 - ERROR - [AnyIO worker thread:delete_row():23] - (psycopg2.errors.UndefinedFunction) operator does not exist: integer = boolean
LINE 3: ..._details.ticket_id = 3 AND ticket_details.ticket_id = false
^
HINT: No operator matches the given name and argument types. You might need to add explicit type casts.
[SQL: SELECT ticket_details.ticket_id AS ticket_details_ticket_id, ticket_details.mobile_no AS ticket_details_mobile_no, ticket_details.pref_class AS ticket_details_pref_class, ticket_details.no_of_ticket AS ticket_details_no_of_ticket, ticket_details.age AS ticket_details_age, ticket_details.date_of_purchase AS ticket_details_date_of_purchase, ticket_details.status AS ticket_details_status
FROM ticket_details
WHERE ticket_details.ticket_id = %(ticket_id_1)s AND ticket_details.ticket_id = false
LIMIT %(param_1)s]
[parameters: {'ticket_id_1': 3, 'param_1': 1}]
(Background on this error at: https://sqlalche.me/e/20/f405)
2023-02-13 14:22:56 - ERROR - [AnyIO worker thread:book_ticket():57] - 'Film_Ticket' object has no attribute 'row'
2023-02-13 15:01:38 - ERROR - [AnyIO worker thread:book_ticket():61] - local variable 'key' referenced before assignment
2023-02-13 15:04:01 - ERROR - [AnyIO worker thread:book_ticket():61] - 'Film_Ticket' object has no attribute 'row'
2023-02-13 15:07:44 - ERROR - [AnyIO worker thread:book_ticket():60] - 'pref_class' is an invalid keyword argument for Ticket
2023-02-13 15:09:05 - ERROR - [AnyIO worker thread:book_ticket():60] - (psycopg2.errors.UndefinedColumn) column "preferred_class" of relation "ticket_details" does not exist
LINE 1: INSERT INTO ticket_details (mobile_no, preferred_class, no_o...