robotreviewer icon indicating copy to clipboard operation
robotreviewer copied to clipboard

Cannot run Docker container locally

Open josepedrocorreia opened this issue 3 years ago • 2 comments

Hi there,

I'm trying to run this project locally using Docker. I followed the steps described in the README but couldn't get it to work. The container starts, but when I try to access http://localhost:5050 I get connection refused. Attached are the container logs.

Thanks in advance!

robotreviewer-log.txt

josepedrocorreia avatar Feb 04 '21 10:02 josepedrocorreia

Just for the record, I've encountered the same issue and after digging a little bit I found out that it's related to upgrades on unpinned libraries. As a workaround here's the diff that worked for me:

diff --git a/robotreviewer_env.yml b/robotreviewer_env.yml
index ded8102..8768963 100644
--- a/robotreviewer_env.yml
+++ b/robotreviewer_env.yml
@@ -4,6 +4,7 @@ channels:
 dependencies:
   - cython
   - flask=1.0.2
+  - werkzeug=0.16.0
   - gensim=3.4.0
   - jinja2=2.10
   - murmurhash=0.28.0
@@ -24,6 +25,8 @@ dependencies:
     - gevent
     - amqp==2.3.2
     - celery==4.2.1
+    - kombu==4.2.1
+    - vine==1.3.0
     - flask-wtf==0.14.2
     - fuzzywuzzy==0.17.0
     - keras==2.1.5

I'll probably open a pull request with that changes.

pabluk avatar Apr 16 '21 16:04 pabluk

I have the same issue and making your changes did not solve my issue. Can you please tell me if you made any other changes?

sonuranjitjacob avatar Jul 13 '21 11:07 sonuranjitjacob