On Tue, Sep 19, 2017 at 4:59 PM, Goffi <[email protected]> wrote:
> Hello,
>
> I'm using Sqlite3 module through Twisted's enterpirse.adbapi, I create the
> ConnectionPool instance like this:
>
> self.dbpool = ConnectionPool("sqlite3", db_filename,
> check_same_thread=False)
>
> You can see the code at https://repos.goffi.org/sat/
> file/tip/src/memory/sqlite.py
>
> Sometime, the writing is failing with following exception:
>
> Failure instance: Traceback: <class 'sqlite3.OperationalError'>:
> database is
> locked
>
> So I wonder if the database is correctly used, did anybody experienced
> something similar with Twisted and Sqlite ?
>
>
"Correctly" has so many shades. Here's another possible direction for
exploration:
https://github.com/twisted/axiom
Jean-Paul
http://as.ynchrono.us/
_______________________________________________
Twisted-Python mailing list
[email protected]
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python