Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python-meac installation is failing #42

Closed
pettai opened this issue Sep 10, 2019 · 5 comments
Closed

python-meac installation is failing #42

pettai opened this issue Sep 10, 2019 · 5 comments

Comments

@pettai
Copy link

pettai commented Sep 10, 2019

Not this projects fault, but I noted that a new installation of docker-misp fails at installing python-meac

 ---> Running in 29d6a12f7cdf
Processing /var/www/MISP/app/files/scripts/python-maec
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-bpzbsucp/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-bpzbsucp/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info
         cwd: /tmp/pip-req-build-bpzbsucp/
    Complete output (9 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-req-build-bpzbsucp/setup.py", line 54, in <module>
        long_description=get_long_description(),
      File "/tmp/pip-req-build-bpzbsucp/setup.py", line 27, in get_long_description
        return f.read()
      File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
        return codecs.ascii_decode(input, self.errors)[0]
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 141: ordinal not in range(128)
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Removing intermediate container 29d6a12f7cdf
The command '/bin/sh -c sudo pip3 install .' returned a non-zero code: 1
@erickatwork
Copy link
Contributor

Submitted an issue MAECProject/python-maec#96

Workaround for now: In the Dockerfile, replace line 56 with sudo -u www-data -H git clone --branch v4.1.0.14 https://github.com/MAECProject/python-maec.git ; \

@ventz
Copy link
Collaborator

ventz commented Sep 17, 2019

@ec4n6 Thanks for submitting the issue.

See here too:
MISP/docker-misp#7

@emmanvg
Copy link

emmanvg commented Sep 17, 2019

Fixed in v4.1.0.16

@ventz
Copy link
Collaborator

ventz commented Sep 17, 2019

@emmanvg Great - thanks for the quick turn around time!

@pettai
Copy link
Author

pettai commented Sep 18, 2019

G8t! time to close this issue then

@pettai pettai closed this as completed Sep 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants