from preamble:
"Change Set: JonMajorShrink Date: 29 August 2001 Author: Jon Hylands
An update to majorShrink, for build 3.1a-4282.
This change set, on a virgin 4282 image, will produce a 1.6 MB MVC-only image.
Make sure you back up your image before running this. After filing this change set in, enter an MVC project, and evaluate:
Smalltalk preMajorShrink
After that, evaluate the following:
Smalltalk majorShrink; abandonSources; lastRemoval "!
Hi John,
Following your instructions, using the latest greatest Squeak-D3D.exe, I got 'MessageNotUnderstood: sortBlock:' walkback :
'AnObsoleteHeap class(Object)>>doesNotUnderstand:'
Please find attached the file 'SqueakDebug.log'. Did I miss something ?
Cheers,
PhiHo
----- Original Message ----- From: jon@huv.com To: squeak-dev@lists.squeakfoundation.org Sent: Thursday, August 30, 2001 1:08 AM Subject: [FIX] JonMajorShrink
from preamble:
"Change Set: JonMajorShrink Date: 29 August 2001 Author: Jon Hylands
An update to majorShrink, for build 3.1a-4282.
This change set, on a virgin 4282 image, will produce a 1.6 MB MVC-only image.
Make sure you back up your image before running this. After filing this change set in, enter an MVC project, and evaluate:
Smalltalk preMajorShrink
After that, evaluate the following:
Smalltalk majorShrink; abandonSources; lastRemoval "!
On Thu, 30 Aug 2001 01:00:18 -0400, "PhiHo Hoang" phiho.hoang@home.com wrote:
Following your instructions, using the latest greatest Squeak-D3D.exe, I
got 'MessageNotUnderstood: sortBlock:' walkback :
'AnObsoleteHeap class(Object)>>doesNotUnderstand:'
Please find attached the file 'SqueakDebug.log'. Did I miss something ?
PhiHo,
The only thing I can think of is that I closed all the projects, and got rid of flaps and the project navigator bar before I started. Maybe you have to do that.
Let me know if it works for you...
Later, Jon
-------------------------------------------------------------- Jon Hylands Jon@huv.com http://www.huv.com/jon
Project: Micro Seeker (Micro Autonomous Underwater Vehicle) http://www.huv.com
Jon,
The only thing I can think of is that I closed all the projects, and got rid of flaps and the project navigator bar before I started.
Got rid of everything, including The Mouse. When in the MVC project, just a workspace.
Let me know if it works for you...
Same error. Please find attached the log file.
Cheers,
PhiHo
----- Original Message ----- From: "Jon Hylands" jon@huv.com To: squeak-dev@lists.squeakfoundation.org Sent: Thursday, August 30, 2001 1:13 AM Subject: Re: [FIX] JonMajorShrink
On Thu, 30 Aug 2001 01:00:18 -0400, "PhiHo Hoang" phiho.hoang@home.com wrote:
Following your instructions, using the latest greatest Squeak-D3D.exe,
I
got 'MessageNotUnderstood: sortBlock:' walkback :
'AnObsoleteHeap class(Object)>>doesNotUnderstand:'
Please find attached the file 'SqueakDebug.log'. Did I miss something
?
PhiHo,
The only thing I can think of is that I closed all the projects, and got rid of flaps and the project navigator bar before I started. Maybe you have to do that.
Let me know if it works for you...
Later, Jon
-------------------------------------------------------------- Jon Hylands Jon@huv.com http://www.huv.com/jon
Project: Micro Seeker (Micro Autonomous Underwater Vehicle) http://www.huv.com
On Thu, 30 Aug 2001 01:49:47 -0400, "PhiHo Hoang" phiho.hoang@home.com wrote:
Got rid of everything, including The Mouse. When in the MVC project,
just a workspace.
Let me know if it works for you...
Did you start with a clean 3.1a 4282 image?
I just started with a clean (from the zip file) 4164 image, and I did the following:
- Closed all projects, morphs, and windows that are open - Went to Preferences, turned off "show shared flaps" - Closed the project navigator bar - Did an "Update from Server" to get up to 4282 - Opened an MVC project, entered it - Filed in my changeset - Opened a workspace, pasted the two Doits into it - Ran the first Doit, and then the second one
It worked fine, I just tried it...
If it doesn't work for you, the thing that is causing the problem for you is setting the Flaps font, so you can try (for now) to comment out the line near the bottom in SystemDictionary >> discardOddsAndEnds that says:
Preferences setFlapsFontTo: (StrikeFont familyName: #NewYork size: 12).
Other than that, I don't know why yours doesn't work, but hopefully this will help you.
Has anyone else had any success running this?
Later, Jon
-------------------------------------------------------------- Jon Hylands Jon@huv.com http://www.huv.com/jon
Project: Micro Seeker (Micro Autonomous Underwater Vehicle) http://www.huv.com
Hi Jon,
Thanks for trying to solve my problem.
Did you start with a clean 3.1a 4282 image?
I downloaded http://wuarchive.wustl.edu/languages/smalltalk/Smalltalk/Squeak/current/unst able-testPilot/Squeak3.1a-4282.zip . So, if it's not virgin then it's SEP (Someone Else Problem, I like this ;-)
If it doesn't work for you, the thing that is causing the problem for you is setting the Flaps font, so you can try (for now) to comment out the
line
near the bottom in SystemDictionary >> discardOddsAndEnds that says:
Preferences setFlapsFontTo: (StrikeFont familyName: #NewYork size: 12).
This almost works, if not for a syntax error at the very end. In the 'Syntax Error' window, I can see:
"Dictionary as yet unclassified Squeak3" in the top pane and "Squeak3.1a-4282.image-Argument expected ->---#(24 August 2001 12:07:14 pm)" in the text pane.
Incidentally, the name for the starting image is "Squeak3.1a-4282MajorShrink.image".
Cheers,
PhiHo
----- Original Message ----- From: "Jon Hylands" jon@huv.com To: squeak-dev@lists.squeakfoundation.org Sent: Thursday, August 30, 2001 9:11 AM Subject: Re: [FIX] JonMajorShrink
On Thu, 30 Aug 2001 01:49:47 -0400, "PhiHo Hoang" phiho.hoang@home.com wrote:
Got rid of everything, including The Mouse. When in the MVC project,
just a workspace.
Let me know if it works for you...
Did you start with a clean 3.1a 4282 image?
I just started with a clean (from the zip file) 4164 image, and I did the following:
- Closed all projects, morphs, and windows that are open - Went to Preferences, turned off "show shared flaps" - Closed the project navigator bar - Did an "Update from Server" to get up to 4282 - Opened an MVC project, entered it - Filed in my changeset - Opened a workspace, pasted the two Doits into it - Ran the first Doit, and then the second one
It worked fine, I just tried it...
If it doesn't work for you, the thing that is causing the problem for you is setting the Flaps font, so you can try (for now) to comment out the line near the bottom in SystemDictionary >> discardOddsAndEnds that says:
Preferences setFlapsFontTo: (StrikeFont familyName: #NewYork size: 12).
Other than that, I don't know why yours doesn't work, but hopefully this will help you.
Has anyone else had any success running this?
Later, Jon
-------------------------------------------------------------- Jon Hylands Jon@huv.com http://www.huv.com/jon
Project: Micro Seeker (Micro Autonomous Underwater Vehicle) http://www.huv.com
On Thu, 30 Aug 2001 11:00:50 -0400, "PhiHo Hoang" phiho.hoang@home.com wrote:
This almost works, if not for a syntax error at the very end. In the
'Syntax Error' window, I can see:
"Dictionary as yet unclassified Squeak3" in the top pane and "Squeak3.1a-4282.image-Argument expected ->---#(24 August 2001 12:07:14
pm)" in the text pane.
Very interesting. I get the same thing when I use that image, so I went and looked in the original 4282 image...
The method in question is Dictionary >> #includesKey:
The source pointer is broken.
Here's the source code for that method from an earlier release:
includesKey: key "Answer whether the receiver has a key equal to the argument, key." | index | index _ self findElementOrNil: key. (array at: index) == nil ifTrue: [^ false] ifFalse: [^ true]
If you copy & paste that into a browser before you start, and save the method, everything should work again.
BTW, if you follow the steps I outlined, you don't need to comment out that line from #discardOddsAndEnds...
Later, Jon
-------------------------------------------------------------- Jon Hylands Jon@huv.com http://www.huv.com/jon
Project: Micro Seeker (Micro Autonomous Underwater Vehicle) http://www.huv.com
Hooray, Jon,
I did it ! Just finished majorShrink without problems and now I have 'Squeak3.1a-4282MajorShrink.image' at 1680 KB.
Thanks a lot and looking forward to your sub 500MB headless image ;;-)
Cheers,
PhiHo
----- Original Message ----- From: "Jon Hylands" jon@huv.com To: squeak-dev@lists.squeakfoundation.org Sent: Thursday, August 30, 2001 6:18 PM Subject: Re: [FIX] JonMajorShrink
On Thu, 30 Aug 2001 11:00:50 -0400, "PhiHo Hoang" phiho.hoang@home.com wrote:
This almost works, if not for a syntax error at the very end. In the
'Syntax Error' window, I can see:
"Dictionary as yet unclassified Squeak3" in the top pane and "Squeak3.1a-4282.image-Argument expected ->---#(24 August 2001
12:07:14
pm)" in the text pane.
Very interesting. I get the same thing when I use that image, so I went and looked in the original 4282 image...
The method in question is Dictionary >> #includesKey:
The source pointer is broken.
Here's the source code for that method from an earlier release:
includesKey: key "Answer whether the receiver has a key equal to the argument, key." | index | index _ self findElementOrNil: key. (array at: index) == nil ifTrue: [^ false] ifFalse: [^ true]
If you copy & paste that into a browser before you start, and save the method, everything should work again.
BTW, if you follow the steps I outlined, you don't need to comment out that line from #discardOddsAndEnds...
Later, Jon
-------------------------------------------------------------- Jon Hylands Jon@huv.com http://www.huv.com/jon
Project: Micro Seeker (Micro Autonomous Underwater Vehicle) http://www.huv.com
Jon Hylands wrote:
Very interesting. I get the same thing when I use that image, so I went and looked in the original 4282 image...
The method in question is Dictionary >> #includesKey:
The source pointer is broken.
This was a glitch that somehow had crept into the .zip update package I had prepared. Don't ask me why, when I redid the update everything went fine. I have prepared a new "Squeak3.1a-4282b.zip" package. Bruce, can you replace the bad one at uiuc as well?
http://lucs.lu.se/people/Henrik.Gedenryd/squeak/updates/Squeak3.1a-4282b.zip
Henrik
squeak-dev@lists.squeakfoundation.org