Python Forum
invalid keyword arguments error
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
invalid keyword arguments error
#4
I don't know this module well, but 'tgtPort' is specified as a "string", while the module info suggests that for AF_INET, the port should be an integer.

You may want to parse it as an integer, or transpose it to one before passing it to connect().
Reply


Messages In This Thread
invalid keyword arguments error - by sagpal - Jun-03-2020, 08:58 PM
RE: port_scan - by Yoriz - Jun-03-2020, 09:16 PM
RE: invalid keyword arguments error - by sagpal - Jun-04-2020, 03:16 PM
RE: invalid keyword arguments error - by bowlofred - Jun-04-2020, 10:24 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Find a specific keyword after another keyword and change the output sgtmcc 5 854 Oct-05-2023, 07:41 PM
Last Post: deanhystad
  error: invalid command 'egg_info' TimTu 0 964 Jul-27-2023, 07:30 AM
Last Post: TimTu
  Why doesn't calling a parent constructor work with arbitrary keyword arguments? PurposefulCoder 4 954 Jun-24-2023, 02:14 PM
Last Post: deanhystad
  [ERROR] ParamValidationError: Parameter validation failed: Invalid type for parameter gdbengo 3 11,099 Dec-26-2022, 08:48 AM
Last Post: ibreeden
  Error TypeError: output_type_handler() takes 2 positional arguments but 6 were given paulo79 1 1,955 Oct-17-2022, 06:29 PM
Last Post: paulo79
  Invalid format specifier Error Led_Zeppelin 2 7,861 Jul-11-2022, 03:55 PM
Last Post: Led_Zeppelin
Exclamation Invalid syntax error(Predict Ethereum Price) lulu43366 2 3,183 Sep-24-2021, 01:24 PM
Last Post: lulu43366
  Unexplained Invalid syntax Error cybertooth 5 3,283 Aug-02-2021, 10:05 AM
Last Post: cybertooth
  Invalid syntax error - need help fixing calgk01 3 3,304 Feb-23-2021, 08:41 PM
Last Post: nilamo
  Error on nested loop : Invalid syntax dvazquezgu 3 3,243 Nov-25-2020, 10:04 AM
Last Post: palladium

Forum Jump:

User Panel Messages

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