Eleonore DUVELLE wrote:
You're right, it would be better if I used the Trac API whith my Python program. The problem is that I've searched - and even posted a mail on this list- but I can't find any document that explains how Trac works, which classes/functions are used to create tickets, etc. So I don't know what I must call and with which arguments in order to create a new ticket. Maybe someone can help me with this?As it is surely better that doing it with pysqlite, I would be glad to do it this way.As for your question : " Like I wrote in the beginning, why are you using sqlite libraries to access database. It's a binary file (format known). Why don't you write and read it directly without any libraries?"I simply didn't know there was another way to modify a database without SQLite. In fact, I'm quite new to programming so I guess there are a lot of things which seem clear to programmers but that I don't even know of. Thanks for your answer,
This is one of the very few things that is actually documented: http://trac.edgewall.org/wiki/TracDev/DataModels
--Noah
signature.asc
Description: OpenPGP digital signature
