#2296: sqlite db creation error in wiki20 tutorial
------------------------+---------------------------------------------------
 Reporter:  xpixelz     |       Owner:       
     Type:  defect      |      Status:  new  
 Priority:  normal      |   Milestone:       
Component:  TurboGears  |     Version:  2.0b7
 Severity:  normal      |    Keywords:       
------------------------+---------------------------------------------------
 when initializing database
 with '''''paster setup-app development.ini'''''
 in the section '''Initialize the Database Table'''
 from the wiki tutorial at
 http://turbogears.org/2.0/docs/main/Wiki20/page4.html
 I get this error
 '''''"Cannot operate on a closed cursor"'''''

 The solution was, in '''"wiki20/websetup.py"''', substituting this line
 ''model.metadata.create_all(bind=config['pylons.app_globals'].sa_engine)''
 by this one
 ''model.metadata.create_all(bind=config['pylons.app_globals'].sa_engine''',
 checkfirst=False''')''

-- 
Ticket URL: <http://trac.turbogears.org/ticket/2296>
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.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to