Giter Club home page Giter Club logo

webssh's Issues

无法登陆

环境 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]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.