Re: [web2py] Re: again: sqlite "database locked"

2013-04-24 Thread Martin Weissenboeck
thx :-) M 2013/4/24 Niphlod > 1) if you can't reproduce the error with a specific "line" of your code > that triggers it, then is quite unuseful to try:catch every single db > operation. > BTW, this is what you'd need to do > try: > db(somequery).select() > except: > #handle the excepti

[web2py] Re: again: sqlite "database locked"

2013-04-24 Thread Niphlod
1) if you can't reproduce the error with a specific "line" of your code that triggers it, then is quite unuseful to try:catch every single db operation. BTW, this is what you'd need to do try: db(somequery).select() except: #handle the exception pass try: db(somequery).update(some