Re: [sage-support] Problem with load in sagemath 9.0 on ubuntu 20.04

2020-10-20 Thread Carl Eberhart
Oh.  Durn.  Thought I had corrected those.  Thanks

On Tuesday, October 20, 2020 at 2:02:35 PM UTC-5 Carl Eberhart wrote:

> 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  
>> 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 "", line 1, in 
>> > 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 "", 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/6742017b-7409-48a6-9f16-0335cf6eaaffn%40googlegroups.com.


Re: [sage-support] Problem with load in sagemath 9.0 on ubuntu 20.04

2020-10-20 Thread Carl Eberhart
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  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 "", line 1, in 
> > 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 "", 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.


Re: [sage-support] Problem with load in sagemath 9.0 on ubuntu 20.04

2020-10-19 Thread Dima Pasechnik
On Mon, Oct 19, 2020 at 6:36 PM Carl Eberhart  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 "", line 1, in 
> 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 "", 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.


[sage-support] Problem with load in sagemath 9.0 on ubuntu 20.04

2020-10-19 Thread Carl Eberhart
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 "", line 1, in 
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 "", line 121
if s<>_sage_const_0 :
 ^
SyntaxError: invalid syntax

-- 
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.