Ok, I think I solved it. Apart from removing everything that has to do with the sandbox-store, I had to remove (defstore *scratch-store* :memory) in stores.lisp. For me it was not obvious that I had to do that. Moreover it says in stores.lisp that the last defstore is the standard one. I interpret that as the one which will be the selected one. Consequently, the scratch-store should be ignored since it comes before the prevalence-store. Can you please add that to the README file?
Another thing that is strange is that I have to restart slime in order for the change, i.e. commenting out the scratch-store, to have any effect. Should it not be enough by invoking (asdf:operate 'asdf:load-op :weblocks-demo)? Thanks, Mikael Den måndagen den 9:e april 2012 kl. 11:49:36 UTC+2 skrev Mikael Andersson: > > Can someone please help point me in the right direction? I suspect that > the answer to my question is quite easy, i.e. entails small changes to get > it work, provided you know how to do. > > Thanks in advance. > > Mikael > > Den onsdagen den 4:e april 2012 kl. 11:29:32 UTC+2 skrev Mikael Andersson: >> >> I have not been able to make it persistent and would much appreciate some >> help with this. >> >> The README says: >> >> "To see the demo be persistent across different runs of the server, >> comment out every reference to the sandbox store, and in cases where >> simply commenting them out won't work (i.e. (find-persistent-objects >> (sandbox-store) ...)) replace (sandbox-store) with >> *prevalence-store*" >> >> Should it not be enough to make the following changes? >> >> Comment out (init-sandbox-store) in: >> init-session.lisp >> >> Replaced sandbox-store with *prevalence-store* in: >> src/model/company.lisp >> >> Thanks, >> >> Mikael >> > > Den onsdagen den 4:e april 2012 kl. 11:29:32 UTC+2 skrev Mikael Andersson: >> >> I have not been able to make it persistent and would much appreciate some >> help with this. >> >> The README says: >> >> "To see the demo be persistent across different runs of the server, >> comment out every reference to the sandbox store, and in cases where >> simply commenting them out won't work (i.e. (find-persistent-objects >> (sandbox-store) ...)) replace (sandbox-store) with >> *prevalence-store*" >> >> Should it not be enough to make the following changes? >> >> Comment out (init-sandbox-store) in: >> init-session.lisp >> >> Replaced sandbox-store with *prevalence-store* in: >> src/model/company.lisp >> >> Thanks, >> >> Mikael >> > > Den onsdagen den 4:e april 2012 kl. 11:29:32 UTC+2 skrev Mikael Andersson: >> >> I have not been able to make it persistent and would much appreciate some >> help with this. >> >> The README says: >> >> "To see the demo be persistent across different runs of the server, >> comment out every reference to the sandbox store, and in cases where >> simply commenting them out won't work (i.e. (find-persistent-objects >> (sandbox-store) ...)) replace (sandbox-store) with >> *prevalence-store*" >> >> Should it not be enough to make the following changes? >> >> Comment out (init-sandbox-store) in: >> init-session.lisp >> >> Replaced sandbox-store with *prevalence-store* in: >> src/model/company.lisp >> >> Thanks, >> >> Mikael >> > > Den onsdagen den 4:e april 2012 kl. 11:29:32 UTC+2 skrev Mikael Andersson: >> >> I have not been able to make it persistent and would much appreciate some >> help with this. >> >> The README says: >> >> "To see the demo be persistent across different runs of the server, >> comment out every reference to the sandbox store, and in cases where >> simply commenting them out won't work (i.e. (find-persistent-objects >> (sandbox-store) ...)) replace (sandbox-store) with >> *prevalence-store*" >> >> Should it not be enough to make the following changes? >> >> Comment out (init-sandbox-store) in: >> init-session.lisp >> >> Replaced sandbox-store with *prevalence-store* in: >> src/model/company.lisp >> >> Thanks, >> >> Mikael >> > > Den onsdagen den 4:e april 2012 kl. 11:29:32 UTC+2 skrev Mikael Andersson: >> >> I have not been able to make it persistent and would much appreciate some >> help with this. >> >> The README says: >> >> "To see the demo be persistent across different runs of the server, >> comment out every reference to the sandbox store, and in cases where >> simply commenting them out won't work (i.e. (find-persistent-objects >> (sandbox-store) ...)) replace (sandbox-store) with >> *prevalence-store*" >> >> Should it not be enough to make the following changes? >> >> Comment out (init-sandbox-store) in: >> init-session.lisp >> >> Replaced sandbox-store with *prevalence-store* in: >> src/model/company.lisp >> >> Thanks, >> >> Mikael >> > Den måndagen den 9:e april 2012 kl. 11:49:36 UTC+2 skrev Mikael Andersson: > > Can someone please help point me in the right direction? I suspect that > the answer to my question is quite easy, i.e. entails small changes to get > it work, provided you know how to do. > > Thanks in advance. > > Mikael > > Den onsdagen den 4:e april 2012 kl. 11:29:32 UTC+2 skrev Mikael Andersson: >> >> I have not been able to make it persistent and would much appreciate some >> help with this. >> >> The README says: >> >> "To see the demo be persistent across different runs of the server, >> comment out every reference to the sandbox store, and in cases where >> simply commenting them out won't work (i.e. (find-persistent-objects >> (sandbox-store) ...)) replace (sandbox-store) with >> *prevalence-store*" >> >> Should it not be enough to make the following changes? >> >> Comment out (init-sandbox-store) in: >> init-session.lisp >> >> Replaced sandbox-store with *prevalence-store* in: >> src/model/company.lisp >> >> Thanks, >> >> Mikael >> > > Den onsdagen den 4:e april 2012 kl. 11:29:32 UTC+2 skrev Mikael Andersson: >> >> I have not been able to make it persistent and would much appreciate some >> help with this. >> >> The README says: >> >> "To see the demo be persistent across different runs of the server, >> comment out every reference to the sandbox store, and in cases where >> simply commenting them out won't work (i.e. (find-persistent-objects >> (sandbox-store) ...)) replace (sandbox-store) with >> *prevalence-store*" >> >> Should it not be enough to make the following changes? >> >> Comment out (init-sandbox-store) in: >> init-session.lisp >> >> Replaced sandbox-store with *prevalence-store* in: >> src/model/company.lisp >> >> Thanks, >> >> Mikael >> > > Den onsdagen den 4:e april 2012 kl. 11:29:32 UTC+2 skrev Mikael Andersson: >> >> I have not been able to make it persistent and would much appreciate some >> help with this. >> >> The README says: >> >> "To see the demo be persistent across different runs of the server, >> comment out every reference to the sandbox store, and in cases where >> simply commenting them out won't work (i.e. (find-persistent-objects >> (sandbox-store) ...)) replace (sandbox-store) with >> *prevalence-store*" >> >> Should it not be enough to make the following changes? >> >> Comment out (init-sandbox-store) in: >> init-session.lisp >> >> Replaced sandbox-store with *prevalence-store* in: >> src/model/company.lisp >> >> Thanks, >> >> Mikael >> > > Den onsdagen den 4:e april 2012 kl. 11:29:32 UTC+2 skrev Mikael Andersson: >> >> I have not been able to make it persistent and would much appreciate some >> help with this. >> >> The README says: >> >> "To see the demo be persistent across different runs of the server, >> comment out every reference to the sandbox store, and in cases where >> simply commenting them out won't work (i.e. (find-persistent-objects >> (sandbox-store) ...)) replace (sandbox-store) with >> *prevalence-store*" >> >> Should it not be enough to make the following changes? >> >> Comment out (init-sandbox-store) in: >> init-session.lisp >> >> Replaced sandbox-store with *prevalence-store* in: >> src/model/company.lisp >> >> Thanks, >> >> Mikael >> > > Den onsdagen den 4:e april 2012 kl. 11:29:32 UTC+2 skrev Mikael Andersson: >> >> I have not been able to make it persistent and would much appreciate some >> help with this. >> >> The README says: >> >> "To see the demo be persistent across different runs of the server, >> comment out every reference to the sandbox store, and in cases where >> simply commenting them out won't work (i.e. (find-persistent-objects >> (sandbox-store) ...)) replace (sandbox-store) with >> *prevalence-store*" >> >> Should it not be enough to make the following changes? >> >> Comment out (init-sandbox-store) in: >> init-session.lisp >> >> Replaced sandbox-store with *prevalence-store* in: >> src/model/company.lisp >> >> Thanks, >> >> Mikael >> > -- You received this message because you are subscribed to the Google Groups "weblocks" group. To view this discussion on the web visit https://groups.google.com/d/msg/weblocks/-/P7L4eGWxBEEJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/weblocks?hl=en.
