I think I begin to understand now. It's time-consuming but it's getting clearer. There's a difference between read and write access to db now with Trac 1.0, and the scope of the db object can get lost....
CU, falkb Am Montag, 6. Januar 2014 10:08:18 UTC+1 schrieb falkb: > > Hi, > > Sometimes the following code let cursor.execute() run in the "Cannot > operate on a closed cursor" issue (seen with Trac 1.0 and SQLite). I played > around with several trials for a fix but nothing seems to help. Could you > help me and correct the following code example so that I can see what the > proper use of that db API is? Yes, I’ve read > http://trac.edgewall.org/wiki/TracDev/DatabaseApi but it’s still not > clear to me ... snip > > -- You received this message because you are subscribed to the Google Groups "Trac Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/trac-dev. For more options, visit https://groups.google.com/groups/opt_out.
