#763: exceptions.AttributeError: "'pysqlite2.dbapi2.Connection' object has no
attribute 'autocommit'"
---------------------------------------+------------------------------------
 Reporter:  [EMAIL PROTECTED]     |        Owner:  anonymous
     Type:  defect                     |       Status:  new      
 Priority:  high                       |    Milestone:  0.9a5    
Component:  SQLObject                  |      Version:  0.9a4    
 Severity:  normal                     |   Resolution:           
 Keywords:  pysqlite sqlite SQLObject  |  
---------------------------------------+------------------------------------
Comment (by [EMAIL PROTECTED]):

 I got to the same conclusion but I didn't find the problem (I have never
 look at SQLOBject code so I had no idea where to look for it)

 I should also note that this happens on  a RelatedJoin also. This is the
 model I try I start getting the error ones I added the RelatedJoin to B

 from sqlobject import *
 from turbogears.database import PackageHub

 hub = PackageHub("wiki20")
 __connection__ = hub

 class Page(SQLObject):
     pagename=StringCol(alternateID=True, length=30)
     data=StringCol()

 class B(SQLObject):
     number=IntCol()
     a=RelatedJoin('Page')

-- 
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/763>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Tickets" 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-tickets
-~----------~----~----~----~------~----~------~--~---

Reply via email to