The fix: https://github.com/williamstein/sage-smc/commit/d7870d3d94c8d20b61b352bbb385d30a9bd73054
(Note that the change to src/sage/misc/remote_file.py is to fix deprecation warnings. It's weird that we had code in the sage library that is deprecated. Shouldn't a ticket that deprecates something at least fix instances of that deprecation everywhere in the sage library...) On Tue, Feb 24, 2015 at 12:58 PM, William Stein <[email protected]> wrote: > Hi Sage Devs, > > Something introduced a major bug in Sage-6.5, which is that it is now not > possible to load remote files. I'm going to drop everything and find a fix > and patch sagemathcloud, so I stop getting complaints about this. I'll post > here when I know a fix, so somebody can do the proper trac stuff... > > sage: > load("http://sage.math.washington.edu/home/jason/sage-field-plots/plotfields.py") > --------------------------------------------------------------------------- > ImportError Traceback (most recent call last) > <ipython-input-3-e31978e2aa5f> in <module>() > ----> 1 > load("http://sage.math.washington.edu/home/jason/sage-field-plots/plotfields.py") > > /usr/local/sage/sage-6.5/src/sage/structure/sage_object.pyx in > sage.structure.sage_object.load > (build/cythonized/sage/structure/sage_object. > c:10629)() > 914 > 915 if sage.repl.load.is_loadable_filename(filename): > --> 916 sage.repl.load.load(filename, globals()) > 917 return > 918 > > /usr/local/sage/sage-6.5/local/lib/python2.7/site-packages/sage/repl/load.pyc > in load(filename, globals, attach) > 225 # > http://www.diveintopython.net/http_web_services/etags.html > 226 raise NotImplementedError("you can't attach a URL") > --> 227 from remote_file import get_remote_file > 228 filename = get_remote_file(filename, verbose=False) > 229 > > ImportError: No module named remote_file > > -- > William (http://wstein.org) -- William (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.
