> On 22 Nov 2018, at 21:48, iu136 via Pharo-users <[email protected]> 
> wrote:
> 
> 
> From: iu136 <[email protected]>
> Subject: Re: can't debug TinyBlog in the Pharo MOOC
> Date: 22 November 2018 at 21:48:52 CET
> To: [email protected]
> 
> 
> EstebanLM wrote
>> Hi, 
>> 
>> You are missing to initialise the Voyage repository. 
>> I don’t know how is explained in the Mooc, but you will probably need to
>> do something like: 
>> 
>> VOMemoryRepository new enableSingleton.
>> 
>> Cheers,
>> Esteban
> 
> Hi Esteban. 
> 
> actually I'm using an External Mongo database and in the MOOC the
> initialization of Voyage Mongo repository, is done like: 
> 
> TBBlog class >> initializeLocalhostMongoDB
>    | repository |
>    repository := VOMongoRepository database: 'tinyblog'.
>    repository enableSingleton.
> 
> TBBlog class >> reset
>    self initializeLocalhostMongoDB
> 
> and in my code I'm doing exactly like above. but interestingly when I wanted
> to reset the cache of Voyage by:
>     VORepository current reset
> 
> again I've got another Error saying: "MessageNotUnderstood: receiver of
> "reset" is nill”.

Which again, should means you never executed initializeLocalhostMongoDB method.
Can you try doing: 

TBBlock initializeLocalhostMongoDB. 

Esteban

> 
> thanks anyway!
> 
> 
> 
> --
> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
> 
> 
> 

Reply via email to