Thanks, but the sage file I am trying to load is one I have loaded many times before on the cloud and also on a local installation of Sagemath 8.6. It looks like it may be an instance of missing a change from <> to != in the source code of preparse_file.
On Monday, October 19, 2020 at 12:41:00 PM UTC-5 dim...@gmail.com wrote: > On Mon, Oct 19, 2020 at 6:36 PM Carl Eberhart <carl.e...@gmail.com> wrote: > > > > I can't load a sage file in either the notebook or terminal version of > Sage > > Here is my last (of many) attempts. > > sage: load("/home/carl/Notebooks/quadrisection/orthogtraps19.sage") > > Traceback (most recent call last): > > > > File "/usr/lib/python3/dist-packages/IPython/core/interactiveshell.py", > line 3331, in run_code > > exec(code_obj, self.user_global_ns, self.user_ns) > > > > File "<ipython-input-5-8065d4f608e7>", line 1, in <module> > > load("/home/carl/Notebooks/quadrisection/orthogtraps19.sage") > > > > File "sage/misc/persist.pyx", line 144, in sage.misc.persist.load > (build/cythonized/sage/misc/persist.c:2538) > > sage.repl.load.load(filename, globals()) > > > > File "/usr/lib/python3/dist-packages/sage/repl/load.py", line 272, in > load > > exec(preparse_file(f.read()) + "\n", globals) > > > > File "<string>", line 121 > > if s<>_sage_const_0 : > > ^ > > SyntaxError: invalid syntax > > it is certainly possible to create a (broken) Sage file that would not > work. Perhaps it's one of such errors? > Could you reproduce this on a file you are willing to post here? > E.g. something very short, preferably. > > > > > > -- > > You received this message because you are subscribed to the Google > Groups "sage-support" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to sage-support...@googlegroups.com. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-support/33b51a9f-ca07-4c03-9d68-25fb085d6d14n%40googlegroups.com > . > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/2c68aba5-e746-469f-9c4e-b71cef674550n%40googlegroups.com.