【发布时间】:2016-09-13 05:48:03
【问题描述】:
我试图用 pelican 创建一个博客,在 make serve 的步骤中我遇到了以下错误。通过在线搜索,它看起来像一个网络问题(我根本不熟悉这些)并且我没有看到明确的解决方案。任何人都可以解释一下吗?我在 Ubuntu 上运行 Python 2.7。谢谢! Python 信息:
Linux2 上的 Python 2.7.6(默认,2015 年 6 月 22 日,17:58:13)[GCC 4.8.2]
错误信息:
127.0.0.1 - - [2016 年 9 月 13 日 13:23:35]“GET / HTTP/1.1”200 - 警告:根:无法找到 / 文件。警告:根:无法找到 /.html 文件。 127.0.0.1 - - [2016 年 9 月 13 日 13:24:31] “GET / HTTP/1.1” 200 - ---------------------------------------- 处理来自 ('127.0 的请求时发生异常.0.1', 51036) 回溯(最近 最后调用):文件“/usr/lib/python2.7/SocketServer.py”,第 295 行,在 _handle_request_noblock self.process_request(request, client_address) 文件“/usr/lib/python2.7/SocketServer.py”,第 321 行,在 process_request self.finish_request(request, client_address) 文件“/usr/lib/python2.7/SocketServer.py”,第 334 行,在 finish_request self.RequestHandlerClass(request, client_address, self) 文件“/usr/lib/python2.7/SocketServer.py”,第 651 行,在 init self.finish() 文件“/usr/lib/python2.7/SocketServer.py”,第 710 行,完成 self.wfile.close() 文件“/usr/lib/python2.7/socket.py”,第 279 行,关闭 self.flush() 文件“/usr/lib/python2.7/socket.py”,第 303 行,刷新 self._sock.sendall(view[write_offset:write_offset+buffer_size]) 错误:[Errno 32] Broken pipe
【问题讨论】:
标签: python python-2.7 ubuntu makefile server