无法下载gaf库

92cc92cc 从 Flash 到 Cocos... 最后由 极客学院_ASMITA 于2015年11月27日回复

  • 1 回答
  • 1.6k 浏览

Running command: package

Traceback (most recent call last):

  File "/clitg/cocos2d-x-3.8/tools/cocos2d-console/bin/cocos.py", line 897, in <module>

    run_plugin(command, argv, plugins)

  File "/clitg/cocos2d-x-3.8/tools/cocos2d-console/bin/cocos.py", line 834, in run_plugin

    plugin.run(argv, dependencies_objects)

  File "/clitg/cocos2d-x-3.8/tools/cocos2d-console/plugins/package/plugin_package.py", line 60, in run

    commandObject.run(argv[1:])

  File "/clitg/cocos2d-x-3.8/tools/cocos2d-console/plugins/package/package_install.py", line 35, in run

    package_data = PackageHelper.query_package_data(name, version)

  File "/clitg/cocos2d-x-3.8/tools/cocos2d-console/plugins/package/helper/package_helper.py", line 133, in query_package_data

    response = urllib2.urlopen(url)

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 154, in urlopen

    return opener.open(url, data, timeout)

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 431, in open

    response = self._open(req, data)

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 449, in _open

    '_open', req)

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain

    result = func(*args)

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1227, in http_open

    return self.do_open(httplib.HTTPConnection, req)

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1197, in do_open

    raise URLError(err)

urllib2.URLError: <urlopen error [Errno 60] Operation timed out>