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

Fix module 'posixpath' has no attribute 'expand' #61

Merged
merged 1 commit into from
Sep 22, 2023

Conversation

cmd-ntrf
Copy link
Contributor

I originally got the wrong function name for expanding user path.
https://docs.python.org/3/library/os.path.html#os.path.expanduser

I originally got the wrong function name for expanding user path
@github-actions
Copy link

Binder 👈 Launch a binder notebook on this branch for commit 3842c49

I will automatically update this comment whenever this PR is modified

@consideRatio consideRatio added the bug Something isn't working label Sep 22, 2023
@consideRatio
Copy link
Member

Thanks for catching and fixing this @cmd-ntrf!

[W 2023-09-22 22:04:40.387 ServerApp] jupyter_server_proxy | extension failed loading with message: AttributeError("module 'posixpath' has no attribute 'expand'")
    Traceback (most recent call last):
      File "/srv/conda/envs/notebook/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 356, in load_extension
        extension.load_all_points(self.serverapp)
      File "/srv/conda/envs/notebook/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 228, in load_all_points
        return [self.load_point(point_name, serverapp) for point_name in self.extension_points]
      File "/srv/conda/envs/notebook/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 228, in <listcomp>
        return [self.load_point(point_name, serverapp) for point_name in self.extension_points]
      File "/srv/conda/envs/notebook/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 219, in load_point
        return point.load(serverapp)
      File "/srv/conda/envs/notebook/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 147, in load
        return loader(serverapp)
      File "/srv/conda/envs/notebook/lib/python3.10/site-packages/jupyter_server_proxy/__init__.py", line 47, in _load_jupyter_server_extension
        server_pr

@consideRatio consideRatio merged commit 1e5c10d into jupyterhub:main Sep 22, 2023
3 checks passed
@cmd-ntrf cmd-ntrf deleted the patch-1 branch September 25, 2023 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants