Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法登陆 #4

Open
whb1993 opened this issue Nov 3, 2020 · 1 comment
Open

无法登陆 #4

whb1993 opened this issue Nov 3, 2020 · 1 comment

Comments

@whb1993
Copy link

whb1993 commented Nov 3, 2020

环境 win10
python 3.7
运行后点击登录 报错,是否是因为版本原因?
image
image

return await application(scope, receive, send) File "C:\Users\97281\AppData\Local\Programs\Python\Python37\lib\site-packages\channels\sessions.py", line 47, in __call__ return await self.inner(dict(scope, cookies=cookies), receive, send) File "C:\Users\97281\AppData\Local\Programs\Python\Python37\lib\site-packages\channels\sessions.py", line 172, in __call__ return await self.inner(self.scope, receive, self.send) File "C:\Users\97281\AppData\Local\Programs\Python\Python37\lib\site-packages\channels\auth.py", line 181, in __call__ return await super().__call__(scope, receive, send) File "C:\Users\97281\AppData\Local\Programs\Python\Python37\lib\site-packages\channels\middleware.py", line 26, in __call__ return await self.inner(scope, receive, send) File "C:\Users\97281\AppData\Local\Programs\Python\Python37\lib\site-packages\channels\routing.py", line 160, in __call__ send, File "C:\Users\97281\AppData\Local\Programs\Python\Python37\lib\site-packages\asgiref\compatibility.py", line 33, in new_application instance = application(scope) File "C:\Users\97281\AppData\Local\Programs\Python\Python37\lib\site-packages\channels\generic\websocket.py", line 23, in __init__ super().__init__(*args, **kwargs) TypeError: object.__init__() takes exactly one argument (the instance to initialize) WebSocket DISCONNECT /webssh/ [127.0.0.1:11349] HTTP GET /static/bootstrap/3.3.7/bootstrap.min.css.map 404 [0.07, 127.0.0.1:11344] HTTP GET /static/xterm/3.14.5/xterm.min.css.map 404 [0.10, 127.0.0.1:11343] HTTP GET / 200 [0.01, 127.0.0.1:11418] HTTP GET /static/xterm/3.14.5/xterm.min.css.map 404 [0.03, 127.0.0.1:11418] HTTP GET /static/bootstrap/3.3.7/bootstrap.min.css.map 404 [0.06, 127.0.0.1:11419] HTTP GET /static/favicon.ico 200 [0.10, 127.0.0.1:11420] WebSocket HANDSHAKING /webssh/ [127.0.0.1:11763] Exception inside application: object.__init__() takes exactly one argument (the instance to initialize) Traceback (most recent call last): File "C:\Users\97281\AppData\Local\Programs\Python\Python37\lib\site-packages\channels\routing.py", line 71, in __call__ return await application(scope, receive, send) File "C:\Users\97281\AppData\Local\Programs\Python\Python37\lib\site-packages\channels\sessions.py", line 47, in __call__ return await self.inner(dict(scope, cookies=cookies), receive, send) File "C:\Users\97281\AppData\Local\Programs\Python\Python37\lib\site-packages\channels\sessions.py", line 172, in __call__ return await self.inner(self.scope, receive, self.send) File "C:\Users\97281\AppData\Local\Programs\Python\Python37\lib\site-packages\channels\auth.py", line 181, in __call__ return await super().__call__(scope, receive, send) File "C:\Users\97281\AppData\Local\Programs\Python\Python37\lib\site-packages\channels\middleware.py", line 26, in __call__ return await self.inner(scope, receive, send) File "C:\Users\97281\AppData\Local\Programs\Python\Python37\lib\site-packages\channels\routing.py", line 160, in __call__ send, File "C:\Users\97281\AppData\Local\Programs\Python\Python37\lib\site-packages\asgiref\compatibility.py", line 33, in new_application instance = application(scope) File "C:\Users\97281\AppData\Local\Programs\Python\Python37\lib\site-packages\channels\generic\websocket.py", line 23, in __init__ super().__init__(*args, **kwargs) TypeError: object.__init__() takes exactly one argument (the instance to initialize) WebSocket DISCONNECT /webssh/ [127.0.0.1:11763]

@wanglu58
Copy link
Owner

wanglu58 commented Jun 3, 2021

有可能是你主机的密码输错了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants