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
On 22 Nov 2018, at 17:51, iu136 via Pharo-users <pharo-users@lists.pharo.org> wrote:
From: iu136 <iu136@yahoo.com> Subject: can't debug TinyBlog in the Pharo MOOC Date: 22 November 2018 at 17:51:12 CET To: pharo-users@lists.pharo.org
hi guys I'm following the Pharo MOOC and I'm at Week 4. the other day, I was trying to implement TinyBlog: Data Persistency using Voyage and Mongo, when I tried to compile the code, I've got an Error. the title of Error says: "MessageNotUnderstood: receiver of "save:" is nil", and it refers to TBMBlog>>writeBlogPost.
TBMBlog>>writeBlogPost: aTBMPost posts add: aTBMPost. aTBMPost save. self save .
thanks for your answers!
-- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html