scissor-project / open-scissor

OpenSCISSOR provisioning and orchestration
Apache License 2.0
2 stars 0 forks source link

event-correlator can't install setuptools #72

Closed agil3b3ast closed 6 years ago

agil3b3ast commented 6 years ago

Prerequisites

Description

[Description of the issue]

Host Environment

Output

RUN python setup.py install
 ---> Running in 3277b6875310
Downloading https://pypi.python.org/packages/source/s/setuptools/setuptools-5.7.zip
Extracting in /tmp/tmpj6fXdq
Traceback (most recent call last):
  File "setup.py", line 23, in <module>
    use_setuptools()
  File "/opt/prelude-correlator/ez_setup.py", line 161, in use_setuptools
    return _do_download(version, download_base, to_dir, download_delay)
  File "/opt/prelude-correlator/ez_setup.py", line 120, in _do_download
    _build_egg(egg, archive, to_dir)
  File "/opt/prelude-correlator/ez_setup.py", line 62, in _build_egg
    with archive_context(archive_filename):
  File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/opt/prelude-correlator/ez_setup.py", line 100, in archive_context
    with ContextualZipFile(filename) as archive:
  File "/opt/prelude-correlator/ez_setup.py", line 88, in __new__
    return zipfile.ZipFile(*args, **kwargs)
  File "/usr/lib64/python2.7/zipfile.py", line 766, in __init__
    self._RealGetContents()
  File "/usr/lib64/python2.7/zipfile.py", line 807, in _RealGetContents
    raise BadZipfile, "File is not a zip file"
zipfile.BadZipfile: File is not a zip file
Service 'event-correlator' failed to build: The command '/bin/sh -c python setup.py install' returned a non-zero code: 1

Steps to Reproduce

  1. cd /docker
  2. docker-compose build event-correlator

Expected behavior: event-correlator build successful

Actual behavior: event-correlator can't install setuptools

Reproduces how often: Always

Additional Information

References