[elephant-devel] add-to-root problem
Robert L. Read
read at robertlread.net
Thu Oct 4 02:21:47 UTC 2007
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.
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.
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
More information about the elephant-devel
mailing list