#20853: Debug SyntaxError in mirror_list
---------------------------+----------------------------------
Reporter: jdemeyer | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: sage-7.3
Component: scripts | Keywords:
Merged in: | Authors: Jeroen Demeyer
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
---------------------------+----------------------------------
Enable easier debugging for messages like
{{{
[libhomfly-1.0] Attempting to download package libhomfly-1.0.tar.gz from
mirrors
[libhomfly-1.0] Downloading the Sage mirror list
[libhomfly-1.0]
************************************************************************
[libhomfly-1.0] Traceback (most recent call last):
[libhomfly-1.0] File "/usr/local/src/sage-
git/build/bin/../sage_bootstrap/cmdline.py", line 228, in run
[libhomfly-1.0] tarball.download()
[libhomfly-1.0] File "/usr/local/src/sage-
git/build/bin/../sage_bootstrap/tarball.py", line 152, in download
[libhomfly-1.0] for mirror in MirrorList():
[libhomfly-1.0] File "/usr/local/src/sage-
git/build/bin/../sage_bootstrap/mirror_list.py", line 61, in __init__
[libhomfly-1.0] self._refresh()
[libhomfly-1.0] File "/usr/local/src/sage-
git/build/bin/../sage_bootstrap/mirror_list.py", line 166, in _refresh
[libhomfly-1.0] self.mirrors = self._load(mirror_list)
[libhomfly-1.0] File "/usr/local/src/sage-
git/build/bin/../sage_bootstrap/mirror_list.py", line 78, in _load
[libhomfly-1.0] return ast.literal_eval(mirror_list)
[libhomfly-1.0] File "/usr/local/src/sage-git/local/lib/python/ast.py",
line 49, in literal_eval
[libhomfly-1.0] node_or_string = parse(node_or_string, mode='eval')
[libhomfly-1.0] File "/usr/local/src/sage-git/local/lib/python/ast.py",
line 37, in parse
[libhomfly-1.0] return compile(source, filename, mode, PyCF_ONLY_AST)
[libhomfly-1.0] File "<unknown>", line 1
[libhomfly-1.0] <!DOCTYPE html>
[libhomfly-1.0] ^
[libhomfly-1.0] SyntaxError: invalid syntax
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/20853>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" 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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.