I guess that #16187 broke it (the beautification of "sage -optional").
By the way, optional_packages() parses the output of "sage -optional" (!). And it isn't doctested. The only surprise should be that it took this long to break. Finally, it is fundamentally unsound to modify shared libraries while your program is executing. install_package() should at most tell you how to exit sage and install stuff using sage -i. On Sunday, April 27, 2014 10:42:36 PM UTC+1, William wrote: > > Hi, > > I installed the sage-6.2.rc0 [1] that Volker posted a few days ago. > However, the in-Sage commands install_package, optional_packages, > etc., are now broken. Any ideas what is going on? > > More precisely: > > sage: v = optional_packages() > ... > > Type 'sage -i package_name' to download and install a package. > Optional package list (shown above) appears to be currently not > available or corrupted (network error?). > sage: v > ([], []) > > PROBLEMS: > > 1. Note that v is wrong -- it should have the installed/uninstalled > packages. This is probably because of the "network error?" error. > > 2. Why does a command *inside of Sage, run from the Sage prompt* tell > the user to "Type 'sage -i package_name' to download and install a > package."? Instead, it should suggest using the install_package(...) > command in Sage. > > 3. As mentioned above, the install_package command is also broken now. > > > NOTE: Using "sage -i" from the command line does still work, so that's > what I'll do. > > [1] > http://boxen.math.washington.edu/home/release/sage-6.2.rc0/sage-6.2.rc0.tar.gz > > > -- > William Stein > Professor of Mathematics > University of Washington > http://wstein.org > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
