[ANN] SqueakMap Package Loader (0.95)

danielv at netvision.net.il danielv at netvision.net.il
Sat Oct 26 10:24:37 UTC 2002


Well, considering the amount of work needed to reproduce this bug, I
tried instead to do a quick code inspection. 

Actually, I send squeakMap very few messages indeed -
#loadUpdates
#cardsByName
#upgradeInstalledPackagesDirectory:
The only return value I use is a collection from cardsByName. So the
SMLoader is likely to produce such a DNU dependent on the state of SM is
if 
A. #cardsByName isn't always returning a collection
B. The collection includes things that are not cards.

Inspecting SqueakMap>>cardsByName, I'm pretty convinced it should handle
all cases correctly.

Perplexed, I'll wait and fix this the next time I get a bug report, if
it includes either a tested recipe or a stack dump (as can be easily
created from the debugger, using the "mail out bug report" menu item).

BTW, I've mailed you already (in a manner that might have been missed)
that I'm synched with RC2 and waiting for you to release. 0.96 is
already on the ftp, just not on SM. So fire away...

Daniel Vainsencher

=?ISO-8859-1?Q?G=F6ran_Hultgren?= <goran.hultgren at bluefish.se> wrote:
> Hi Daniel and all!
> 
> Sitting in front of the fire with typical swedish autumn outside (rain and
> cold), a warm cat curled up beside me and my brand new laptop on my knee. The
> only thing wrong with this set up is that the laptop runs XP, but hey...
> 
> Daniel, 0.95 sounds dandy - lots of fixes there!
> 
> [SNIP]
> > There was allegedly a situtation where things misbehaved when SM
> > couldn't find any servers. Goran, you blamed me. Bad, bad goran ;-)
> 
> :-) Well, I am not sure I blaed you - not finding the servers was probably a
> proxy/firewall problem in itself (I hope, haven't heard anymore from Alejandro)
> but the point was that SMLoader seemed to misbehave when starting up with an
> empty map - essentially it was a DNU when asking nil about it's name or
> something like that.
> 
> > well, can anyone give me a recipe to reproduce? disconnecting the
> > network cable doesn't do anything interesting.
> 
> Try temporarily renaming your "sm" directory to something else and then change
> "ServerList" in SMSqueakMap to #() or something (look at SMSqueakMap
> class>>initialize). Then you should clear out the singleton "Default" in
> SMSqueakMap and run "SMLoader open". If I am correct this would create a new
> empty map, try to update, fail on all servers and then start SMLoader.
> 
> I haven't tested it.
> 
> regards, Göran
> 
> Göran Hultgren, goran.hultgren at bluefish.se
> GSM: +46 70 3933950, http://www.bluefish.se
> \"Department of Redundancy department.\" -- ThinkGeek



More information about the Squeak-dev mailing list