Python Forum
Asyncio | Websockets - general problem starting the server
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Asyncio | Websockets - general problem starting the server
#3
The error is telling you what is going on.

On line 384 in functools.partial you call Websocket class - the () - instead passing it as a parameter just by its name. The Websocket.__init__ method expects one parameter client

Didn't look for anything else in your code - tldr. Hope it works.
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply


Messages In This Thread
RE: Asyncio | Websockets - general problem starting the server - by wavic - Oct-26-2022, 08:35 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Paramiko Server -- Exception (server): Error reading SSH protocol banner ujlain 3 4,920 Jul-24-2023, 06:52 AM
Last Post: Gribouillis
  Listen TCP and send data to websockets neoboby 3 3,146 Feb-13-2023, 09:47 PM
Last Post: Vadanane
  Socket server problem H84Gabor 0 1,302 Jun-21-2022, 12:14 AM
Last Post: H84Gabor
Bug Problem connecting TLS client written in C++ and Twisted server gpropf 0 1,441 Jun-12-2022, 05:57 PM
Last Post: gpropf
  websockets help :/ kimblee 3 5,617 Feb-15-2021, 01:26 AM
Last Post: kimblee
  Simple TCP Client and TCP Server Problem Vapulabis 5 4,483 Jul-12-2020, 05:09 PM
Last Post: ndc85430
  Slow websockets server -> client pattagghiu 0 2,457 Sep-17-2019, 09:28 AM
Last Post: pattagghiu
  Flask and Websockets == True? rxndy 2 2,889 Apr-21-2019, 04:08 PM
Last Post: rxndy
  Send Pressure sensor data to IoT platform using WebSockets in Python barry76 3 4,707 Mar-12-2019, 09:48 AM
Last Post: barry76
  Basical TCP/UDP client-server problem maolow 3 5,384 Feb-04-2017, 05:00 AM
Last Post: Skaperen

Forum Jump:

User Panel Messages

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