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

[IUser-friendliness] Provide Context/Help around Unusable Pacakges #911

Closed
JeffersGlass opened this issue Oct 31, 2022 · 1 comment · Fixed by #1000
Closed

[IUser-friendliness] Provide Context/Help around Unusable Pacakges #911

JeffersGlass opened this issue Oct 31, 2022 · 1 comment · Fixed by #1000

Comments

@JeffersGlass
Copy link
Member

See the Tracking issue #904 for the context.

Currently, if a user provides a package name to <py-config> that either doesn't exist on PyPI, or doesn't have a pure-Python wheel, the on-screen loader never closes, nor does it show any on-screen error. Though the error is shown in the console, it is not the most understandable if you don't know to look for the micropip.install(...) error:

image

We have an opportunity, I think, to be better about showing the user: (1) What part of the PyScript process failed (loading a package), (2) which package caused it and (3) why.

@Cheukting
Copy link

I agree, it takes some experience to know how long the wheel should be spinning and when something doesn't look right and should check the console. If the error can be more obvious it would be great.

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

Successfully merging a pull request may close this issue.

3 participants