http localhost 5000 tasks出现500错误

发布于 2022-09-03 11:23:56 字数 2062 浏览 9 评论 0

系统win10 ,装了anaconda3环境 用的是python3 pyspider0.3.7
webui点击recent active tasks显示

Internal Server Error

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

然后命令行显示如下错误,求助,非常感谢!

[E 160808 00:00:05 app:1587] Exception on /tasks [GET]
Traceback (most recent call last):
  File "c:\anaconda3\lib\site-packages\flask\app.py", line 1988, in wsgi_app
    response = self.full_dispatch_request()
  File "c:\anaconda3\lib\site-packages\flask\app.py", line 1641, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "c:\anaconda3\lib\site-packages\flask\app.py", line 1544, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "c:\anaconda3\lib\site-packages\flask\_compat.py", line 33, in reraise
    raise value
  File "c:\anaconda3\lib\site-packages\flask\app.py", line 1639, in full_dispatch_request
    rv = self.dispatch_request()
  File "c:\anaconda3\lib\site-packages\flask\app.py", line 1625, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "c:\anaconda3\lib\site-packages\pyspider\webui\task.py", line 41, in tasks
    updatetime_tasks = rpc.get_active_tasks(project, limit)
  File "c:\anaconda3\lib\xmlrpc\client.py", line 1092, in __call__
    return self.__send(self.__name, args)
  File "c:\anaconda3\lib\xmlrpc\client.py", line 1432, in __request
    verbose=self.__verbose
  File "c:\anaconda3\lib\xmlrpc\client.py", line 1134, in request
    return self.single_request(host, handler, request_body, verbose)
  File "c:\anaconda3\lib\xmlrpc\client.py", line 1150, in single_request
    return self.parse_response(resp)
  File "c:\anaconda3\lib\xmlrpc\client.py", line 1322, in parse_response
    return u.close()
  File "c:\anaconda3\lib\xmlrpc\client.py", line 655, in close
    raise Fault(**self._stack[0])
xmlrpc.client.Fault: <Fault 1: "<class 'TypeError'>:unorderable types: dict() > dict()">

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文