Just trying to build my own widgets for some things.

If I define the widget in a place where it's loaded on startup (somewhere
in the controller, let's say) and the widget has a template property (and
that template property has a "<" in it), cherrypy won't start.  The output
looks like this:

2005/11/15 16:53:31 HTTP INFO SystemExit raised: shutting down autoreloader
2005/11/15 16:53:31 HTTP INFO CherryPy shut down
Unhandled exception in thread started by
Error in sys.excepthook:

Original exception was:
2005/11/15 16:53:33 HTTP INFO SystemExit raised: shutting down autoreloader
2005/11/15 16:53:33 HTTP INFO CherryPy shut down
2005/11/15 16:53:35 HTTP INFO SystemExit raised: shutting down autoreloader
2005/11/15 16:53:35 HTTP INFO CherryPy shut down
Unhandled exception in thread started by
Error in sys.excepthook:

Original exception was:

If I run cherrypy in production mode, everything seems to work.  Also, if
the widget is defined in turbogears.widgets, it works fine.

At first I thought it had to do with loading the template, but that's not
it.  It's something that happens slightly after loading the template.

Am I doing something wrong?

Jason

-- 
If you understand, things are just as they are.  If you do not understand,
things are just as they are.

Attachment: pgpQCoqyG3eIl.pgp
Description: PGP signature

Reply via email to