Hi Alex, Well, I have one question first before deciding the right way to proceed. Are all the objects you're creating the same general shape as the ones in the test.sobj you posted -- collections of polynomials over rational function fields in one variable over finite fields? If so, then we have two options; if not, we probably only have option (2).
(1) We can patch 3.2.3, so you can load the objects in 3.2.3. I'll then write a function that will take the objects, recreate corresponding objects in 3.2.3, coerce the old ones over, and re-save them. This isn't so bad, but it depends on me knowing exactly what kind of objects you've got. It's slightly more error-prone, I think. (2) We build and patch 3.1.1, and you just load and save each object. Then they should load fine in 3.2.3. Which seems better to you? (I think (2) is slightly easier for me, but nominally more work for you -- you have to build 3.1.1 on your laptop.) -cc On Mon, Mar 2, 2009 at 10:32 AM, Alex Lara <lrodr...@gmail.com> wrote: > > Hey Craig, > > I have 3.2.3 in my laptop, but I use the machines of the University > (which have 3.1.1) to do computations that take long time. > > ---Alex > > On 2 mar, 11:19, Craig Citro <craigci...@gmail.com> wrote: >> 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 -~----------~----~----~----~------~----~------~--~---