On 10/11/05, Janzert <[EMAIL PROTECTED]> wrote:
> Not a big deal but in the first example from the "Getting started" doc at
> http://www.turbogears.org/docs/gettingstarted.html the url
> path '/add' states that it should return an error. In fact it's calling the
> default method and returning "The next parts were add".

That's unexpected... thanks for the correction!

>  Also "/foobar/baz/bork" or any multi-directory url that ends up going to
> the default method (including /add/cantgohere) gets a traceback ending with
> "TypeError: not all arguments converted during string formatting". To get
> the desired output shown in the doc it seems like the return line from
> default needs args to go through a str() call.

This one's already fixed in the development version.

>  I'm using python 2.4 instead of the latest 2.4.1 so maybe that may be
> causing a difference, but I don't think there would be that large of a
> change in string substitution.

Nope, these are bugs ;)

Thanks!

Kevin

Reply via email to