Re: exception handling with sqlite db errors

2010-08-18 Thread CM
On Aug 12, 3:31 pm, a...@pythoncraft.com (Aahz) wrote: > In article > <2a47b306-45d1-474a-9f8e-5b71eba62...@p11g2000prf.googlegroups.com>, > > CM  wrote: > > >Maybe it's not much of an issue, but I think it would be a shame if > >occasional hangs/crashes could be caused by these (rare?) database >

Re: exception handling with sqlite db errors

2010-08-12 Thread Aahz
In article <2a47b306-45d1-474a-9f8e-5b71eba62...@p11g2000prf.googlegroups.com>, CM wrote: > >Maybe it's not much of an issue, but I think it would be a shame if >occasional hangs/crashes could be caused by these (rare?) database >conflicts if there is a good approach for avoiding them. I guess I

exception handling with sqlite db errors

2010-08-01 Thread CM
I am using SQLite with Python 2.5 for an app and every now and then get an error when trying to write to the database. So far I haven't been careful about noting these down, but now I would like to address them. The two errors I've noticed are: 1) "database is locked" errors (probably due to wri