In the latest TurboGears, I started having this exception:

AssertionError: Method Root.tile() returned unexpected output. Output
should be of type basestring, dict or generator.

The tile method referenced is serving a dynamic image.  The image is
served correctly but the new assertion is an annoying addition to the
logging messages.

Am I missing a setting for serving dynamic content other than strings,
dics, or generators.. or is this something that still needs to be
addressed?  Looking into the turbogears/controllers.py, I didn't see a
way to bypass this assertion.  Perhaps there is a generator available
already for binary data but I'm not seeing that in the TG docs.

My setup:

* kid 0.9.1
* TurboKid 0.9.5
* simplejson 1.3
* PasteScript 0.5.1
* TurboJson 0.9.2
* RuleDispatch 0.5a0.dev-r2100
* setuptools 0.6a11
* CherryPy 2.2.1
* elementtree 1.2.6
* Paste 0.4.1
* ConfigObj 4.3.1
* cElementTree 1.0.5-20051216
* Cheetah 1.0
* TurboGears 1.1a0dev-r1377
* SQLObject 0.7.1dev-r1457
* PasteDeploy 0.4
* PyProtocols 1.0a0
* FormEncode 0.5.1
* nose 0.8.6

Thanks
Dennis


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