[elephant-devel] add-to-root problem

Slobodan Blazeski slobodan.blazeski at gmail.com
Thu Oct 4 08:52:27 UTC 2007


On 10/4/07, Robert L. Read <read at robertlread.net> wrote:
>
> Dear Slobodan,
>
> I suspect that this Lispworks dependent-bug, since it appears to be in
> the serializer, and related to type-dependent information.
>
> Have you run the test suite?  I suspect that seeing which tests fail or
> succeed would give us a good indication.  An example from which you can
> prune out just what you need can be found in "tests/RUNTEST.lisp" in the
> distribution.


I didn't run the test but will do that and post the findings.

Also, splease specify what version you are using, and if you are using
> the postmodern interface to postgres, or the generic one (called
> cl-sql).  The postmodern interface is not offically released yet, but it
> is much better, and I have been using for some months


I'm using generic clsql interface with  0.9 version downloaded from
http://common-lisp.net/project/elephant/dist/elephant-0.9.tar.gz
plus
prebuilt Elephant dlls. I will try to open store with postmodern and
see how it goes.


thanks
Bobi

.
>
>
>
>
>
> On Wed, 2007-10-03 at 23:25 +0200, Slobodan Blazeski wrote:
> > I just installed elephant
> > under lispworks windows with postgre as backened. Succesfully opened a
> store and I'm trying to fallow the tutorial. However I am unable to add
> elments to the root. Always get the same Error: #\something  is not of type
> INTEGER like below:
> > ELE-USER 45 : 4 > (add-to-root "my key" "my value") .
> > Any ideas ?
> > thanks
> > Slobodan
> >
> > Error: #\Tab is not of type INTEGER.
> > 1 (abort) Return to level 4.
> > 2 Return to debug level 4.
> > 3 Return to level 3.
> > 4 Return to debug level 3.
> > 5 Return to level 2.
> > 6 Return to debug level 2.
> > 7 Return to level 1.
> > 8 Return to debug level 1.
> > 9 Return to level 0.
> > 10 Return to top loop level 0.
> >
> > Type :b for backtrace, :c <option number> to proceed, or :? for other
> > options
> >
> > ELE-USER 46 : 5 > :b
> > Call to ELEPHANT-MEMUTIL::BUFFER-READ-BYTE-VECTOR
> > Call to ELEPHANT::SERIALIZE-TO-BASE64-STRING
> > Call to DB-CLSQL::SQL-ADD-TO-CLCN
> > Call to EVAL
> > Call to INVOKE-DEBUGGER
> > Call to ELEPHANT-MEMUTIL::BUFFER-READ-BYTE-VECTOR
> > Call to ELEPHANT::SERIALIZE-TO-BASE64-STRING
> > Call to DB-CLSQL::SQL-FROM-CLCN-EXISTSP
> > Call to (METHOD ELEPHANT::PERSISTENT-SLOT-BOUNDP
> > (DB-CLSQL::SQL-STORE-CONTROLLER T T))
> > Call to (HARLEQUIN-COMMON-LISP:SUBFUNCTION 1
> > ELEPHANT::INITIALIZE-PERSISTENT-SLOTS)
> > Call to (METHOD ELEPHANT::EXECUTE-TRANSACTION
> > (DB-CLSQL::SQL-STORE-CONTROLLER T))
> > Call to (METHOD SHARED-INITIALIZE :AROUND (PERSISTENT-OBJECT T))
> > Call to CLOS::METHOD-COMBINATION-TEMPLATE
> > Call to CLOS::METHOD-COMBINATION-TEMPLATE
> > Call to CLOS::MAKE-INSTANCE-FROM-CLASS-1
> > Call to SETQ
> > Call to EVAL
> > Call to INVOKE-DEBUGGER
> > Call to ELEPHANT-MEMUTIL::BUFFER-READ-BYTE-VECTOR
> > Call to ELEPHANT::SERIALIZE-TO-BASE64-STRING
> > Call to DB-CLSQL::SQL-ADD-TO-CLCN
> > Call to EVAL
> > Call to INVOKE-DEBUGGER
> > Call to ELEPHANT-MEMUTIL::BUFFER-READ-BYTE-VECTOR
> > Call to ELEPHANT::SERIALIZE-TO-BASE64-STRING
> > Call to DB-CLSQL::SQL-FROM-CLCN-EXISTSP
> > Call to ROOT-EXISTSP
> > Call to EVAL
> > Call to INVOKE-DEBUGGER
> > Call to ELEPHANT-MEMUTIL::BUFFER-READ-BYTE-VECTOR
> > Call to ELEPHANT::SERIALIZE-TO-BASE64-STRING
> > Call to DB-CLSQL::SQL-FROM-CLCN-EXISTSP
> > Call to ROOT-EXISTSP
> > Call to EVAL
> > Call to CAPI::CAPI-TOP-LEVEL-FUNCTION
> > Call to CAPI::INTERACTIVE-PANE-TOP-LOOP
> > Call to (HARLEQUIN-COMMON-LISP:SUBFUNCTION MP::PROCESS-SG-FUNCTION
> > MP::INITIALIZE-PROCESS-STACK)
> >
> >
> > _______________________________________________
> > elephant-devel site list
> > elephant-devel at common-lisp.net
> > http://common-lisp.net/mailman/listinfo/elephant-devel
>
> _______________________________________________
> elephant-devel site list
> elephant-devel at common-lisp.net
> http://common-lisp.net/mailman/listinfo/elephant-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/elephant-devel/attachments/20071004/2f232ccc/attachment.html>


More information about the elephant-devel mailing list