cxm19881208 2013-05-08 09:56 采纳率: 0%
浏览 6087

goagent安装时候报错,phyton

我得是mac系统,我下载的goagent是最新版本的
执行命令
python proxy.py时候报错:

------------------------------------------------------
GoAgent Version    : 2.1.17 (python/2.7.2 gevent/1.0rc2 pyopenssl/0.13)
Listen Address     : 127.0.0.1:8087
GAE Mode           : https
GAE Profile        : google_cn
GAE APPID          : hero1988120809|hero1988120805|hero1988120804|hero1988120810|hero1988120808|hero19881208|hero1988120803|hero1988120806|hero1988120807|hero1988120802
Pac Server         : http://127.0.0.1:8086/proxy.pac
Pac File           : file:///Users/changxm/Desktop/goagent-goagent-496b57e/local/proxy.pac
------------------------------------------------------
Traceback (most recent call last):
  File "proxy.py", line 2364, in <module>
    main()
  File "proxy.py", line 2360, in main
    server.serve_forever()
  File "build/bdist.macosx-10.8-intel/egg/gevent/baseserver.py", line 282, in serve_forever
  File "build/bdist.macosx-10.8-intel/egg/gevent/baseserver.py", line 234, in start
  File "build/bdist.macosx-10.8-intel/egg/gevent/server.py", line 78, in init_socket
  File "build/bdist.macosx-10.8-intel/egg/gevent/server.py", line 89, in get_listener
  File "build/bdist.macosx-10.8-intel/egg/gevent/server.py", line 153, in _tcp_listener
  File "<string>", line 1, in bind
socket.error: [Errno 48] Address already in use: ('127.0.0.1', 8087)
Exception KeyError: KeyError(4449523184,) in <module 'threading' from '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.pyc'> ignored

请问这是什么错误,那些行号什么的...怎么修改啊
谢谢

  • 写回答

1条回答 默认 最新

  • franzhong 2013-05-08 10:13
    关注

    看样子你的8087被占用了

    将端口的进程kill掉
    http://bbs.pcbeta.com/viewthread-1045235-1-1.html

    评论

报告相同问题?

悬赏问题

  • ¥15 求差集那个函数有问题,有无佬可以解决
  • ¥15 【提问】基于Invest的水源涵养
  • ¥20 微信网友居然可以通过vx号找到我绑的手机号
  • ¥15 寻一个支付宝扫码远程授权登录的软件助手app
  • ¥15 解riccati方程组
  • ¥15 display:none;样式在嵌套结构中的已设置了display样式的元素上不起作用?
  • ¥15 使用rabbitMQ 消息队列作为url源进行多线程爬取时,总有几个url没有处理的问题。
  • ¥15 Ubuntu在安装序列比对软件STAR时出现报错如何解决
  • ¥50 树莓派安卓APK系统签名
  • ¥65 汇编语言除法溢出问题