Dear Torsten, Thanks for the feedback. I will propagate the change on the bug-fix branch, to make it available for the next release.
Can someone else (Boris, Yves) have a look at my change (r17190), and check whether it seems fine? Its correctness relies on the assumption that pickles made with the former marshaler (version 3#3) are readable by the new marshaler (version 4#0). I believe this assumption is correct, because the marshaling format (the part used by the pickler) was only extended for failed values. About the compilation issue, I cannot tell. I never saw this. I use the following directory structure for building Mozart: - source in SOMEWHERE/mozart/trunk/mozart - build in SOMEWHERE/mozart/trunk/build Then I cd SOMEWHERE/mozart/trunk/build, and lauch something like: ../mozart/configure --enable-opt=yes --disable-doc --disable-contrib Thanks, raph 2009/3/23 Torsten Anders <[email protected]> > Dear Raphael, > > Thanks again for fixing this pickle matter and sorry for the delay. I just > updated my SVN trunk, and tried compiling the trunk and testing whether > loading old pickles works. > > However, it appears I am unable to compile. I don't know whether I am just > stupid ( I did this before..), or whether there is actually some problem. I > tried various things, but always get the same error message. > > Here is what I am doing. I create some build directory, move into that > build directly and then evoke the mozart configure script from within the > build directory, e.g., > > $ cd /path/to/build/dir > $ /path/to/mozart/trunk/mozart/configure --disable-contrib --disable-doc > $ make > > Then I get the following error. > > Makefile:17: /path/to/mozart/trunk/share/Makefile.boot: No such file or > directory > make[2]: *** No rule to make target > `/path/to/mozart/trunk/share/Makefile.boot'. Stop. > make[1]: *** [bootstrap] Error 1 > make: *** [bootstrap] Error 1 > > For some reason, the makefile tries to access a > directory /path/to/mozart/trunk/share. I assume that should > be /path/to/mozart/trunk/mozart/share. > > What am I missing? Thank you! > > Best > Torsten > > > On 8 Mar 2009, at 10:03, Raphael Collet wrote: > > Dear Torsten, > > I checked in a change in the svn trunk of Mozart. Can you give it a try? > I personally tested it with the Oz Minesweeper applet, which was still in > the former pickle format, and it worked :-) > > If testing succeeds, I will include it in the maintenance branch, and maybe > push for a Mozart 1.4.1 release. > > Cheers, > raph > > On Tue, Mar 3, 2009 at 12:20 PM, Torsten Anders < > [email protected]> wrote: > >> Dear Raphael, >> >> On Mar 3, 2009, at 10:00 AM, Raphael Collet wrote: >> >>> I had a look at the changes between releases. The only change in the >>> pickle format is its extension to pickle failed values. The other changes >>> simply reflect the reorganization of the internal class hierarchy of values, >>> they do not affect the format itself. >>> >>> I will give it a try soon (probably during the weekend). If it works, I >>> will commit it to the svn trunk, and ask people to test it. If testing is >>> successful, I will call for a minor release of Mozart (1.4.1). >>> >> >> Thank you very much indeed! You are actually suggesting more than I even >> hoped for :) >> >> Best >> Torsten >> >> >>> >>> Cheers, >>> raph >>> >>> On Tue, Mar 3, 2009 at 10:33 AM, Raphael Collet < >>> [email protected]> wrote: >>> Yes, this is exactly what I am suggesting. I don't pretend that it is >>> possible for all former pickler versions. But I think that backward >>> compatibility with version 3#3 of the pickler (Mozart 1.3.x) is feasible. >>> >>> This requires a careful review of the diff between both versions of the >>> pickler. This is not an easy task, since that part of Mozart is quite >>> low-level and a bit obscure (to me at least). And one must make sure that >>> the compatibility test only applies to pickles. >>> >>> Cheers, >>> raph >>> >> > > -- > Torsten Anders > Interdisciplinary Centre for Computer Music Research > University of Plymouth > Office: +44-1752-586219 > Private: +44-1752-558917 > http://strasheela.sourceforge.net > http://www.torsten-anders.de > > > > > > > _________________________________________________________________________________ > mozart-users mailing list > [email protected] > http://www.mozart-oz.org/mailman/listinfo/mozart-users >
_________________________________________________________________________________ mozart-users mailing list [email protected] http://www.mozart-oz.org/mailman/listinfo/mozart-users
