Skip to content

Conversation

chengs
Copy link
Contributor

@chengs chengs commented Apr 22, 2025

in IconHandler

with open(self.icons[name]) as f:

Reading the icon file is under text (not binary) mode, thus only text-based icon types are supported
by the icon_path property.

The long-term solution would be fixing the IconHandler class.
This PR is a short-team solution, ie, adding description for the icon_path mentioning that only text-based
(well most of cases, SVG) are supported.

@yuvipanda yuvipanda merged commit 9f8f483 into jupyterhub:main Aug 16, 2025
3 checks passed
@github-project-automation github-project-automation bot moved this from Backlog to Done in PR triage (experimental) Aug 16, 2025
@yuvipanda
Copy link
Contributor

Thank you so much for the PR, @chengs! Apologies for the delayed response, we're working on getting better and faster at triage.

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

Successfully merging this pull request may close these issues.

2 participants