--
You received this message because you are subscribed to the Google Groups "weblocks" group.
To post to this group, send email to webl...@googlegroups.com.
To unsubscribe from this group, send email to weblocks+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/weblocks?hl=en.
> Can you post exactly where your defstore form occurs? And the toplevel that
> you run when the core is loaded?
>
(defun resume-from-save-lisp-and-die ()
(initialize-environment)
(start-skynet.web))
(defun initialize-environment (&key developmentp)
(skynet.consola::load-configuration)
(if (not developmentp)
(progn
(disable-sql-log)
(setf weblocks:*catch-errors-p* t))
(progn
(enable-sql-log)
(setf weblocks:*catch-errors-p* nil)
(when (probe-file *local-config-file*)
(load *local-config-file*))))
(defstore *perec-store* :perec
`(:host ,skynet.bd:*skynet-database-host*
:database ,skynet.bd:*skynet-database-name*
:user-name ,skynet.bd:*skynet-database-user*
:password ,skynet.bd:*skynet-database-password*)))
(defun start-skynet.web (&rest args)
"Starts the application by calling `start-weblocks' with appropriate
arguments."
(apply #'start-weblocks args)
(setf *database* weblocks:*default-store*)
(start-webapp 'skynet.web-root :public-files-path *public-files-path*))
> Perhaps try saving the image without having started weblocks?
>
That's what we have done :)
Greets.
Rafael J. Alcántara Pérez.
--