Невозможно загрузить "брюки" в Mac OS Sierra (версия 10.12.6)
Содержимое моего исполняемого файла "брюки" unix находится здесь:
https://pantsbuild.github.io/setup/pants
Запуск «двоичного исходного кода исходного кода» в первый раз - не удается загрузить с ошибкой, как указано в заголовке.Я даже попробовал "штаны очистить все", но это приводит к той же ошибке.Полные детали приведены ниже.
$./pants clean-all
.
.
.
Successfully built pantsbuild.pants setproctitle ansicolors psutil pathspec scandir pystache docutils Markdown Pygments pywatchman pycparser
Installing collected packages: six, pyparsing, packaging, twitter.common.lang, twitter.common.collections, setproctitle, ansicolors, psutil, twitter.common.dirutil, pathspec, scandir, requests, pystache, setuptools, pycparser, cffi, monotonic, fasteners, pex, docutils, Markdown, Pygments, twitter.common.options, twitter.common.log, twitter.common.confluence, futures, pywatchman, pantsbuild.pants
Found existing installation: setuptools 40.8.0
Uninstalling setuptools-40.8.0:
Successfully uninstalled setuptools-40.8.0
Successfully installed Markdown-2.1.1 Pygments-1.4 ansicolors-1.0.2 cffi-1.7.0 docutils-0.12 fasteners-0.14.1 futures-3.0.5 monotonic-1.5 packaging-16.8 pantsbuild.pants-1.3.0 pathspec-0.5.0 pex-1.2.6 psutil-4.3.0 pycparser-2.19 pyparsing-2.4.0 pystache-0.5.3 pywatchman-1.3.0 requests-2.5.3 scandir-1.2 setproctitle-1.1.10 setuptools-30.0.0 six-1.12.0 twitter.common.collections-0.3.11 twitter.common.confluence-0.3.11 twitter.common.dirutil-0.3.11 twitter.common.lang-0.3.11 twitter.common.log-0.3.11 twitter.common.options-0.3.11
New virtual environment successfully created at /Users/.../.cache/pants/setup/bootstrap-Darwin-x86_64/1.3.0_py27.
INFO] Attempting to fetch native_engine.so binary from: https://dl.bintray.com/pantsbuild/bin/build-support/bin/native-engine/mac/10.12/af2e5b09cb7eee743c8d4e065258ac046c8a19ac/native_engine.so ...
Exception caught: (<class 'pants.binaries.binary_util.BinaryNotFound'>)
Exception message: Failed to fetch binary bin/native-engine/mac/10.12/af2e5b09cb7eee743c8d4e065258ac046c8a19ac/native_engine.so from any source: (Failed to fetch binary from https://dl.bintray.com/pantsbuild/bin/build-support/bin/native-engine/mac/10.12/af2e5b09cb7eee743c8d4e065258ac046c8a19ac/native_engine.so: Problem GETing data from https://dl.bintray.com/pantsbuild/bin/build-support/bin/native-engine/mac/10.12/af2e5b09cb7eee743c8d4e065258ac046c8a19ac/native_engine.so: EOF occurred in violation of protocol (_ssl.c:590))
Когда я исследовал журнал исключений брюк, я обнаружил след, как показано ниже:
args: ['/Users/.../.cache/pants/setup/bootstrap-Darwin-x86_64/1.3.0_py27/bin/pants', 'clean-all']
pid: 558
Exception caught: (<class 'pants.binaries.binary_util.BinaryNotFound'>)
File "/Users/.../.cache/pants/setup/bootstrap-Darwin-x86_64/1.3.0_py27/bin/pants", line 11, in <module>
load_entry_point('pantsbuild.pants==1.3.0', 'console_scripts', 'pants')()
File "/Users/.../.cache/pants/setup/bootstrap-Darwin-x86_64/1.3.0_py27/lib/python2.7/site-packages/pants/bin/pants_exe.py", line 44, in main
PantsRunner(exiter).run()
File "/Users/.../.cache/pants/setup/bootstrap-Darwin-x86_64/1.3.0_py27/lib/python2.7/site-packages/pants/bin/pants_runner.py", line 57, in run
options_bootstrapper=options_bootstrapper)
File "/Users/.../.cache/pants/setup/bootstrap-Darwin-x86_64/1.3.0_py27/lib/python2.7/site-packages/pants/bin/pants_runner.py", line 46, in _run
return LocalPantsRunner(exiter, args, env, options_bootstrapper=options_bootstrapper).run()
File "/Users/.../.cache/pants/setup/bootstrap-Darwin-x86_64/1.3.0_py27/lib/python2.7/site-packages/pants/bin/local_pants_runner.py", line 37, in run
self._run()
File "/Users/.../.cache/pants/setup/bootstrap-Darwin-x86_64/1.3.0_py27/lib/python2.7/site-packages/pants/bin/local_pants_runner.py", line 77, in _run
self._exiter).setup()
File "/Users/.../.cache/pants/setup/bootstrap-Darwin-x86_64/1.3.0_py27/lib/python2.7/site-packages/pants/bin/goal_runner.py", line 199, in setup
goals, context = self._setup_context(pantsd_launcher)
File "/Users/.../.cache/pants/setup/bootstrap-Darwin-x86_64/1.3.0_py27/lib/python2.7/site-packages/pants/bin/goal_runner.py", line 171, in _setup_context
self._global_options.subproject_roots,
File "/Users/.../.cache/pants/setup/bootstrap-Darwin-x86_64/1.3.0_py27/lib/python2.7/site-packages/pants/bin/goal_runner.py", line 98, in _init_graph
native.set_panic_handler()
File "/Users/.../.cache/pants/setup/bootstrap-Darwin-x86_64/1.3.0_py27/lib/python2.7/site-packages/pants/engine/subsystem/native.py", line 754, in set_panic_handler
self.lib.set_panic_handler()
File "/Users/.../.cache/pants/setup/bootstrap-Darwin-x86_64/1.3.0_py27/lib/python2.7/site-packages/pants/util/memo.py", line 101, in memoize
result = func(*args, **kwargs)
File "/Users/.../.cache/pants/setup/bootstrap-Darwin-x86_64/1.3.0_py27/lib/python2.7/site-packages/pants/engine/subsystem/native.py", line 618, in lib
return self.ffi.dlopen(self.binary)
File "/Users/.../.cache/pants/setup/bootstrap-Darwin-x86_64/1.3.0_py27/lib/python2.7/site-packages/pants/util/memo.py", line 101, in memoize
result = func(*args, **kwargs)
File "/Users/.../.cache/pants/setup/bootstrap-Darwin-x86_64/1.3.0_py27/lib/python2.7/site-packages/pants/engine/subsystem/native.py", line 623, in ffi
ffi = getattr(self._ffi_module, 'ffi')
File "/Users/.../.cache/pants/setup/bootstrap-Darwin-x86_64/1.3.0_py27/lib/python2.7/site-packages/pants/util/memo.py", line 101, in memoize
result = func(*args, **kwargs)
File "/Users/.../.cache/pants/setup/bootstrap-Darwin-x86_64/1.3.0_py27/lib/python2.7/site-packages/pants/engine/subsystem/native.py", line 635, in _ffi_module
native_bin_dir = os.path.dirname(self.binary)
File "/Users/.../.cache/pants/setup/bootstrap-Darwin-x86_64/1.3.0_py27/lib/python2.7/site-packages/pants/util/memo.py", line 101, in memoize
result = func(*args, **kwargs)
File "/Users/.../.cache/pants/setup/bootstrap-Darwin-x86_64/1.3.0_py27/lib/python2.7/site-packages/pants/engine/subsystem/native.py", line 613, in binary
'{}.so'.format(NATIVE_ENGINE_MODULE))
File "/Users/.../.cache/pants/setup/bootstrap-Darwin-x86_64/1.3.0_py27/lib/python2.7/site-packages/pants/binaries/binary_util.py", line 185, in select_binary
return self._fetch_binary(name=name, binary_path=binary_path)
File "/Users/.../.cache/pants/setup/bootstrap-Darwin-x86_64/1.3.0_py27/lib/python2.7/site-packages/pants/binaries/binary_util.py", line 205, in _fetch_binary
with self._select_binary_stream(name, binary_path) as stream:
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/contextlib.py", line 17, in __enter__
return self.gen.next()
File "/Users/.../.cache/pants/setup/bootstrap-Darwin-x86_64/1.3.0_py27/lib/python2.7/site-packages/pants/binaries/binary_util.py", line 172, in _select_binary_stream
raise self.BinaryNotFound(binary_path, accumulated_errors)
Exception message: Failed to fetch binary bin/native-engine/mac/10.12/af2e5b09cb7eee743c8d4e065258ac046c8a19ac/native_engine.so from any source: (Failed to fetch binary from https://dl.bintray.com/pantsbuild/bin/build-support/bin/native-engine/mac/10.12/af2e5b09cb7eee743c8d4e065258ac046c8a19ac/native_engine.so: Problem GETing data from https://dl.bintray.com/pantsbuild/bin/build-support/bin/native-engine/mac/10.12/af2e5b09cb7eee743c8d4e065258ac046c8a19ac/native_engine.so: EOF occurred in violation of protocol (_ssl.c:590))
Содержимое моего файла брюшек.ini:
$cat pants.ini
[GLOBAL]
pants_version: 1.3.0
Путь https://dl.bintray.com/pantsbuild/bin/build-support/bin/native-engine/mac/10.12/af2e5b09cb7eee743c8d4e065258ac046c8a19ac/native_engine.so является допустимым.
Пакеты, такие как PyOpenSSL, ndg-httpsclient и т. Д., Также актуальны.
I 'Я не уверен насчет первопричины этой ошибки.Буду признателен за любую помощь / руководство.Спасибо.