Hi cc, Every thing works ok. I already did a proof with one object and there was no problem. There was no DeprecationWarning.
Thanks a lot, you're a genius man. I'll abuse of your amability, and ask a new question. Please, if you do not have time, don't worry. I know you are very busy with your thesis (I am too, so I understand) Do you know the sagetex package? I followed the directions to use the sagetex package, without successful. I tried with the example and I got the following messages: RuntimeError: Unable to start maxima **** Running Sage on example.sage failed! Fix example.tex and try again. Thanks, ---Alex On Mar 3, 6:02 pm, Craig Citro <craigci...@gmail.com> wrote: > Hi Alex, > > > All the objects have the same general shape as the one posted. The > > option (2) it is ok. I do not want you spend much time with my > > problem. > > Excellent -- (2) was definitely the easier plan for me. :) I've posted > a patch here: > > http://sage.math.washington.edu/home/craigcitro/fix-frac-pickle-3.1.1... > > So here are the steps you need to take to use this (I'm happy to > explain any of these in more detail, if you want): > > 1. Build sage-3.1.1 on your machine. It's > here:http://sage.math.washington.edu/sage/src/sage-3.1.1.tar > 2. In your sage-3.1.1 build directory, type: ./sage -clone pickle > 3. From that same directory: cd devel/sage-pickle > 4. Copy the above patch file into that directory, and type: hg patch > fix-frac-pickle-3.1.1.patch > 5. cd ../.. > 6. ./sage -br > > You should now be running a copy of sage 3.1.1 with the patch applied. > Then you can just update the pickles like this: > > sage: foo = load('test.sobj') > sage: save(foo, 'test2.sobj') > > or even > > sage: save(load('test.sobj'), 'test-new.sobj') > > where it's going to look for the patches in the sage-3.1.1 directory. > (Of course, you could just run the copy of 3.1.1 you've built from > anywhere by giving the full path.) In fact, if you have a bunch of > files in the same directory, you could just do something like: > > sage: for name in ['file1', 'file2', 'file3']: > ...: save(load(name + '.sobj'), name + '-new.sobj') > > and that should work. It takes a few seconds for each pickle, but it > seems to work for me. > > Now, the new pickles you produce will load just fine in sage 3.2.3 (or > at least, they did for me) -- however, they'll still give you a > DeprecationWarning when you load them. You can ignore this, or just > load and re-save them again in sage 3.2.3. > > Let me know if you run into any trouble ... > -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 -~----------~----~----~----~------~----~------~--~---