Dec-13-2020, 09:34 PM
Line 232 is a line in C:\Program Files\Python38\lib\site-packages\mysql\connector\cursor_cext.py
from the MySQL library.
The full traceback is:
from the MySQL library.
The full traceback is:
Error:Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Program Files\Python38\lib\tkinter\__init__.py", line 1883, in __call__
return self.func(*args)
File "C:\Users\good\Desktop\LibraryManagmentSystem\search_book.py", line 58, in submit
cur.execute("SELECT * FROM Books where ITLE = %s", (search_words))
File "C:\Program Files\Python38\lib\site-packages\mysql\connector\cursor_cext.py", line 232, in execute
if not self._cnx:
ReferenceError: weakly-referenced object no longer exists