Re: bsddb3 thread problem

2008-04-02 Thread Nick Craig-Wood
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Using threads with bsddb3.  I spent weeks trying to get it to behave > > when threading.  I gave up in the end and changed to sqlite :-( > > > So does it mean that I will have to use threading locks around access > methods? or that will also fai

Re: bsddb3 thread problem

2008-04-01 Thread [EMAIL PROTECTED]
On Apr 1, 9:02 pm, Rhamphoryncus <[EMAIL PROTECTED]> wrote: > It's my understanding that the connection is NOT thread-safe.  Your > thread should be using an entirely separate connection.- Hide quoted text - > Can you please explain that, which connection you are talking about? How to modify my te

Re: bsddb3 thread problem

2008-04-01 Thread [EMAIL PROTECTED]
> Using threads with bsddb3.  I spent weeks trying to get it to behave > when threading.  I gave up in the end and changed to sqlite :-( > So does it mean that I will have to use threading locks around access methods? or that will also fail mysteriously :) -- http://mail.python.org/mailman/listin

Re: bsddb3 thread problem

2008-04-01 Thread Nick Craig-Wood
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > In my application I am trying to access(read) a DB thru a thread while > my main thread is adding data to it and it gives following error(s) [snip] > Do anybody has a clue what I am doing wrong here? Using threads with bsddb3. I spent weeks trying

Re: bsddb3 thread problem

2008-04-01 Thread Rhamphoryncus
On Apr 1, 1:29 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > In my application I am trying to access(read) a DB thru a thread while > my main thread is adding data to it and it gives following error(s) > > bsddb._db.DBRunRecoveryError: (-30974, 'DB_RUNRECOVERY: Fatal error, > run database re

bsddb3 thread problem

2008-04-01 Thread [EMAIL PROTECTED]
In my application I am trying to access(read) a DB thru a thread while my main thread is adding data to it and it gives following error(s) bsddb._db.DBRunRecoveryError: (-30974, 'DB_RUNRECOVERY: Fatal error, run database recovery -- PANIC: Permission denied') and sometimes bsddb._db.DBRunRecovery