Python Forum
Missing 1 required position argument: 'failure' while starting thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Missing 1 required position argument: 'failure' while starting thread.
#2
Have you tried passing self as the first argument? I know that seems strange since it's automatic, but passing a method into a thread could disassociated the method and self. If that fixes it, the problem would be that it's applying the arguments to each parameter and coming up one short.

Edit: On a related note, you should probably refactor so you aren't passing a method. I imagine that's a thread safety issue.
Reply


Messages In This Thread
RE: Missing 1 required position argument: 'failure' while starting thread. - by stullis - Jun-17-2020, 10:33 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Failure to run source command middlestudent 2 731 Sep-22-2023, 01:21 PM
Last Post: buran
  Dickey Fuller failure Led_Zeppelin 4 2,678 Sep-15-2022, 09:07 PM
Last Post: Led_Zeppelin
  TypeError: missing a required argument: 'y' gible 0 2,964 Dec-15-2021, 02:21 AM
Last Post: gible
  Assert failure jtcostel 1 1,667 Sep-03-2021, 05:28 PM
Last Post: buran
  TypeError: missing 3 required positional arguments: wardancer84 9 11,072 Aug-19-2021, 04:27 PM
Last Post: deanhystad
  TypeError: run_oracle_job() missing 1 required positional argument: 'connection_strin python_student 1 2,002 Aug-06-2021, 08:05 PM
Last Post: SheeppOSU
  TypeError: max_value() missing 2 required positional arguments: 'alpha' and 'beta' Anldra12 2 4,250 May-15-2021, 04:15 PM
Last Post: Anldra12
  TypeError: sum() missing 1 required positional argument: 'num2' Insen 3 5,538 Jan-06-2021, 04:25 PM
Last Post: Insen
  TypeError: forward() missing 1 required positional argument: 'x' sveto4ka 4 12,372 Jun-17-2020, 07:25 PM
Last Post: sveto4ka
  missing 1 required positional argument: 'self' yasser 7 11,609 Jun-07-2020, 06:48 AM
Last Post: ndc85430

Forum Jump:

User Panel Messages

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