In the meantime, as a workaround I believe you can define no
transactions in your .cfg file:

sqlobject.dburi="notrans_sqlite://%(current_dir_uri)s/devdata.sqlite"

see http://trac.turbogears.org/turbogears/ticket/763.

-Matt

Nathan wrote:
> Morning,
>
> Having stepped away from TG for a bit after having only glanced at it,
> I'm probably a little confused, so bear with me please :)
>
> pysqlite ver 2.3.2, SQLite ver 3.3.6 under Windows XP, TG 0.9a6
> download
>
> The problem lies when defining joins in the model. MultipleJoin,
> SingleJoin and RelatedJoin all generate the same error when running
> "tg-admin sql create" from the root of my project.
>
> Using database URI sqlite:/sitedb.sqlite
> Exception exceptions.AttributeError: "'pysqlite2.dbapi2.Connection'
> object has no attribute 'autocommit'" in <bound method
> Transaction.__del__ of <sqlobject.dbconnection.Transaction object at
> 0x01476E30>> ignored
> Nathan


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to