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

TypeError: __init__() takes 1 positional argument but 2 were given #43

Open
rosefun opened this issue Feb 1, 2018 · 0 comments
Open

Comments

@rosefun
Copy link

rosefun commented Feb 1, 2018

Traceback (most recent call last):
  File "E:\Anaconda3\lib\site-packages\aiohttp\web_protocol.py", line 410, in st
art
    resp = yield from self._request_handler(request)
  File "E:\Anaconda3\lib\site-packages\aiohttp\web.py", line 325, in _handle
    resp = yield from handler(request)
  File "E:\Anaconda3\lib\site-packages\aiohttp\web_middlewares.py", line 93, in
impl
    return (yield from handler(request))
  File "app.py", line 61, in logger
    return (yield from handler(request))
  File "app.py", line 100, in auth
    return (yield from handler(request))
  File "app.py", line 120, in response
    r = yield from handler(request)
  File "E:\Anaconda3\lib\site-packages\aiohttp\web_urldispatcher.py", line 142,
in handler_wrapper
    result = yield from result
  File "G:\0pythonstudy\chengxu\webAPP python廖雪峰\PureBlog-master\www\web_fram
e.py", line 200, in __call__
    return web.HTTPBadRequest('Missing argument: %s' % name)
TypeError: __init__() takes 1 positional argument but 2 were given

这是什么情况,求赐教!

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

1 participant