#9304: trac #8218 (finite_rings) broke all my pickles!
---------------------------------------------+------------------------------
   Reporter:  was                            |       Owner:  was         
       Type:  defect                         |      Status:  needs_review
   Priority:  minor                          |   Milestone:  sage-4.6    
  Component:  pickling                       |    Keywords:  pickling    
     Author:  William Stein, David Loeffler  |    Upstream:  N/A         
   Reviewer:  John Cremona                   |      Merged:              
Work_issues:                                 |  
---------------------------------------------+------------------------------
Changes (by cremona):

  * status:  needs_info => needs_review


Comment:

 I think you are right.  I tried it before applying patches, saw that
 something was not right but did not copy the output.  When I tried again
 after removing the patches (using hg qpop and sage -br) it still works!

 But I just tried again on another machine, still 4.6.alpha3, and with no
 patches the load command gives
 {{{
 sage:
 
load('http://sage.math.washington.edu/home/wstein/db/modsym/data/gamma0-1088-2.sobj')
 Attempting to load remote file:
 http://sage.math.washington.edu/home/wstein/db/modsym/data/gamma0-1088-2.sobj
 Loading: [..................................................]
 /home/jec/sage-current/local/lib/python2.6/site-
 packages/IPython/iplib.py:2073: DeprecationWarning: Your data is stored in
 an old format. Please use the save() function to store your data in a more
 recent format.
   exec code_obj in self.user_global_ns, self.user_ns
 ---------------------------------------------------------------------------
 ImportError                               Traceback (most recent call
 last)

 /home/jec/sage-4.6.alpha3/devel/sage-main/<ipython console> in <module>()

 /home/jec/sage-current/local/lib/python2.6/site-
 packages/sage/structure/sage_object.so in sage.structure.sage_object.load
 (sage/structure/sage_object.c:7486)()

 /home/jec/sage-current/local/lib/python2.6/site-
 packages/sage/structure/sage_object.so in sage.structure.sage_object.loads
 (sage/structure/sage_object.c:9052)()

 /home/jec/sage-current/local/lib/python2.6/site-
 packages/sage/structure/sage_object.so in
 sage.structure.sage_object.unpickle_global
 (sage/structure/sage_object.c:8659)()

 ImportError: No module named integer_mod_ring
 }}}

 It's a mystery that popping the patches left a setup in which the load
 works;  and that left open the possibility that the only reason why the
 second patch worked was that the effect of the first patch was still
 around (!) so on the second machine I applied the second patch without
 previously applying the first, and that still worked.

 Moreover, then popping the second patch put the system back properly (the
 load again fails).

 So I am giving the *second* patch a positive review.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9304#comment:7>
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.

Reply via email to