I'm having trouble using SqueakMap (2). Here are some notes regarding what goes wrong.
(MacOS 8.6, CarbonLib 1.6, PPC 604e) Downloaded ftp://st.cs.uiuc.edu/pub/Smalltalk/Squeak/3.6/mac/Squeak3.6-current-MacOS-Full.sit Unstuffed, creating folder "Squeak3.6-MacOS-Full" The image file calls itself "Squeak3.6-5429-full.image"
Start Squeak (Using Squeak 3.6.0be Classic VM)
World Menu -> Open -> Package Loader This tells me I need to update to version 2 of the SqueakMap client. I allow the update. Many progress indicators come up, finally it all stops with an alert: "Installation of package release failed, message follows: a primitive has failed"
I abort (with cmd-period), click "debug", then click "full stack." I scroll down to "[] in SMSqueakMap>>installPackageRelease:", then click on "aPackageRelease" and see "SMPackageRelease[SqueakMap2 loader 2]" displayed.
How I got to this point is beyond me, so I close the debug window, and hit "OK" in the alert box. The alert goes away, and Squeak sits. Hmmm. Let's try that Package Loader again.
World menu -> Open -> ??? Where is the Package Loader ???
Go to Method FInder, enter "package" and look through list. Click on "openPackageLoader" and it displays "TheWorldMenu class openPackageLoader" Cool. Says something about grandfathered items or whatever. Still ignorant, I try: TheWorldMenu openPackageLoader in a workspace and "do-it." Now I get a box that says "This requires that you first install "SqueakMap" into your image. ... Would you like to install SqueakMap now?" So I say Yes, what do I have to lose, right?
Loading SqueakMap... ... Loading snapshot/source.st ... Installation of package release failed, message follows: a primitive has failed" (note that each time, thare are two spaces following word "release" above)
I'm stumped. Any ideas?
At some point a debug log was generated, so I've attached it.
Jazzmynn
Hi Jazzmynn and all!
Jazzmynn jazzmynn@ida.net wrote:
I'm having trouble using SqueakMap (2). Here are some notes regarding what goes wrong.
(MacOS 8.6, CarbonLib 1.6, PPC 604e) Downloaded ftp://st.cs.uiuc.edu/pub/Smalltalk/Squeak/3.6/mac/Squeak3.6-current-MacOS-Full.sit Unstuffed, creating folder "Squeak3.6-MacOS-Full" The image file calls itself "Squeak3.6-5429-full.image"
Start Squeak (Using Squeak 3.6.0be Classic VM)
World Menu -> Open -> Package Loader This tells me I need to update to version 2 of the SqueakMap client. I allow the update. Many progress indicators come up, finally it all stops with an alert: "Installation of package release failed, message follows: a primitive has failed"
I abort (with cmd-period), click "debug", then click "full stack." I scroll down to "[] in SMSqueakMap>>installPackageRelease:", then click on "aPackageRelease" and see "SMPackageRelease[SqueakMap2 loader 2]" displayed.
The above leads me to think that you actually made it almost all the way through the upgrade to SM2 but stumbled in the last step. Here is the load script that is being run: http://modules.squeakfoundation.org/People/gk/SqueakMap2-2.st
...as you san see the last thing that happens is that the script installs the package called "SqueakMap2 loader": map installPackageWithId: '941c0108-4039-4071-9863-a8d7d2b3d4a3' autoVersion: '2'.
...but I have no idea why you fail with a primitive failure at this point. Would be interesting to know exactly where. It doesn't seem like the debug logs you attached was about that.
How I got to this point is beyond me, so I close the debug window, and hit "OK" in the alert box. The alert goes away, and Squeak sits. Hmmm. Let's try that Package Loader again.
World menu -> Open -> ??? Where is the Package Loader ???
Gone. :) The load script starts with toasting the old one before installing the new one. And since it failed installing the new one...
Go to Method FInder, enter "package" and look through list. Click on "openPackageLoader" and it displays "TheWorldMenu class openPackageLoader" Cool. Says something about grandfathered items or whatever. Still ignorant, I try: TheWorldMenu openPackageLoader in a workspace and "do-it." Now I get a box that says "This requires that you first install "SqueakMap" into your image. ... Would you like to install SqueakMap now?" So I say Yes, what do I have to lose, right?
Right. Even though that "check" only checks to see if there is a class called SMLoader - so you really only should need to install the loader.
Haven't thought about exactly what happens if installed twice - should probably test that a bit.
Loading SqueakMap... ... Loading snapshot/source.st ... Installation of package release failed, message follows: a primitive has failed" (note that each time, thare are two spaces following word "release" above) I'm stumped. Any ideas?
Well, if you can redo this procedure and then, when it fails with the primitive - I would like the debug log. You can also try to install the loader manually with this line afterwards:
SMSqueakMap default installPackageWithId: '941c0108-4039-4071-9863-a8d7d2b3d4a3' autoVersion: '2'.
...then you might be able to see more clearly what is going on. Perhaps even debug it.
At some point a debug log was generated, so I've attached it.
Jazzmynn
regards, Göran
Hi, Goran. SqueakMap2 is cool. Thanks for your efforts.
on 01/26/04 02:26, goran.krampe@bluefish.se wrote:
...but I have no idea why you fail with a primitive failure at this point. Would be interesting to know exactly where. It doesn't seem like the debug logs you attached was about that.
That is another cache related problem but Mac OS platform specific. The Mac's HFS can not accept such a long directory name that is usually used by SM2. So, it seems a primitive error occurs that means the SqueakVM fails to create such a long-named directory.
Best regards,
-- Masato Sumi
Hi all!
Masato Sumi sumi@seagreen.ocn.ne.jp wrote:
Hi, Goran. SqueakMap2 is cool. Thanks for your efforts.
Thanks!
on 01/26/04 02:26, goran.krampe@bluefish.se wrote:
...but I have no idea why you fail with a primitive failure at this point. Would be interesting to know exactly where. It doesn't seem like the debug logs you attached was about that.
That is another cache related problem but Mac OS platform specific. The Mac's HFS can not accept such a long directory name that is usually used by SM2. So, it seems a primitive error occurs that means the SqueakVM fails to create such a long-named directory.
Best regards,
-- Masato Sumi
Aha! Great, I will look at this later tonight. Thank you for helping out!
regards, Göran
PS. Evidently I don't have a Mac :)
Hi all and especially youMac people! :)
I have implemented #asString36 and #fromString36: on class UUID which represents the UUID as a String in base 36 ($0-9 and $a-z, lower case) which squeezes it in at 25 chars. SMFileCache now uses this method instead of #asString.
Since this problem appears already in the load script (package "SqueakMap") I have both released a new "SqueakMap2 base" 0.94 and a new loadscript. And while messing with the loadscript I accidentally deleted an old one, etc etc - so now there is only one release of it - 0.93.
Hopefully this for now resolves the current crop of BUGs that have been reported and I look forward to hearing a success report from Jazzmynn. :)
And right, if you simply upgrade "SqueakMap2 base" (install Monticello first please), then you can clear out your old cache directory (/sm/cache/packages) because those old directory names will not be found.
regards, Göran
PS. I will also later on add some convenience mechanisms in the package loader to open a filelist on the proper cache directory etc, since finding the correct dir is now very hard. :)
Hi, goran-san, jazzmynn-san.
on 01/27/04 23:14, goran.krampe@bluefish.se wrote:
Hopefully this for now resolves the current crop of BUGs that have been reported and I look forward to hearing a success report from Jazzmynn. :)
on 01/28/04 00:39, jazzmynn@ida.net wrote:
SUCCESS!
Me too.
Today is the first day for my nice SqueakMap2 experience (as a old mac user). Your new mechanism seems to work well. Thank you very much.
-- Masato Sumi
squeak-dev@lists.squeakfoundation.org