Hi,

why don't you just take off or correct the Example Usage part of the project homepage?

Its probably just this line CL-USER> (open-store "/home/ben/testdb").

People might be tempted to look there first then into the tutorial.

Bye,

  Kilian

Am 05.10.2006 um 17:13 schrieb Robert L. Read:

On Thu, 2006-10-05 at 01:23 -0700, Red Daly wrote:
however, I am unable to open a store according to the instructions in
the two tutorials on the common-lisp.net project site.  Here is an
example attempt:

* (open-store "store")
Dear Team,
    This syntax is (very) obsolete, as Ian has pointed out.  I don't think this example occurs in
the current tutorials for elephant itself (here: http://common-lisp.net/project/elephant/doc/), but
does occur in the "with-araneida" tutorial: http://common-lisp.net/project/elephant/with-araneida/
That tutorial is about two years out of date; I think it is still valuable for showing an example
use of Elephant for a small but meaningful application.  It is not really within my power in the
short term to repair it (although Ian and I have discussed creating a contemporary version of
something similar, and we would welcome a good "example app" from this list.)
    However, it is terrible that it leaves unmarked examples that are out of date and wasted
your time.  I'm sorry about that and will go clearly indicate the obsolete nature of that tutorial.
(If you find a bad example in the elephant tutorial, please inform me --- I ran all of those examples
by hand before the 0.6.0 release, but I have an extraordinary ability to step in a bucket.)


debugger invoked on a SIMPLE-ERROR in thread
#<THREAD "initial thread" {A7B93E1}>:
  The assertion (CONSP ELEPHANT::SPEC) failed.

Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [CONTINUE] Retry assertion.
  1: [ABORT   ] Exit debugger, returning to top level.

(SB-KERNEL:ASSERT-ERROR (CONSP ELEPHANT::SPEC) NIL NIL)
0] backtrace

0: (SB-KERNEL:ASSERT-ERROR (CONSP ELEPHANT::SPEC) NIL NIL)
1: (OPEN-STORE "store" :RECOVER NIL :RECOVER-FATAL NIL :THREAD T)
2: (SB-INT:EVAL-IN-LEXENV (OPEN-STORE "store") #<NULL-LEXENV>)
3: (SB-EXT:INTERACTIVE-EVAL (OPEN-STORE "store"))
4: (SB-IMPL::REPL-FUN NIL)
5: ((LAMBDA ()))
6: ((LAMBDA ()))
7: (SB-IMPL::%WITH-REBOUND-IO-SYNTAX #<CLOSURE (LAMBDA #) {A7F28FD}>)
8: (SB-IMPL::TOPLEVEL-REPL NIL)
9: (SB-IMPL::TOPLEVEL-INIT)
10: ((LABELS SB-IMPL::RESTART-LISP))


I would appreciate any help in getting elephant up and running.  I am
running SBCL 0.9.8, ubuntu dapper, and bdb 4.3 (apt-installable
version).  I will gladly supply more information to help determine the
error of my ways.  I can't wait to try out elephant!

Thanks sincerely,
red daly

_______________________________________________
elephant-devel site list
elephant-devel@common-lisp.net
http://common-lisp.net/mailman/listinfo/elephant-devel
_______________________________________________
elephant-devel site list

_______________________________________________
elephant-devel site list
elephant-devel@common-lisp.net
http://common-lisp.net/mailman/listinfo/elephant-devel

Reply via email to