[elephant-devel] Issues adding to root

aditya siram aditya.siram at gmail.com
Mon Nov 3 20:29:24 UTC 2008


I am having issues with the serializer and sbcl's alien types. A
session transcript with a trace on
ELEPHANT-SERIALIZER2::SERIALIZE-TO-UTF8 is below:

CL-USER> (elephant:open-store '(:CLSQL (:SQLITE3 "elephantTest.db")))
#<SQL-STORE-CONTROLLER (SQLITE3 elephantTest.db)>
CL-USER> (elephant:add-to-root "a" "1")
  0: (ELEPHANT-SERIALIZER2::SERIALIZE-TO-UTF8 "1"
                                              #S(ELEPHANT-MEMUTIL:BUFFER-STREAM
                                                 :BUFFER
#<SB-ALIEN-INTERNALS:ALIEN-VALUE :SAP #X08088C28 :TYPE (*

                                          (UNSIGNED

                                           8))>
                                                 :SIZE 0
                                                 :POSITION 0
                                                 :LENGTH 10))
The value
  #<SB-ALIEN-INTERNALS:ALIEN-VALUE :SAP #X08088C28 :TYPE (*
                                                          (UNSIGNED
                                                           8))>
is not of type
  SYSTEM-AREA-POINTER.
   [Condition of type TYPE-ERROR]

Thanks for your help ...
deech




More information about the elephant-devel mailing list