Python Forum
__call__() got an unexpected keyword argument 'text'
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
__call__() got an unexpected keyword argument 'text'
#5
I got the code running but the two of the other buttons don't work. here is the error

Error:
Exception in Tkinter callback Traceback (most recent call last): File "C:\Users\saba_\AppData\Local\Programs\Python\Python36-32\lib\tkinter\__init__.py", line 1702, in __call__ return self.func(*args) File "C:\Users\saba_\Desktop\python\clickerHero.py", line 33, in stopClick if startClickingVar == 1: UnboundLocalError: local variable 'startClickingVar' referenced before assignment
and the exit button says this
Error:
Exception in Tkinter callback Traceback (most recent call last): File "C:\Users\saba_\AppData\Local\Programs\Python\Python36-32\lib\tkinter\__init__.py", line 1702, in __call__ return self.func(*args) File "C:\Users\saba_\Desktop\python\clickerHero.py", line 39, in exit exit() File "C:\Users\saba_\Desktop\python\clickerHero.py", line 39, in exit exit() File "C:\Users\saba_\Desktop\python\clickerHero.py", line 39, in exit exit() [Previous line repeated 985 more times] RecursionError: maximum recursion depth exceeded
Reply


Messages In This Thread
RE: __call__() got an unexpected keyword argument 'text' - by saba_keon - Apr-07-2018, 01:21 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Django "Unexpected Keyword Argument 'min_value'" AstralWeeks 0 287 Mar-27-2024, 04:56 AM
Last Post: AstralWeeks
  Find a specific keyword after another keyword and change the output sgtmcc 5 922 Oct-05-2023, 07:41 PM
Last Post: deanhystad
  "unexpected keyword arg" when initializing my subclasses Phaze90 3 3,292 Nov-25-2022, 07:39 PM
Last Post: Gribouillis
  i want to use type= as a function/method keyword argument Skaperen 9 2,009 Nov-06-2022, 04:28 AM
Last Post: Skaperen
  TypeError: __init__() got an unexpected keyword argument 'value' Anldra12 7 22,866 May-11-2021, 06:35 PM
Last Post: deanhystad
  TypeError: coerce_kw_type() got an unexpected keyword argument 'dest' juniii 1 2,472 Apr-24-2020, 01:53 PM
Last Post: Jeff900
  SyntaxError: positional argument follows keyword argument syd_jat 3 5,913 Mar-03-2020, 08:34 AM
Last Post: buran
  Design question will __call__ rudihammad 1 1,979 Aug-11-2019, 11:58 AM
Last Post: ichabod801
  Super with Sublime Text - TypeError: super() takes at least 1 argument (0 given) Shafla 6 7,553 May-04-2019, 08:30 PM
Last Post: Shafla
  unexpected text file output <_io.TextIOWrapper… encoding='cp1252'> sleepylog 3 12,882 Aug-20-2017, 12:06 PM
Last Post: sparkz_alot

Forum Jump:

User Panel Messages

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