Thanks Goran.
How can I get the minitraits source code so that I can attempt to fix it?
I understand that Traits is much more complete than MiniTraits, but I am in love with the whisker browser, and I suspected that using MiniTraits will interfere with it much less than Traits (I will check if this fear is justified)
Thanks for the help.
Take care, Mike.
Receive and share.
On Mon Apr 04 03:42:58 PDT 2005, goran.krampe@bluefish.se wrote:
Hi Mike!
Now I have looked at this and read below.
Mike me@mikehogan.net wrote:
Hi all,
I posted a similar question towards the end of last week, but I think I made the post too confusing. So here is the question again, boiled down to its essence :-)
I installed a clean image of build 5989, booted it up and tried to install MiniTraits using the SqueakMap Package Loader. I got the message that SystemDictionary>>changes is not understood.
Can any of you please offer some advice on how to proceed?
The "snotty" reply here :) is that MiniTraits is categorized for Squeak 3.4 (it is an old package and Stephen hasn't been Squeaking for a while I think) so trying it in Squeak 3.7 is begging for trouble, SM even warns you about that, and this time the warning is warranted since MiniTraits is "system level changing stuff" :).
So the problem is simply that MiniTraits itself (you can see this if you open up a changesorter and look at the changes it has introduced) defines/redefines a couple of low level stuff - in this case it adds ClassDescription>>basicRemoveSelector: which is called by forgetDoIts. And the new code in basicRemoveSelector: sends #changes to Smalltalk, and that behaviour has moved.
Nowadays you instead write "ChangeSet current" (instead of "Smalltalk changes").
In other words, MiniTraits itself breaks the system during the installation of itself. ;)
Take care, Mike.
regards, Göran
PS. The "Traits" package is in a much more working state than MiniTraits.
have you tried because I do not think why traits would interfere.
Stef
On 4 avr. 05, at 14:09, Mike wrote:
I understand that Traits is much more complete than MiniTraits, but I am in love with the whisker browser, and I suspected that using MiniTraits will interfere with it much less than Traits (I will check if this fear is justified)
Mike me@mikehogan.net wrote:
Thanks Goran.
How can I get the minitraits source code so that I can attempt to=20 fix it?
Use "browse cache" on the release entry in the package loader. Then you see the .sar file. A .sar file is just a zip file, select it and press "open zip". Then you are on your own. :)
regards, Göran
squeak-dev@lists.squeakfoundation.org