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

PermissionError [ErrNo 13] when connecting to localhost using the latest docker image #1074

Closed
3 tasks done
primetimber opened this issue Oct 18, 2023 · 2 comments · Fixed by #1076
Closed
3 tasks done
Labels

Comments

@primetimber
Copy link

Contributing guidelines

  • I understand the contributing guidelines

Documentation

  • My problem is not addressed by the documentation or examples

Existing issues

  • My problem does not appear in an existing issue

What operating system and Python version are you using?

Windows 10 / Docker

What OSMnx version are you using?

latest

Environment packages and versions

latest docker image

How did you install OSMnx?

OSMnx Docker image

Problem description

While following the instructions here https://hub.docker.com/r/gboeing/osmnx#! I was unable to run Jupyter Notebook, while localhost:8888 is working. The log displays the following error message:

[E 2023-10-18 14:32:47.530 ServerApp] Uncaught exception
Traceback (most recent call last):
File "/opt/conda/lib/python3.11/site-packages/tornado/http1connection.py", line 276, in _read_message
delegate.finish()
File "/opt/conda/lib/python3.11/site-packages/tornado/routing.py", line 268, in finish
self.delegate.finish()
File "/opt/conda/lib/python3.11/site-packages/tornado/web.py", line 2395, in finish
self.execute()
File "/opt/conda/lib/python3.11/site-packages/tornado/web.py", line 2417, in execute
self.handler = self.handler_class(
^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/tornado/web.py", line 238, in init
self.initialize(**kwargs) # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/jupyterlab_server/settings_handler.py", line 22, in initialize
SchemaHandler.initialize(
File "/opt/conda/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 439, in initialize
self.overrides, error = _get_overrides(app_settings_dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 302, in _get_overrides
with open(overrides_path, encoding="utf-8") as fid:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: '/opt/conda/share/jupyter/lab/settings/overrides.json'
time="2023-10-18T16:36:54+02:00" level=error msg="error waiting for container: "

Complete minimal reproducible example

n/a
@gboeing
Copy link
Owner

gboeing commented Oct 18, 2023

Should be fixed by #1076. You can test.

@primetimber
Copy link
Author

Switching to a random port finally did the trick for me. Working now. Thank you very much. I very much appreachiate your effort!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants