I seem to remember a workaround of using the url
sqlobject.dburi="notrans_sqlite:///path/to/yourstuff.db"
On Oct 10, 6:46 am, [EMAIL PROTECTED] wrote:
> I have an ubuntu virtual machine that I use for development(stuck on
> vista here). I use workingenv tocreateisolated installations to
> prevent upgrades from breaking applications.
>
> Now all of a sudden it blows up when I try and run tgsetup.py on
> simplejson. Dug through the forums and found that it has something to
> do with the new version. So a simple easy_install simplejson before
> running tgsetup.py got me up and running. Now I am running through the
> todo list tutorial and right after defining my model ...
>
> class User(SQLObject):
> email = StringCol(alternateID=True)
> lists = MultipleJoin('List')
>
> class List(SQLObject):
> title = UnicodeCol(notNone=True)
> user = ForeignKey('User')
> items = MultipleJoin('Item')
>
> class Item(SQLObject):
> value = UnicodeCol(notNone=True)
> list = ForeignKey('List')
>
> I runtg-adminsqlcreateand i get this ...
>
> Exception exceptions.attributeerror: "'sqlite3.Connection' object has
> no attribute 'autocommit'".
>
> Thanks in advance!
> Paul
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---