Hey all,

Following the WSGIKit tutorial, looks very cool.  I defined the
database attribute in server.conf

database = 'mysql://username:[EMAIL PROTECTED]/dbname'

But when I run wsgi-server and try to hit a page that loads some data,
I get the following traceback on my call to TodoList.select


File '/usr/lib/python2.4/site-packages/sqlobject/sresults.py', line
129 in __iter__
  conn = self.ops.get('connection', self.sourceClass._connection)
File '/usr/lib/python2.4/site-packages/sqlobject/dbconnection.py',
line 769 in __get__
  return self.getConnection()
File '/usr/lib/python2.4/site-packages/sqlobject/dbconnection.py',
line 781 in getConnection
  raise AttributeError(
exceptions.AttributeError: No connection has been defined for this
thread or process

So what am I missing?

Thanks!


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Webware-devel mailing list
Webware-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to