<br><br><div><span class="gmail_quote">On 10/4/07, <b class="gmail_sendername">Robert L. Read</b> <<a href="mailto:read@robertlread.net">read@robertlread.net</a>> wrote:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
Dear Slobodan,<br><br>I suspect that this Lispworks dependent-bug, since it appears to be in<br>the serializer, and related to type-dependent information.<br><br>Have you run the test suite? I suspect that seeing which tests fail or
<br>succeed would give us a good indication. An example from which you can<br>prune out just what you need can be found in "tests/RUNTEST.lisp" in the<br>distribution.</blockquote><div><br>I didn't run the test but will do that and post the findings.
</div><br><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
Also, splease specify what version you are using, and if you are using<br>the postmodern interface to postgres, or the generic one (called<br>cl-sql). The postmodern interface is not offically released yet, but it<br>is much better, and I have been using for some months
</blockquote><div><br>I'm using generic clsql interface with 0.9 version downloaded from <a href="http://common-lisp.net/project/elephant/dist/elephant-0.9.tar.gz">http://common-lisp.net/project/elephant/dist/elephant-0.9.tar.gz
</a><br>plus prebuilt Elephant dlls. I will try to open store with postmodern and see how it goes. <br> <br>thanks<br>Bobi<br></div><br><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
.<br><br><br><br><br><br>On Wed, 2007-10-03 at 23:25 +0200, Slobodan Blazeski wrote:<br>> I just installed elephant<br>> 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:
<br>> ELE-USER 45 : 4 > (add-to-root "my key" "my value") .<br>> Any ideas ?<br>> thanks<br>> Slobodan<br>><br>> Error: #\Tab is not of type INTEGER.<br>> 1 (abort) Return to level 4.
<br>> 2 Return to debug level 4.<br>> 3 Return to level 3.<br>> 4 Return to debug level 3.<br>> 5 Return to level 2.<br>> 6 Return to debug level 2.<br>> 7 Return to level 1.<br>> 8 Return to debug level 1.
<br>> 9 Return to level 0.<br>> 10 Return to top loop level 0.<br>><br>> Type :b for backtrace, :c <option number> to proceed, or :? for other<br>> options<br>><br>> ELE-USER 46 : 5 > :b<br>> Call to ELEPHANT-MEMUTIL::BUFFER-READ-BYTE-VECTOR
<br>> Call to ELEPHANT::SERIALIZE-TO-BASE64-STRING<br>> Call to DB-CLSQL::SQL-ADD-TO-CLCN<br>> Call to EVAL<br>> Call to INVOKE-DEBUGGER<br>> Call to ELEPHANT-MEMUTIL::BUFFER-READ-BYTE-VECTOR<br>> Call to ELEPHANT::SERIALIZE-TO-BASE64-STRING
<br>> Call to DB-CLSQL::SQL-FROM-CLCN-EXISTSP<br>> Call to (METHOD ELEPHANT::PERSISTENT-SLOT-BOUNDP<br>> (DB-CLSQL::SQL-STORE-CONTROLLER T T))<br>> Call to (HARLEQUIN-COMMON-LISP:SUBFUNCTION 1<br>> ELEPHANT::INITIALIZE-PERSISTENT-SLOTS)
<br>> Call to (METHOD ELEPHANT::EXECUTE-TRANSACTION<br>> (DB-CLSQL::SQL-STORE-CONTROLLER T))<br>> Call to (METHOD SHARED-INITIALIZE :AROUND (PERSISTENT-OBJECT T))<br>> Call to CLOS::METHOD-COMBINATION-TEMPLATE
<br>> Call to CLOS::METHOD-COMBINATION-TEMPLATE<br>> Call to CLOS::MAKE-INSTANCE-FROM-CLASS-1<br>> Call to SETQ<br>> Call to EVAL<br>> Call to INVOKE-DEBUGGER<br>> Call to ELEPHANT-MEMUTIL::BUFFER-READ-BYTE-VECTOR
<br>> Call to ELEPHANT::SERIALIZE-TO-BASE64-STRING<br>> Call to DB-CLSQL::SQL-ADD-TO-CLCN<br>> Call to EVAL<br>> Call to INVOKE-DEBUGGER<br>> Call to ELEPHANT-MEMUTIL::BUFFER-READ-BYTE-VECTOR<br>> Call to ELEPHANT::SERIALIZE-TO-BASE64-STRING
<br>> Call to DB-CLSQL::SQL-FROM-CLCN-EXISTSP<br>> Call to ROOT-EXISTSP<br>> Call to EVAL<br>> Call to INVOKE-DEBUGGER<br>> Call to ELEPHANT-MEMUTIL::BUFFER-READ-BYTE-VECTOR<br>> Call to ELEPHANT::SERIALIZE-TO-BASE64-STRING
<br>> Call to DB-CLSQL::SQL-FROM-CLCN-EXISTSP<br>> Call to ROOT-EXISTSP<br>> Call to EVAL<br>> Call to CAPI::CAPI-TOP-LEVEL-FUNCTION<br>> Call to CAPI::INTERACTIVE-PANE-TOP-LOOP<br>> Call to (HARLEQUIN-COMMON-LISP:SUBFUNCTION MP::PROCESS-SG-FUNCTION
<br>> MP::INITIALIZE-PROCESS-STACK)<br>><br>><br>> _______________________________________________<br>> elephant-devel site list<br>> <a href="mailto:elephant-devel@common-lisp.net">elephant-devel@common-lisp.net
</a><br>> <a href="http://common-lisp.net/mailman/listinfo/elephant-devel">http://common-lisp.net/mailman/listinfo/elephant-devel</a><br><br>_______________________________________________<br>elephant-devel site list<br>
<a href="mailto:elephant-devel@common-lisp.net">elephant-devel@common-lisp.net</a><br><a href="http://common-lisp.net/mailman/listinfo/elephant-devel">http://common-lisp.net/mailman/listinfo/elephant-devel</a><br></blockquote>
</div><br>