[elephant-devel] Defining a persistent class with a slot with an accessor invokes an error like "There is no class named CLASS-NAME."
Leslie P. Polzer
sky at viridian-project.de
Thu May 7 13:52:12 UTC 2009
On Thu, May 07, 2009 at 09:51:27PM +0900, Tomo Matsumoto wrote:
> With the latest codes from darcs, defining a persistent class with a
> slot with an accessor invokes an error like "There is no class named
> CLASS-NAME.".
>
> Here is an example.
>
> (open-store '(:BDB "/path/to/db"))
> (defpclass new-class () ((slot1 :accessor slot1)))
>
> ; There is no class named NEW-CLASS.
> ; [Condition of type SIMPLE-ERROR]
> ;
> ; Restarts:
> ; 0: [ABORT] Return to SLIME's top level.
> ; 1: [TERMINATE-THREAD] Terminate this thread (#<THREAD "worker"
> RUNNING {A99C9E9}>)
This works for me, but I recognize this error.
Did you do this with a clean (i.e. empty) db?
Leslie
More information about the elephant-devel
mailing list