Hi there,
I just downloaded the latest versions of both SQLAlchemy and
TurboGears, and I'm attempting to set up a very simple project. I am
running into the following errors when I attempt to access my test
page:
Page handler: <bound method Root.index of <lat.controllers.Root object
at 0x014A2A90>>
Traceback (most recent call last):
File "c:\python24\lib\site-packages\CherryPy-2.2.1-py2.4.egg\cherrypy
\_cphttptools.py", line 105, in _run
self.main()
File "c:\python24\lib\site-packages\CherryPy-2.2.1-py2.4.egg\cherrypy
\_cphttptools.py", line 254, in main
body = page_handler(*virtual_path, **self.params)
File "<string>", line 3, in index
File "c:\python24\lib\site-packages\TurboGears-1.0.4b1-py2.4.egg
\turbogears\controllers.py", line 342, in expose
output = database.run_with_transaction(
File "<string>", line 5, in run_with_transaction
File "c:\python24\lib\site-packages\TurboGears-1.0.4b1-py2.4.egg
\turbogears\database.py", line 363, in sa_rwt
req.sa_transaction = session.create_transaction()
AttributeError: 'ScopedSession' object has no attribute
'create_transaction'
Sure enough, the SQLAlchemy doc shows no method called
create_transaction() for a session.
Any ideas about what to do?
Thanks!
Joann
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---