[elephant-devel] Berkeley DB error: Invalid argument

Raja Ramachandran raja at 1to1card.com
Sat Mar 8 17:42:19 UTC 2008


On Saturday 08 March 2008 11:31:03 Ian Eslick wrote:
> When did you last update your repository (i.e. what version of the
> code are you using?)

ELEPHANT-0-9-1 - I got it from the darcs repo.
The system was a new install of ubuntu feisty - I'm trying it on another 
system now.


>
> 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.

The BDB version is 4.5 - the standard packages from the ubuntu repositories.


>
> 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
>
> _______________________________________________
> elephant-devel site list
> elephant-devel at common-lisp.net
> http://common-lisp.net/mailman/listinfo/elephant-devel



-- 
Raja Ramachandran
One To One Marketing Solutions
1005 Internationale Parkway, Suite 230
Woodridge, IL 60517
(630)-754-4800 x 102



More information about the elephant-devel mailing list