I am prettysure web2py does not call str.format either. Must be in user's 
code.

On Monday, 17 December 2012 01:24:56 UTC-6, viniciusban wrote:
>
> On Sat, Dec 15, 2012 at 1:17 AM, Lewis <lewis...@hotmail.com <javascript:>> 
> wrote: 
> > 
> > After attempting to delete a category that still references items, the 
> > following error resulted: 
> > 
> > <type 'exceptions.AttributeError'> 'str' object has no attribute 
> 'format' 
>
> str.format() was introduced in Python 2.6. 
>
> What Python version are you using? 
>
> > 
> > All I did today was paste the cut and paste the function from default.py 
> > to full.py.  Previously the function worked perfectly. 
> > 
> > A bug in web2py?  Something I did? 
>
> If this same piece of code worked before, I think it's a condition not 
> entered before. If you're using Python 2.6 or higher, it must work. 
>
> > 
> > Should I give up on multiple controllers and go back to just one file? 
>
> Definetely it is not with a web2py or multiple controllers issue. It's 
> a Python compiler message. 
>

-- 



Reply via email to