On Mon, Oct 19, 2020 at 6:36 PM Carl Eberhart <carl.eberh...@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+unsubscr...@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/CAAWYfq3F_fctY%3DQ8K%2BS6bfC0mgrx4daCg8SoG%2BjD4me6xtQjYQ%40mail.gmail.com.