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

Cannot download file from browser #7

Open
zclyne opened this issue Mar 6, 2024 · 0 comments
Open

Cannot download file from browser #7

zclyne opened this issue Mar 6, 2024 · 0 comments

Comments

@zclyne
Copy link

zclyne commented Mar 6, 2024

Hi, we ran into such an issue that when using this hdfscm to connect to a remote hdfs, right-click on a file in the left bar and click "download" doesn't work. The error message from the Jupyter server is below:

Error message from jupyter server: 

[E 2024-03-06 10:24:39.789 ServerApp] Uncaught exception 

    Traceback (most recent call last): 

      File "/layers/com.bloomberg.ds.buildpacks.jupyter/jupyter/.venv/lib/python3.8/site-packages/tornado/http1connection.py", line 276, in _read_message 

        delegate.finish() 

      File "/layers/com.bloomberg.ds.buildpacks.jupyter/jupyter/.venv/lib/python3.8/site-packages/tornado/routing.py", line 268, in finish 

        self.delegate.finish() 

      File "/layers/com.bloomberg.ds.buildpacks.jupyter/jupyter/.venv/lib/python3.8/site-packages/tornado/web.py", line 2395, in finish 

        self.execute() 

      File "/layers/com.bloomberg.ds.buildpacks.jupyter/jupyter/.venv/lib/python3.8/site-packages/tornado/web.py", line 2417, in execute 

        self.handler = self.handler_class( 

      File "/layers/com.bloomberg.ds.buildpacks.jupyter/jupyter/.venv/lib/python3.8/site-packages/tornado/web.py", line 238, in __init__ 

        self.initialize(**kwargs)  # type: ignore 

    TypeError: initialize() missing 1 required positional argument: 'path' 

According to jupyter-server/jupyter_server#1313, a path field needs to be set in the file_handler_params.

The versions we are using are:

  • Jupyter Server: 2.5.0
  • hdfscm: 0.1.1

Thank you!

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

1 participant