For debugging this, please note that this is executed using 
build/bin/sage-system-python, which is not necessarily the same as ./sage 
-python.

On Saturday, May 23, 2020 at 9:44:53 AM UTC-7, kcrisman wrote:
>
>
> >  CRITICAL [mirror_list|_load:91]: Downloaded mirror list has syntax 
>> error: error code: 1010 
>> > 
>> > 
>> https://github.com/sagemath/sage/blob/develop/build/sage_bootstrap/download/mirror_list.py#L91
>>  
>> Hi, 
>>
>> could you debug this? What's the value of mirror_list just before 
>>
>> https://github.com/sagemath/sage/blob/4427340fcd58c915e9b803cb5fbc8e720a8c335c/build/sage_bootstrap/download/mirror_list.py#L89
>>  
>>
>> Dima 
>>
>
> As the error above indicates, I got "error code: 1010" and I was able to 
> confirm this via a print statement in a different Sage build by doing sage 
> -i bliss after removing the mirror list.  Replacing the mirror list and 
> bliss installed fine.
>
> I can confirm this another way using the syntax provided in the actual 
> file in comments.  Could this be a Python 2 v 3 issue?  I don't really 
> understand why it would return this error code.
>
> $ ./sage -python
>
> Python 2.7.15 (default, May 21 2020, 11:09:06) 
>
> [GCC 4.2.1 Compatible Apple LLVM 7.3.0 (clang-703.0.31)] on darwin
>
> Type "help", "copyright", "credits" or "license" for more information.
>
> >>> import urllib
>
> >>> eval(urllib.urlopen('http://www.sagemath.org/mirror_list').read())
>
> Traceback (most recent call last):
>
>   File "<stdin>", line 1, in <module>
>
>   File "<string>", line 1
>
>     error code: 1010
>
>              ^
>
> SyntaxError: invalid syntax
>
> >>> urllib.urlopen('http://www.sagemath.org/mirror_list').read()
>
> 'error code: 1010'
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-release+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-release/a9891332-6039-4ca2-8929-4e16f829a0b0%40googlegroups.com.

Reply via email to