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

Docker installation on Windows #86

Open
moissinac opened this issue Dec 15, 2018 · 7 comments
Open

Docker installation on Windows #86

moissinac opened this issue Dec 15, 2018 · 7 comments

Comments

@moissinac
Copy link

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?

@moissinac
Copy link
Author

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'))

@noirbizarre
Copy link
Contributor

Hi 👋

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.

@moissinac
Copy link
Author

Thank's for your reply
Is there an idea for a workaround?

@abulte
Copy link
Contributor

abulte commented Dec 21, 2018

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.

@moissinac
Copy link
Author

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.

@moissinac
Copy link
Author

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

@abulte
Copy link
Contributor

abulte commented Mar 25, 2019

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.

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