0

当我尝试运行时,我在我的 vm 上安装了 localstack,它抛出了以下错误。

guest@VirtualBox:~$ localstack start

启动本地开发环境。CTRL-C 退出。

ERROR: 'cd /usr/local/lib/python2.7/dist-packages/localstack/infra && cp /tmp/localstack.es.zip es.zip && unzip -q es.zip && mv elasticsearch* elasticsearch && rm es.zip': [es.zip] 

End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of es.zip or
        es.zip.zip, and cannot find es.zip.ZIP, period.

Error starting infrastructure: Command 'cd /usr/local/lib/python2.7/dist-packages/localstack/infra && cp /tmp/localstack.es.zip es.zip && unzip -q es.zip && mv elasticsearch* elasticsearch && rm es.zip' returned non-zero exit status 9

Traceback (most recent call last):
  File "/usr/local/bin/localstack", line 86, in <module>
    infra.start_infra()
  File "/usr/local/lib/python2.7/dist-packages/localstack/services/infra.py", line 366, in start_infra
    raise e
subprocess32.CalledProcessError: Command 'cd /usr/local/lib/python2.7/dist-packages/localstack/infra && cp /tmp/localstack.es.zip es.zip && unzip -q es.zip && mv elasticsearch* elasticsearch && rm es.zip' returned non-zero exit status 9

任何帮助将非常感激。

4

1 回答 1

0

@Shital 这应该在最新版本中修复。你可以尝试运行:

rm -f /tmp/localstack.es.zip
pip install --no-cache --upgrade localstack
localstack start

相关问题已在此处修复:https ://github.com/localstack/localstack/issues/213

于 2017-08-18T02:30:02.963 回答