Installer/metacello/squeak4.5 issue due to change of gemstone to gemtalksystems

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Installer/metacello/squeak4.5 issue due to change of gemstone to gemtalksystems

timrowledge
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; [hidden email]; http://www.rowledge.org/tim
Any program that runs right is obsolete.



Reply | Threaded
Open this post in threaded view
|

Re: Installer/metacello/squeak4.5 issue due to change of gemstone to gemtalksystems

Tobias Pape


Am 21.08.2013 um 21:08 schrieb tim Rowledge <[hidden email]>:

> 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.
>

We should, again, fix that for all Squeak 4.x

> tim
> --
> tim Rowledge; [hidden email]; http://www.rowledge.org/tim
> Any program that runs right is obsolete.
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Installer/metacello/squeak4.5 issue due to change of gemstone to gemtalksystems

Frank Shearar-3
On 21 August 2013 20:38, Tobias Pape <[hidden email]> wrote:

>
>
> Am 21.08.2013 um 21:08 schrieb tim Rowledge <[hidden email]>:
>
>> 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.
>>
>
> We should, again, fix that for all Squeak 4.x

It's a known issue with Squeak's Monticello, that it doesn't handle
redirects. Pharo's does. Someone just needs to get fed up enough to
fix it.

frank

>> tim
>> --
>> tim Rowledge; [hidden email]; http://www.rowledge.org/tim
>> Any program that runs right is obsolete.
>>
>>
>>
>

Reply | Threaded
Open this post in threaded view
|

MorphicDesigner (was Re: [squeak-dev] Installer/metacello/squeak4.5 issue due to change of gemstone to gemtalksystems)

timrowledge
In reply to this post by timrowledge
So around a month ago I reported problems when trying to load the MorphicDesigner
(https://www.hpi.uni-potsdam.de/hirschfeld/trac/SqueakCommunityProjects/wiki/designer) project. I tried it again this morning and aside from the rather long and windy process of installing metacello and then morphicdesigner it all went well.

MD is quite interesting. It's a kinda-traditional UI builder, in contrast to Chris Muller's 'Maui' project for example, but has some nice touches. There are quite a few extra classes loaded as part of the install and I have no idea right now if they're actually essential or not - is an animation framework really required for such a tool?  It's quite a nice framework though…

I wish I had time to really dig into both this and Maui, but since I don't I want to wave the flag a bit to see if someone else can be Tom Sawyered into evaluating them. Perhaps there are synergies that might encourage us to use a bit of both? Should we work towards making sure such a tool is fully supported as a standard item for Squeak?

tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
Klingon Code Warrior:- 1) "Behold, the keyboard of Kalis!  The greatest Klingon code warrior that ever lived!"