languagecrunch
languagecrunch copied to clipboard
Illegal instruction (core dumped)
Getting:
Illegal instruction (core dumped)
When running:
sudo docker run -p 8080:8080 artpar/languagecrunch
That's weird. What OS and docker version are you using ?
Docker: Docker version 17.12.0-ce, build c97c6d6
OS: Ubuntu 16.04_3 LTS
Kernel: 4.13.0-26-generic
@codevbus I created a docker image built on hub.docker.com, please try this out:
docker run -p 8080:8080 artpar/languagecrunch-cloudbuild
https://hub.docker.com/r/artpar/languagecrunch-cloudbuild/
The original image was built on osx, wondering if that was an issue.
I can confirm the same behavior, and that the new image does work.
OS | Fedora release 26 (Twenty Six) |
---|---|
Kernel | 4.14.13-200.fc26.x86_64 |
Docker Version | 17.12.0-ce |
Docker Build | c97c6d6 |
Failing w/original image
➜ ~ docker run --rm -it -p 8080:8080 artpar/languagecrunch
Package directory: /app/neuralcoref
INFO:root:Loading spacy model
Illegal instruction (core dumped)
Working w/new image
➜ ~ docker run --rm -it -p 8080:8080 artpar/languagecrunch-cloudbuild
INFO:root:Loading spacy model, wait for confirmation before using
INFO:root:Loaded spacy model
loading model from /app/neuralcoref/weights/
Bottle v0.12.13 server starting up (using WSGIRefServer())...
Listening on http://0.0.0.0:8080/
Hit Ctrl-C to quit.
I'm still getting the same error on the new image.
Potentially this?
https://github.com/explosion/spaCy/issues/1589
Same problem here, on windows 10.
PS C:\Users\x> docker run artpar/languagecrunch INFO:root:Loading spacy model Illegal instruction
I haven't tried languagecrunch-cloudbuild
@mehmetilker can you try languagecrunch-cloudbuild, it solved the issue for couple of people.
The issue linked by @codevbus seems to be related and the comment there says they have figured out the issue and the fix will come in next version. I hope that works out.
@artpar I was waiting for download. Yes it worked. Thanks.
Hi, just wanted to note that I'm still having this issue with the cloudbuild version. Also, this looks awesome, can't wait to try it.
I'm running on CentOS Linux release 7.4.1708 (Core) Docker version 17.11.0-ce, build 1caf76c
For those who are not able to run the docker image, can you try building the image locally and see if it makes any difference ?
Have hosted the docker image to: http://languagecrunch.docile.online/ You can use this for testing and playing around. Please do not rely on this for production use case.
Eg:
-
http://languagecrunch.docile.online/nlp/parse?sentence=Let%27s%20create%20a%20chat%20bot.
-
http://languagecrunch.docile.online/nlp/word?word=reveal&pos=v
Got it, doing docker build worked. Thanks!
@artpar Sorry for the delay in response. Finally got a chance to poke at this more. Building the docker image from the Dockerfile/repo on the server finally worked.
Thanks for your assistance!
Not closing the issue, as its not really solved and might help someone else.
Getting: Illegal instruction (core dumped)
When running: import tensorflow as tf. The same as i'm running my python script.
I'm using Ubuntu 16.04 LTS in Oracle Virtual Machine. My Laptop is Acer Aspire E 15 with Intel Celeron Processor.
How can i solve it?