On 10/31/06, Ben Sizer <[EMAIL PROTECTED]> wrote: > > If I use "tg-admin sql drop" after having modified the model.py, I get > this message: > > Using database URI > sqlite:///E|\code\Python\projects\bandmatch/devdata.sqlite > Exception exceptions.AttributeError: "'pysqlite2.dbapi2.Connection' > object has no attribute 'autocommit'" in <bound method > Transaction.__del__ of <sqlobject.dbconnection.Transaction object at > 0x0152D530>> ignored > umm that error is polymorphic http://trac.turbogears.org/turbogears/ticket/763
> Surely that can't be a good thing? I should be able to modify a > model.py without it impacting on my ability to later drop tables from > the database. I don't even know if that exception actually means > anything or not. > the way sqlobject-admin works is that it tries to read the tables from the model file and delete them so if those changed (there is a table you deleted) you may have a problem as for why this is actually rendering that error I'm clueless > -- > Ben Sizer > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

