dice-group / FOX

Federated Knowledge Extraction Framework
GNU Affero General Public License v3.0
188 stars 52 forks source link

Docker #38

Closed gsvarma closed 6 years ago

gsvarma commented 6 years ago

Hello,

I tried running the Docker file in IntelliJ IDE and it stops with an error stating;

Dockerfile: docker/en/Dockerfile': 

 The command '/bin/sh -c ./downloadAgdistis.sh' returned a non-zero code: 127

fox _ docker _ agdistis error

renespeck commented 6 years ago

Hi, the error message says that the file './downloadAgdistis.sh' is not found.

But the file should be there because it was copied before. Compare with that line: https://github.com/dice-group/FOX/blob/a7cf9ced75fac3095bf9bcfaa31c93a1b4179d31/docker/en/Dockerfile#L34

What I see is that your are in the folder '/bin/sh'. But should be '/usr/bin/FOX' compare with: https://github.com/dice-group/FOX/blob/a7cf9ced75fac3095bf9bcfaa31c93a1b4179d31/docker/en/Dockerfile#L23

Did you tried to run docker as described in the documentation (https://github.com/dice-group/FOX/blob/master/documentation/docker.md)? Do you get an error?

gsvarma commented 6 years ago

After some workaround, been able to fix the stated error by converting line endings of downloadAgdistis.sh file from CRLF to LF.

download agdistis

Reference: https://help.github.com/articles/dealing-with-line-endings/

renespeck commented 6 years ago

Opened a new issue in #43.