conversion files and older projects
Scott Wallace
scott at squeakland.org
Fri Nov 15 10:38:10 PST 2002
Hi, Bob,
Apropos of this, I've noticed a few times recently that sometimes a
very *small* project -- at least one created in 3.3a -- can result in
an unexpectedly *huge* .pr file.
When this happens, a look inside the .pr file reveals that it lists
the names and shapes of *all the classes in the creating system* in
its class-list, rather than just classes we would expect to be
represented in the .pr file. (This could happen I suppose if somehow
the list of objects being stored included the system dictionary (i.e.
Smalltalk).
Such saved projects are barred from being loaded successfully into
any other system that lacks even a single class known to the
exporting system. Thus, for example, there is no hope of reloading
any such project into any pre- *or* post-3.3a system. In the example
in question (if it is like others I've seen) it won't help just to
load it into a system that has XMLNode available -- there will always
be *another* class that the importing system lacks. Class "Module",
for one.
Cheers,
-- Scott
At 12:58 PM -0500 11/15/02, Bob Arning wrote:
>John,
>
>Sorry, my mistake in mixing up the Engligh and French. The error you
>see in loading the Tutorial Workbook is that there are instances of
>XMLNode in the project and no such class exists in 3.2. I believe
>that was added in 3.3 (the project _was_ published from 3.3), so
>that's the problem. We seem to be in a bit of a version upheaval at
>the moment, but I suspect 3.4 will be the logical place to try to
>load this once (it settles down, perhaps).
>
>Cheers,
>Bob
>
>On Fri, 15 Nov 2002 12:47:44 -0500 (EST) John Voiklis
><voiklis at redfigure.org> wrote:
>>I am using the exact same image (still in stock state)....oh wait, I think
>>we're talking about two different projects; the French Tutoriel that you
>>mentioned does work but the English-appearing Tutorial Workbook does not.
>>
>>--J
>>
>>On Fri, 15 Nov 2002, Bob Arning wrote:
>>
>>> On Fri, 15 Nov 2002 12:03:29 -0500 "John Voiklis"
>>><voiklis at redfigure.org> wrote:
>>> >By asking for a specific example, I guess you mean to say that there is no
>>> >generic fix or generic process to fix this problem....Oh well.
>>>In any case,
>>> >here's an example of a project that I couldn't load (in either
>>>branch of the
>>> >latest Squeak): http://209.143.91.36/super/594. Given that I am in the
>>> >process of writing tutorials for my users, I have been scavenging for
>>> >examples and projects that I might reuse.
>>>
>>> John,
>>>
>>> I took a stock 3.2 (4956) image and loaded the above project
>>>(Tutoriel) from the navigator bar with no problem. Perhaps you
>>>could give a bit more detail about
>>> - the image you are using
> >> - the steps you took
> >> - the error you saw.
> >>
> >> Cheers,
> >> Bob
> >>
More information about the Squeakland
mailing list