hi, my app worked fine on 0.9a8, but after I upgraded TG to 0.9a9 i got
two terrible errors.
first is when i run "tg-admin sql create" i got this unless i use
"notrans_sqlite://" to replace "sqlite://" in dev.cfg
E:\TurboGears\house>tg-admin sql create
Using database URI sqlite:///E|\TurboGears\house/devdata.sqlite
Exception exceptions.AttributeError: "'pysqlite2.dbapi2.Connection'
object has n
o attribute 'autocommit'" in <bound method Transaction.__del__ of
<sqlobject.dbc
onnection.Transaction object at 0x017DC690>> ignored
second error is i couldn't get my toolbox, catwalk up. the traceback
is:
500 Internal error
The server encountered an unexpected condition which prevented it from
fulfilling the request.
Traceback (most recent call last):
File
"c:\python24\lib\site-packages\CherryPy-2.2.1-py2.4.egg\cherrypy\_cphttptools.py",
line 103, in _run
applyFilters('before_main')
File
"c:\python24\lib\site-packages\CherryPy-2.2.1-py2.4.egg\cherrypy\filters\__init__.py",
line 151, in applyFilters
method()
File
"c:\python24\lib\site-packages\TurboGears-0.9a9-py2.4.egg\turbogears\visit\api.py",
line 154, in before_main
plugin.record_request( visit )
File
"c:\python24\lib\site-packages\TurboGears-0.9a9-py2.4.egg\turbogears\identity\visitor.py",
line 170, in record_request
set_current_identity( identity )
File
"c:\python24\lib\site-packages\TurboGears-0.9a9-py2.4.egg\turbogears\identity\__init__.py",
line 102, in set_current_identity
cherrypy.request.user_name = identity.user_name
File
"c:\python24\lib\site-packages\TurboGears-0.9a9-py2.4.egg\turbogears\identity\soprovider.py",
line 91, in _get_user_name
if not self.user:
File
"c:\python24\lib\site-packages\TurboGears-0.9a9-py2.4.egg\turbogears\identity\soprovider.py",
line 82, in _get_user
self._user= user_class.get( visit.user_id )
File
"c:\python24\lib\site-packages\SQLObject-0.7.1dev_r1860-py2.4.egg\sqlobject\inheritance\__init__.py",
line 161, in get
val = super(InheritableSQLObject, cls).get(id, connection,
selectResults)
File
"c:\python24\lib\site-packages\SQLObject-0.7.1dev_r1860-py2.4.egg\sqlobject\main.py",
line 912, in get
val._init(id, connection, selectResults)
File
"c:\python24\lib\site-packages\SQLObject-0.7.1dev_r1860-py2.4.egg\sqlobject\main.py",
line 955, in _init
selectResults = self._connection._SO_selectOne(self, dbNames)
File
"c:\python24\lib\site-packages\SQLObject-0.7.1dev_r1860-py2.4.egg\sqlobject\dbconnection.py",
line 576, in _SO_selectOne
return self.queryOne(
File
"c:\python24\lib\site-packages\SQLObject-0.7.1dev_r1860-py2.4.egg\sqlobject\dbconnection.py",
line 349, in queryOne
return self._runWithConnection(self._queryOne, s)
File
"c:\python24\lib\site-packages\SQLObject-0.7.1dev_r1860-py2.4.egg\sqlobject\dbconnection.py",
line 220, in _runWithConnection
val = meth(conn, *args)
File
"c:\python24\lib\site-packages\SQLObject-0.7.1dev_r1860-py2.4.egg\sqlobject\dbconnection.py",
line 342, in _queryOne
self._executeRetry(conn, c, s)
File
"c:\python24\lib\site-packages\SQLObject-0.7.1dev_r1860-py2.4.egg\sqlobject\dbconnection.py",
line 298, in _executeRetry
return cursor.execute(query)
OperationalError: no such column: child_name
thanks for any help. it's really make me down. :(
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---