[elephant-devel] Berkeley DB error: Invalid argument

Ian Eslick eslick at media.mit.edu
Sat Mar 8 17:31:03 UTC 2008


When did you last update your repository (i.e. what version of the  
code are you using?)

Also, which version of BDB are you using?  You have to set the version  
in the my-config.sexp now.  We support 4.5 and 4.6 and default to  
4.5.  Typically it's a version mismatch that causes this error.

Ian

On Mar 8, 2008, at 12:27 PM, John Leuner wrote:

> How did you install it? Did you install libdb?
>
> John
>
>
> On Sat, 2008-03-08 at 11:01 -0600, Raja Ramachandran wrote:
>> Hello -
>>
>> I keep getting this error when I open an existing store or just  
>> when I open a
>> new store:
>>
>>
>> SVC> (elephant:open-store '(:BDB "/home/raja/dev/"))
>>
>> Berkeley DB error: Invalid argument
>>   [Condition of type BDB-DB-ERROR]
>>
>> Restarts:
>> 0: [ABORT] Return to SLIME's top level.
>> 1: [ABORT] Exit debugger, returning to top level.
>>
>> Backtrace:
>>  0: (DB-BDB::DB-ENV-SET-FLAGS #<unavailable argument> #<unavailable
>> argument>)
>>      Locals:
>>        SB-DEBUG::ARG-0 = :<NOT-AVAILABLE>
>>        SB-DEBUG::ARG-1 = :<NOT-AVAILABLE>
>>        SB-DEBUG::ARG-2 = :<NOT-AVAILABLE>
>>  1: ((SB-PCL::FAST-METHOD ELEPHANT::OPEN-CONTROLLER
>> (DB-BDB::BDB-STORE-CONTROLLER)) #<unavailable lambda list>)
>>      [No Locals]
>>  2: (OPEN-STORE (:BDB "/home/raja/dev/"))
>>      Locals:
>>        SB-DEBUG::ARG-0 = 1
>>        SB-DEBUG::ARG-1 = (:BDB "/home/raja/dev/")
>>  3: (SB-INT:SIMPLE-EVAL-IN-LEXENV (OPEN-STORE (QUOTE
>> (:BDB "/home/raja/dev/"))) #<NULL-LEXENV>)
>>
>>
>> This is a ubuntu feisty machine running SBCL 1.0.12. I pulled the  
>> elephant
>> package from:
>>
>> darcs get --tag=ELEPHANT-0-9-1
>> http://www.common-lisp.net/project/elephant/darcs/elephant
>>
>>
>> Please let me know if you need any more information and any help in  
>> this would
>> be appreciated.
>>
>> Thanks
>> Raja R.
>> _______________________________________________
>> 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




More information about the elephant-devel mailing list