docker-udata
docker-udata copied to clipboard
Docker installation on Windows
I'm testing udata with the goal to use it for the Data&Musée french project. I've downloaded the current docker-udata and done the docker-compose up step, with success (I think so) Then, going to http://localhost:7000 I get a web page with a bar composed of a search textbox, a menu with items Organizations, Datasets, Reuses, Map and then two links for sign in/register But the main part of the window is the message Error Internal server error The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
Can you help me to track the problem?
Complement: last lines of the log File "/usr/local/lib/python2.7/dist-packages/udata/theme/init.py", line 122, in configure udata_1 | self.entrypoint.load() udata_1 | File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 2407, in load udata_1 | self.require(*args, **kwargs) udata_1 | File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 2430, in require udata_1 | items = working_set.resolve(reqs, env, installer, extras=self.extras) udata_1 | File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 875, in resolve udata_1 | raise VersionConflict(dist, req).with_context(dependent_req) udata_1 | VersionConflict: (requests 2.19.1 (/usr/local/lib/python2.7/dist-packages), Requirement.parse('requests==2.20.0'))
Hi :wave:
It seems pip
misresolved python dependencies in the docker image build.
Sadly, it happens sometimes. We are going to check and fix this issue.
Sorry.
Thank's for your reply Is there an idea for a workaround?
Hi,
You can execute docker-compose exec udata pip install udata==1.6.2
to force the installation of the correct dependencies. I successfully tested this on my machine after reproducing the problem.
Sorry again for the inconvenience.
Bonjour Merci d'avoir pris en compte notre problème. Nous avons testé la commande docker-compose exec udata pip install udata==1.6.2 nous obtenons ERROR: No such service: udata Personne n'est familier avec docker dans notre environnement.
Same, in english Hi, Thank's for your reply We have tested docker-compose exec udata pip install udata==1.6.2 in the udata directory we get ERROR: No such service: udata Noone is familiar with docker here
Hi,
Did you test w/ the latest release / docker image? The problem might be gone.
If not please post the result of docker ps
so that we known your service's name.