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
package install can print confusing error messages #27670
Comments
comment:1
(Wrong branch - fixed below) |
Commit: |
Branch: public/27607 |
This comment has been minimized.
This comment has been minimized.
Author: Brent Baccala |
Changed branch from public/27607 to public/27670 |
Changed branch from public/27670 to none |
Changed commit from |
New commits:
|
Commit: |
Branch: public/27670 |
Changed keywords from none to spkg, uninstall |
comment:6
This fix makes sense in its own right so +1. Support for old-style SPKGs is deprecated and should be removed completely. The only reason it hasn't been completely removed is last time the question came up there was paralysis about what to do about one particularly large package that would need to be hosted somewhere if it were converted to a new-style SPKG. In that case it was just a large database, and is so large in fact that I'm not convinced downloading the whole database is the right thing to do in most cases anyways. It should be wrapped in a little queryable web service hosted online somewhere (perhaps even sagemath.org). Someone just needs to do that. I don't think that one package is reason enough to hold up removal of old-style SPKG support though. |
Reviewer: Erik Bray |
Changed branch from public/27670 to |
For example, while installing the kash3 package, the output includes the following lines:
This is due to the uninstall script throwing incorrect error types.
After applying this ticket's patch, the output reads:
Which is at least more sensible.
kash3
is not known because it is an old-style package that didn't create a directory inbuild/pkgs
.CC: @embray @slel
Component: packages: optional
Keywords: spkg, uninstall
Author: Brent Baccala
Branch/Commit:
f0afed6
Reviewer: Erik Bray
Issue created by migration from https://trac.sagemath.org/ticket/27670
The text was updated successfully, but these errors were encountered: