[Glass] Reconstruct a project from scratch with Metacello

Dale Henrichs dale.henrichs at gemtalksystems.com
Tue Jun 3 10:03:14 PDT 2014


Bruno,

With arguments in the stack and the message that is not understood, I can't
really tell what went wrong ...

It is not immediately obvious what could be going wrong ... The fact that
"it works in Jade" is suspicious because unless Jade brings in it's own
version of Gofer, I can't imagine why the above code would behave
differently when run in Jade.

Of course I have no idea in which environment you are attempting the load?
Topaz, GemTools, or a workspace in Jade?

Looking at Gofer>>basicReferencesIn:

  basicReferencesIn: aRepository
    ^ [ aRepository goferReferences asSortedCollection asArray ]
      on: GoferRepositoryError
      do: errorBlock

I really cannot understand how any of those messages would be
missing...wait ... MCFileBasedRepository>>goferReferences signals and
returns a GoferRepositoryError instead of a collection if an error occurs,
so if you are catching GoferRepositoryError and resuming, you could get the
type of MNU you are seeing, but I don't who are what would be catching and
resuming errors...

Dale


On Tue, Jun 3, 2014 at 7:12 AM, BrunoBB <smalltalk at adinet.com.uy> wrote:

> Hi,
>
> I have a project working ok under GemStone 3.1.0.4.
>
> After installing GemStone 3.1.0.5 in a clean Linux Centos, i want to
> install
> my packages.
>
> The seaside install script i used is this:
> https://github.com/glassdb/Seaside31
>
> Now i want to add my configurations but i got an error (see stack below):
> The versions of Monticello, Metacello, Seaside should be ok ?
> (https://github.com/glassdb/Seaside31).
> Gofer new
>     repository: 'http://ss3.gemstone.com/ss/XMIReader';
>     package: 'ConfigurationOfStateMachine-BrunoBB';
>     package: 'ConfigurationOfXMIFactory-BrunoBB';
>     package: 'ConfigurationOfXMIReader-BrunoBB';
>     load "this fails -see stack-"
>
> If i use Jade Monticello Browser i can load the package without problems.
>
> May be i'm doing something wrong or may be i loaded not the lastest version
> of some packages ?
>
> regards,
> Bruno
>
> Stack:
> MessageNotUnderstood >> defaultAction (envId 0) @2 line 3
> AbstractException >> _signalWith: (envId 0) @5 line 25
> AbstractException >> signal (envId 0) @2 line 47
> Object >> doesNotUnderstand: (envId 0) @9 line 10
> Object >> _doesNotUnderstand:args:envId:reason: (envId 0) @7 line 12
> [] in  Gofer >> basicReferencesIn: (envId 0) @2 line 2
> ExecBlock >> on:do: (envId 0) @3 line 42
> Gofer >> basicReferencesIn: (envId 0) @2 line 3
> [] in  Gofer >> allResolvedIn: (envId 0) @2 line 5
> AbstractDictionary >> at:ifAbsentPut: (envId 0) @7 line 14
> Gofer >> allResolvedIn: (envId 0) @5 line 5
> [] in  Gofer >> allResolved (envId 0) @2 line 7
> Collection >> do: (envId 0) @5 line 10
> Gofer >> allResolved (envId 0) @5 line 7
> GoferReference >> resolveAllWith: (envId 0) @2 line 4
> GoferReference >> resolveWith: (envId 0) @2 line 5
> [] in  Gofer >> resolved (envId 0) @2 line 4
> SequenceableCollection >> collect: (envId 0) @9 line 16
> Gofer >> resolved (envId 0) @3 line 4
> GoferLoad >> initializeOn: (envId 0) @3 line 3
> GoferOperation class >> on: (envId 0) @3 line 2
> Gofer >> execute:do: (envId 0) @3 line 3
> Gofer >> execute: (envId 0) @2 line 2
> Gofer >> load (envId 0) @2 line 4
> Executed Code            @7 line 6
> GsNMethod class >> _gsReturnToC (envId 0) @1 line 1
>
>
>
>
> --
> View this message in context:
> http://forum.world.st/Reconstruct-a-project-from-scratch-with-Metacello-tp4761506.html
> Sent from the GLASS mailing list archive at Nabble.com.
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> http://lists.gemtalksystems.com/mailman/listinfo/glass
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20140603/8d2e1ac6/attachment-0001.html>


More information about the Glass mailing list