2 cxm19881208 cxm19881208 于 2013.05.08 17:56 提问

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
franzhong   2013.05.08 18:13

看样子你的8087被占用了

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

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!