On 5/29/06, Kevin Dangoor <[EMAIL PROTECTED]> wrote:
> Add a "print response.status" before that assert. My guess is that
> it's probably 500. You can print cherrypy.response.body[0] and see
> what the error is.

I was about to reply that nothing had been appearing when I would
"print" something,  but I just tried it again and that's completely
not true now.  Maybe I achieved some kind of clarity over the long
weekend. Anyway, the specific database problem was that I was calling
hub.getConnection().getConnection().ping() to address MySQL's timeout
issue; that method doesn't exist in the pysqlite connector.

Working around _that_, now I'm getting a SessionNotEnabledError error
from the tests:

SessionNotEnabledError: <bound method Root.index of
<foo.controllers.Root object at 0xb6d7554c>>

Is there something I need to do in order for it to read my dev.cfg
where I've turned on sessions?

Thanks so far!
--Liza

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to