goatent-goagent安装时候报错,phyton

作者:用户 来源:互联网 浏览:420 次 时间:2016-06-22 09:58:01

goatent

goatent-goagent安装时候报错,phyton - 摘要: goagent安装时候报错,phyton我得是mac系统,我下载的goagent是最新版本的执行命令pythonproxy.py时候报错:-------------------------------

问题描述

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

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

解决方案

看样子你的8087被占用了

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

【云栖快讯】阿里云栖开发者沙龙(Java技术专场)火热来袭!快来报名参与吧!  详情请点击
云栖社区(yq.aliyun.com)为您免费提供goatent-goagent安装时候报错,phyton相关信息,包括 goatent 的信息 ,所有goatent-goagent安装时候报错,phyton相关内容均不代表云栖社区的意见! 该页面h5页面的地址是:https://m.aliyun.com/yunqi/wenzhang/show_81519,您可以点击goatent-goagent安装时候报错,phyton-手机站访问。
双十二
弹性可伸缩的计算服务,助您降低 IT 成本,提升运维效率

40+云计算产品,6个月免费体验

现在注册,免费体验40+云产品,及域名优惠!

云服务器9.9元/月,大学必备

热点导航