Ah, does this mean you have a running copy of 3.1.1 still? Because I think it'll be easier to give you a patch against 3.1.1 than a patch against 3.2.3 ...
-cc On Mon, Mar 2, 2009 at 10:06 AM, Alex Lara <lrodr...@gmail.com> wrote: > > Hi Craig, > > Thanks for explanation, it was clear. Now I have six files, but the > program is still running and will generate more files. So, I would > love you can explain me how to fix the problem. > > Thanks, > > ----Alex > > On 1 mar, 23:41, Craig Citro <craigci...@gmail.com> wrote: >> >> From command line of Sage 3.1.1, I saved some object, and then I could >> >> open it with sage 3.2.3. Next I open test.sobj (this was created by a >> >> sage program) in sage 3.1.1, saved it again, and when I tried to open >> >> it on sage 3.2.3. Here you will find that >> >> object:http://math.arizona.edu/~alara/test.sobj >> >> >> ----Alex >> >> > Thanks. I'll take a look at it. I've also CC'd Craig Citro who most >> > likely knows what is going on here. >> >> > --Mike >> >> Hi Alex, >> >> Yeah, this one is going to be a little bit annoying to fix. Here's >> what's going on: in between 3.1.1 and 3.2.3, fraction fields got moved >> over to the new coercion model. This is good, but as it happens, the >> switch was done in such a way that it caused the pre-existing pickles >> to not load correctly (which is exactly what you're seeing). There's >> probably a clean and classy way to fix this, and I'll be happy to look >> at it carefully in a few weeks if no one beats me to it (I'm busy >> trying to finish up my thesis). This is now trac #5419. >> >> In the interim, you probably want to hack something together so that >> you can load your pickles. I managed to make sage 3.2.3 load the >> pickles, but it's a pretty ugly hack, and you'll still need to re-save >> the objects as newer pickles (which actually has one or two more >> wrinkles), so that you don't have to deal with this in the short term. >> How many of these files are there? If it's just a few, e-mail them to >> me off-list, and I'll just re-pickle them in a newer format and send >> them back to you. If there are more than that, I'll carefully explain >> how you can fix them yourself. :) >> >> -cc > > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---