David Stanek wrote:
> On 1/8/06, Jeff Watkins <[EMAIL PROTECTED]> wrote:
> >
> > 100% of all respondents agreed: adding Identity support to quickstart is
> > +1. Therefore, starting with revision 478, you get methods for login and
> > logout in your root controller and a login.kid template.
> > Identity still isn't enabled by default. So you'll want to change
> > identity.on to True in your config file. Then create a user using CatWalk.
> > Then login.
> >
> >
> With a quickstarted project I now get:
>
> 2006/01/08 11:19:28 INFO Traceback (most recent call last):
> File "/home/dstanek/vpython/lib/python2.4/site-packages/CherryPy-
> 2.1.0-py2.4.egg/cherrypy/_cphttptools.py", line 269, in run
> applyFilters('beforeMain')
> File "/home/dstanek/vpython/lib/python2.4/site-packages/CherryPy-
> 2.1.0-py2.4.egg/cherrypy/_cphttptools.py", line 641, in applyFilters
> method()
> File "/usr/local/src/turbogears/turbogears/visit.py", line 55, in
> beforeMain
> visit=self.get_visit()
> File "/usr/local/src/turbogears/turbogears/visit.py", line 90, in
> get_visit
> return self.new_visit()
> File "/usr/local/src/turbogears/turbogears/visit.py", line 73, in
> new_visit
> visit= TG_Visit( visit_key=visit_key, expiry=now+self.timeout )
> File "/home/dstanek/vpython/lib/python2.4/site-packages/SQLObject-
> 0.7.1dev_r1457-py2.4.egg/sqlobject/main.py", line 1197, in __init__
> self._create(id, **kw)
> File "/home/dstanek/vpython/lib/python2.4/site-packages/SQLObject-
> 0.7.1dev_r1457-py2.4.egg/sqlobject/main.py", line 1224, in _create
> self._SO_finishCreate(id)
> File "/home/dstanek/vpython/lib/python2.4/site-packages/SQLObject-
> 0.7.1dev_r1457-py2.4.egg/sqlobject/main.py", line 1248, in _SO_finishCreate
> id, names, values)
> File "/home/dstanek/vpython/lib/python2.4/site-packages/SQLObject-
> 0.7.1dev_r1457-py2.4.egg/sqlobject/dbconnection.py", line 752, in
> queryInsertID
> return self._dbConnection._queryInsertID(
> File "/home/dstanek/vpython/lib/python2.4/site-packages/SQLObject-
> 0.7.1dev_r1457-py2.4.egg/sqlobject/sqlite/sqliteconnection.py", line 106, in
> _queryInsertID
> c.execute(q)
> File "/home/dstanek/vpython/lib/python2.4/site-packages/sqlite/main.py",
> line 237, in execute
> self.con._begin()
> File "/home/dstanek/vpython/lib/python2.4/site-packages/sqlite/main.py",
> line 503, in _begin
> self.db.execute("BEGIN")
> OperationalError: database is locked
>
Same error here.
I was going to test your fix for the NoneType error. :-(
Ciao
Michele