[squeak-dev] Installer/metacello/squeak4.5 issue due to change of gemstone to gemtalksystems

tim Rowledge tim at rowledge.org
Wed Aug 21 19:08:36 UTC 2013


Maybe this is already fixed and I simply don't have an up to date enough image; but whatever.

I took a quick lood at the interesting looking DicThesaurusREx page and wondered what elsse might be on offer. I noticed the Morphic Designer, something I hope will be rather useful.

When trying to load it I had fun. The suggested incantation is

(Installer mc http: 'http://www.hpi.uni-potsdam.de/hirschfeld/squeaksource/')
   project: 'MetacelloRepository';
   install: 'ConfigurationOfDesigner'.
(Smalltalk at: #ConfigurationOfDesigner) load.

But it fails rather annoyingly - ie without actually giving you much helpful info - when attempting to #ensureMetacello. This is simply because the URL needs to change in 
ConfigurationOfDesigner class>ensureMetacelloBaseConfiguration

	Smalltalk
		at: #MetacelloBaseConfiguration
		ifAbsent: [ 
			| repository version |
			repository := MCHttpRepository location: 'http://seaside.gemtalksystems.com/ss/metacello' user: '' password: ''. **<--- new URL**
			repository
				versionReaderForFileNamed: 'Metacello-Base-DaleHenrichs.2.mcz'
				do: [ :reader | 
					version := reader version.
					version load.
					version workingCopy repositoryGroup addRepository: repository ] ]

The code reading the  http socket response doesn't handle the relocation notification. At the least it would be helpful for it to report the problem, better of course to handle it and redirect.

tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Any program that runs right is obsolete.




More information about the Squeak-dev mailing list