id summary reporter owner description type status priority milestone component resolution keywords cc merged author reviewer upstream work_issues branch commit dependencies stopgaps
7999 SyntaxError when loading Sage 4.3.1.rc1 due to non-ASCII character Minh Van Nguyen tbd "I built Sage 4.3.1.rc1 from source and then produced a sage.math binary. Loading the binary resulted in the following !SyntaxError:
{{{
SyntaxError: Non-ASCII character '\xc3' in file /dev/shm/mvngu/sage-4.3.1.rc1-dev/local/lib/python2.6/site-packages/sage/schemes/elliptic_curves/ell_rational_field.py on line 5448, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details (ell_rational_field.py, line 5447)
Error importing ipy_profile_sage - perhaps you should run %upgrade?
WARNING: Loading of ipy_profile_sage failed.
}}}
The guilty line is line 5447:
{{{
modular forms. Astérisque, (295):ix, 117-290, 2004.
}}}
of `sage/schemes/elliptic_curves/ell_rational_field.py`, which doesn't have the following preamble to indicate that the file has non-ASCII characters:
{{{
# -*- coding: utf-8 -*-
}}}
See this [http://wiki.sagemath.org/devel/nonASCII wiki page] for information on dealing with non-ASCII characters in source files." defect closed minor sage-4.3.1 misc fixed sage-4.3.1.rc2 Minh Van Nguyen Mitesh Patel N/A