I've looked at all pending fixes I could find to SM, and have released a new version with a couple of fixes by Ned.
The relevant fix to solve this is by SFA (called "[FIX] SM-createSMDir-asm"), and should be applied to SM itself. I don't have the sm password for SM. I've tested the fix, and it works.
Daniel
Doug Way dway@riskmetrics.com wrote:
Marcus Denker wrote:
On Wed, Jul 09, 2003 at 01:13:44AM -0400, Doug Way wrote:
FYI, if no one objects, I will update the SM packages that are in the image, by adding the latest versions to the update stream. Only the SMPackageLoader and PackageInfo have newer versions on SM, so these are the only two that will get updated. The version on SM is still the "master", as described below. (Seems relatively safe, since there haven't been big changes to either of these and they've been publicly available for awhile.) This will be the last update of this sort for 3.6.
There's that bug that you need to create the "sm" directory by hand. (if not, walkback). This needs to be fixed soon. I think Ned posted a fix...
I see Ned has posted a few SM (and SMLoader) related fixes. These are tricky... we probably don't want to have these fixed in the image but not fixed in the corresponding package on SM. The package on SM should always be the "master" copy, with the image updated occasionally from that, otherwise things will get pretty confusing.
Daniel may have already incorporated the SMLoader-related fixes into his latest versions, I haven't kept track. But there is no recent version of SM 1.0x, so we know that any recent SM fixes (such as Ned's create-the-"sm"-directory fix) are not in any recent version.
If these fixes are important enough for 3.6, perhaps Goran could put out a simple SqueakMap 1.07 which includes them. (or maybe it would be SqueakMapBase) Or if he's extra-busy with SM 1.1 or other things right now, someone else with the SM password could do it...
- Doug
Squeakfoundation mailing list Squeakfoundation@lists.squeakfoundation.org http://lists.squeakfoundation.org/listinfo/squeakfoundation
Hi all!
Back from fishing.
Daniel Vainsencher danielv@netvision.net.il wrote:
I've looked at all pending fixes I could find to SM, and have released a new version with a couple of fixes by Ned.
The relevant fix to solve this is by SFA (called "[FIX] SM-createSMDir-asm"), and should be applied to SM itself. I don't have the sm password for SM. I've tested the fix, and it works.
I will fix and post a new SM1.07 ASAP, today or tomorrow. I need to go through exactly what happens one more time, I did it just before going fishing but now I have forgotten about it.
Just note that it really isn't as simple as just creating the directory. The reason SM doesn't check for the existence of the directory is that it SHOULD be there. If it isn't there then we have an SMSqueakMap instance but no corresponding log file - not a proper situation. They should always exist together and in synch.
regards, Göran
On Sunday 13 July 2003 07:46 am, goran.krampe@bluefish.se wrote:
Back from fishing.
Hope your mosquito bites aren't too bad!
Just note that it really isn't as simple as just creating the directory. The reason SM doesn't check for the existence of the directory is that it SHOULD be there. If it isn't there then we have an SMSqueakMap instance but no corresponding log file - not a proper situation. They should always exist together and in synch.
What happens to me is that I'll copy an image into a new directory, or put a new image into a directory that has an old sm/ directory in it.
I think what happens is that the logic about loading full vs. updating needs to be looked at, based on the existence and contents of the sm directory.
Hi Ned and all!
Ned Konz ned@bike-nomad.com wrote:
On Sunday 13 July 2003 07:46 am, goran.krampe@bluefish.se wrote:
Back from fishing.
Hope your mosquito bites aren't too bad!
Well, not too bad. Actually, the mosquitos aren't the worst. In the evening the so called "knott" (gnat) - they are similar to sandflies - makes it quite unbearable. But we had a slight breeze which is perfect, then they aren't around.
Got 50 perch over three evenings - perfect to "smoke" and then have on the special Norrland thin bread.
Anyway, it was great.
Just note that it really isn't as simple as just creating the directory. The reason SM doesn't check for the existence of the directory is that it SHOULD be there. If it isn't there then we have an SMSqueakMap instance but no corresponding log file - not a proper situation. They should always exist together and in synch.
What happens to me is that I'll copy an image into a new directory, or put a new image into a directory that has an old sm/ directory in it.
I think what happens is that the logic about loading full vs. updating needs to be looked at, based on the existence and contents of the sm directory.
Exactly, I have fixed this now and some more. Just published it - both SqueakMap Base 1.06 and SqueakMap 1.07. Tested installation in a 5331 image (updated from 5259 first), seems to work fine.
Please test as much as possible and post bug reports. I will scan for them the next few days. I did just realize that the sequence number introduced in the installedPackages Dictionary obviously makes less sense when a package is reinstalled... Ah well.
Gotta go.
regards, Göran
squeakfoundation@lists.squeakfoundation.org