Re: [elephant-devel] sqlite backend, "Error 5 / database is locked"

2007-07-25 Thread woei
> Do you know from within what operation or transaction this is occuring? I had these error messages: While accessing database # with expression "SELECT VALUE FROM KEYVALUE WHERE ((CLCTN_ID = 0) AND (KEY = '...'))": Error 5 / database is locked has occurred. While accessing database # w

Re: [elephant-devel] sqlite backend, "Error 5 / database is locked"

2007-07-25 Thread woei
В сообщении от 25 июля 2007 18:17 Ian Eslick написал(a): > I think that Robert implemented an approach where each thread > allocated its own handle to the DB. However he should verify when he > has a moment. I think this won't help. from sqlite wiki: Note that an SQLITE_LOCKED error is distinct

Re: [elephant-devel] sqlite backend, "Error 5 / database is locked"

2007-07-25 Thread woei
В сообщении от 25 июля 2007 17:44 Ian Eslick написал(a): > Are you using the SQLite data store in a multi-threaded application?   > Robert, how did we resolve threading for CL-SQL data stores?  This   > sounds like a conflict where a second thread is accessing a db while   > the first thread has th

[elephant-devel] sqlite backend, "Error 5 / database is locked"

2007-07-25 Thread woei
With sqlite backend from time to time I have error "Error 5 / database is locked" I have workarounded this by wrapping calls to cl-sql with (defmacro wrapper-submacro (name &rest q) `(loop (handler-case (return (,name ,@q)) (clsql:sql-condition () (sleep .05)))

Re: [elephant-devel] error in DESERIALIZE-FROM-BASE64-STRING

2007-06-19 Thread woei
> RC1 incorrectly tagged databases with 0 6 1 instead of 0 9 0. This > is fixed in the release version and in HEAD. > ... > 4) Open the DB, rewrite the version number, close it and open it again. I did $ sqlite sqlite.db sqlite> update VERSION set DBVERSION='(0 9 0)'; and it seems to me everyth

[elephant-devel] error in DESERIALIZE-FROM-BASE64-STRING

2007-06-19 Thread woei
I am trying to do (ELEPHANT::DESERIALIZE-FROM-BASE64-STRING "DwMNCREAAABTUUwtSU5ERVhFRC1CVFJFRQkIREItQ0xTUUw=" elephant:*store-controller*) and have error with this backtrace 0: (INTERN NIL #) Locals: SB-DEBUG::ARG-0 = 2 SB-DEBUG::ARG-1 = NIL SB-DEBUG::A

Re: [elephant-devel] bdb licencing

2007-05-24 Thread woei
В сообщении от 23 мая 2007 23:45 Ian Eslick написал(a): > Yes, that is my understanding and one of the primary motivations for the > SQL backend and forthcoming lisp backends. -Ian Sent via BlackBerry from > T-Mobile Thanks I am switching to sql backend :)

[elephant-devel] bdb licencing

2007-05-23 Thread woei
I have read http://www.oracle.com/technology/software/products/berkeley-db/htdocs/licensing.html and http://www.oracle.com/technology/software/products/berkeley-db/htdocs/oslicense.html Am I right that I can't use elephant+bdb in closed source commercial application without purchasing licence? __