#10807: Modular Symbols trouble restorng saved objects
------------------------------+---------------------------------------------
Reporter: jonhanke | Owner: craigcitro
Type: defect | Status: new
Priority: major | Milestone: sage-4.6.2
Component: modular forms | Keywords: modular symbols, pickling
Author: Jonathan Hanke | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------------+---------------------------------------------
There is trouble reconstructing saved modular forms/symbols eigenform
information:
{{{
sage: chi_tmp = DirichletGroup(105,
RationalField())(kronecker_character_upside_down(105))
sage: MS = ModularSymbols(chi_tmp, 2)
sage: CS = MS.cuspidal_subspace()
sage: NS = CS.new_subspace()
sage: t = cputime()
sage: new_eigenspace_list = NS.decomposition()
sage: print " This took " + str(cputime(t)) + " seconds."
This took 7.296595 seconds.
sage: save(NS, 'NS105.sobj')
KeyboardInterrupt
sage: NS1 = load('NS105.sobj')
sage:
sage: NS[0].q_eigenform(15, 'a')
q + (-1/10*a^3 - 3/10*a^2 + 2/5*a + 3/5)*q^2 + (1/10*a^3 + 3/10*a^2 +
3/5*a - 3/5)*q^3 + q^4 + (-1/5*a^3 - 3/5*a^2 - 1/5*a + 1/5)*q^5 +
(1/10*a^3 + 4/5*a^2 + \
3/5*a - 3/5)*q^6 + (1/2*a^2 + a + 1)*q^7 + (1/10*a^3 + 3/10*a^2 - 2/5*a -
3/5)*q^8 + (-1/5*a^3 - 3/5*a^2 - 6/5*a - 9/5)*q^9 + (-1/2*a^2 - a +
3)*q^10 + (-1/5*\
a^3 - 3/5*a^2 - 6/5*a - 4/5)*q^11 + (1/10*a^3 + 3/10*a^2 + 3/5*a -
3/5)*q^12 - 4*q^13 + (1/5*a^3 + 3/5*a^2 + 11/5*a + 9/5)*q^14 + O(q^15)
sage:
sage:
sage: NS1[0].q_eigenform(15, 'b')
ERROR: An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line statement', (20, 0))
...
}}}
I'd like to use this mechanism to store tables of modular forms/symbols,
so any suggestions for a workaround are appreciated! =)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10807>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.