question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

urlparse.quote added in 1.3.0 (#177) cause an issue for paths like static/node_modules/@org/package

See original GitHub issue

When I pin jupyter-server-proxy to version 1.2.0, everything works properly again. See https://github.com/cdr/code-server/issues/1452#issuecomment-605617433 for more information.

I’m happy to spin up a Docker container to provide you with the necessary log files for debugging. Which information do you need? How do I get the log files of jupyter-server-proxy?

FYI: I’m running JupyterHub 1.0.0 with JupyterLab 1.2.6.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:25 (19 by maintainers)

github_iconTop GitHub Comments

2reactions
consideRatiocommented, Mar 31, 2020

🎉 I made a release (1.3.1) of the python package to pip, conda will follow but it takes a bit of time!

2reactions
consideRatiocommented, Mar 29, 2020

I’m quite confident the issue is introduced from #177’s logic.

I tried using the #177 introduced urllib.parse.quote function and conclude that @ is translated to %40 while everything else remains preserved, which is very likely to have caused the issue specifically for the request that contained the @ symbol.

from urllib.parse import quote 
print(quote("/static/87ebf03eb7889595fbbd64ad2b03e784871e751a/lib/vscode/node_modules/@coder/node-browser/out/client/client.js"))
`/static/87ebf03eb7889595fbbd64ad2b03e784871e751a/lib/vscode/node_modules/%40coder/node-browser/out/client/client.js'

@manics and @oeway - do you have a suggestion on what change make sense here?

Read more comments on GitHub >

github_iconTop Results From Across the Web

urllib.parse — Parse URLs into components — Python 3.11.1 ...
This module defines a standard interface to break Uniform Resource Locator (URL) strings up in components (addressing scheme, network location, path etc.), to ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found