Yes it is a problem with sqlite you have anoter process locking the db.

mic


2011/5/23 Pablo Angulo <[email protected]>:
> Hello: I'm working on a cron job that must write to the database: is
> this allowed? I don't know if the following error is sqlite only:
>
>  File "web2py/gluon/dal.py", line 4487, in insert
>    return self._db._adapter.insert(self,self._listify(fields))
>  File "web2py/gluon/dal.py", line 772, in insert
>    raise e
> pysqlite2.dbapi2.OperationalError: database is locked
>
> Regards
>

Reply via email to