Python Forum
ReferenceError: weakly-referenced object no longer exists
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ReferenceError: weakly-referenced object no longer exists
#4
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:
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
Reply


Messages In This Thread
RE: ReferenceError: weakly-referenced object no longer exists - by MrBitPythoner - Dec-13-2020, 09:34 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Upgraded Python: Module no longer found - for Linux Curbie 8 1,322 Mar-05-2025, 06:01 PM
Last Post: Curbie
Question [SOLVED] Upgraded Python: Module no longer found Winfried 1 954 Jan-01-2025, 02:43 PM
Last Post: Larz60+
  how solve: local variable referenced before assignment ? trix 5 1,644 Jun-15-2024, 07:15 PM
Last Post: trix
  Beginner: Code not work when longer list raiviscoding 2 1,614 May-19-2023, 11:19 AM
Last Post: deanhystad
  local varible referenced before assignment SC4R 6 2,985 Jan-10-2023, 10:58 PM
Last Post: snippsat
  a longer docstring Skaperen 8 3,520 Aug-25-2022, 11:21 PM
Last Post: Skaperen
  UnboundLocalError: local variable 'wmi' referenced before assignment ilknurg 2 2,904 Feb-10-2022, 07:36 PM
Last Post: deanhystad
  Referenced before assignment finndude 3 4,200 Mar-02-2021, 08:11 PM
Last Post: finndude
  IDLE editing window no longer works chris1 2 3,047 Feb-06-2021, 07:59 AM
Last Post: chris1
  Code no longer working yk303 14 14,506 Dec-21-2020, 10:58 PM
Last Post: bowlofred

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020