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

How it works? #54

Open
borgelite opened this issue Jul 1, 2018 · 3 comments
Open

How it works? #54

borgelite opened this issue Jul 1, 2018 · 3 comments

Comments

@borgelite
Copy link

When i run docker i become this error.
docker run -v /Users/:/host -p 5000:5000 -t -i bjoffe/openface_flask_v2 /bin/bash
standard_init_linux.go:190: exec user process caused "exec format error"

What can i do?

@Safename321
Copy link

Safename321 commented Dec 12, 2018

It means the image isnt built correctly, and therefore cannot be run. Other repos with Docker problems are solving it by re-building with the same architecture (ARM for us) as the execution environment. It seems there is a right version of Docker required.

Here is a possible clue which did not work for me. tiangolo/uwsgi-nginx-flask-docker#67

These GitHub Repos w Docker say the error is because the build is with non-ARM Docker version
ArchiveTeam/warrior-dockerfile#20
monicahq/monica#1290
influxdata/influxdata-docker#228

@Safename321
Copy link

If your in Windows (Im in windows10), after you run the docker container, then clone the github code. The docker container is empty and does not have tehir WebApp.py file so you cannot run the server until the code is in the container and you run it within that environment. If that runs, then goto the "Localhost:5000" page to see if the server is running.

Getting the Pi to run the camera code seems pretty hard to do. I get "unexpected indent on line 55" where the line declaration is "Global alarm_state".

@SaddamBInSyed
Copy link

Hi

The same above error occurring in the Jetson nano board.

any solution came across with this error.

please help.

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

3 participants