Hello all,

I'm still working on my Wt app and who knows, maybe I'll have something 
to show you one day ?

But for the moment, I'm stuck with this error :
[error] "Wt: error during event handling: Sqlite3: insert into 
""real_user"" (""version"", ""email"", ""creation_date"", 
""last_modif_date"", ""sti_type"", ""denomination"") values (?, ?, ?, ?, 
?, ?): database is locked"
[error] "Wt: fatal error: Sqlite3: insert into ""real_user"" 
(""version"", ""email"", ""creation_date"", ""last_modif_date"", 
""sti_type"", ""denomination"") values (?, ?, ?, ?, ?, ?): database is 
locked"

I've looked a bit on google and I understand that it *may* mean that 
there is another pending SQL request on the same data. But I can't find 
such thing in my app (which is quite simple at that time).

To remove most possibilites, the code that gives this error is now very 
short :

     // then add it to db
     {
         // again, in its own transaction
         Wt::Dbo::Transaction transaction(dbo_session);
         element_ptr = dbo_session.add(p);
         transaction.commit();
     }

Do you have any clue on what may cause this "database is locked" error ? 
I'm stuck...

Thanks.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to