#5521: fix serious bug in pickling the rational numbers and the magma interface
---------------------------------+------------------------------------------
Reporter: was | Owner: malb
Type: defect | Status: new
Priority: critical | Milestone: sage-3.4.1
Component: commutative algebra | Keywords:
---------------------------------+------------------------------------------
After converting QQ to Magma it suddenly stops pickling!
{{{
wst...@sage:~$ sage
----------------------------------------------------------------------
| Sage Version 3.4, Release Date: 2009-03-11 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
sage: loads(dumps(QQ))
Rational Field
sage: magma(QQ)
Rational Field
sage: loads(dumps(QQ))
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call
last)
/scratch/wstein/sage/temp/sage.math.washington.edu/13063/_scratch_wstein_sage_init_sage_0.py
in <module>()
/home/wstein/sage/local/lib/python2.5/site-
packages/sage/structure/sage_object.so in sage.structure.sage_object.loads
(sage/structure/sage_object.c:6159)()
RuntimeError: (TypeError(RuntimeError('Error evaluating Magma
code.\nIN:_sage_[3]:=Rational Field;\nOUT:\n>> _sage_[3]:=Rational
Field;\n ^\nUser error: bad syntax',),), <function
reduce_load at 0x11318c0>, (Magma, 'Rational Field'))
invalid data stream
invalid load key, 'x'.
Unable to load pickled data.
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5521>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---