Re: [web2py] many things break with multiple controllers

2012-12-17 Thread Massimo Di Pierro
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

Re: [web2py] many things break with multiple controllers

2012-12-16 Thread Vinicius Assef
On Sat, Dec 15, 2012 at 1:17 AM, Lewis lewis_le...@hotmail.com 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

[web2py] many things break with multiple controllers

2012-12-15 Thread Lewis
Spending hours debugging new errors after splitting a big controller into two files. It seems like web2py is not robust with multiple controllers in a single applications. Suddenly, Python thinks that I can't use the format method on a string. In a form to edit categories, a user can press a

Re: [web2py] many things break with multiple controllers

2012-12-15 Thread Mariano Reingart
You should not have problems with multiple controllers (I also worked in splitting large controllers without issues). Can you send a minimal but complete app to reproduce this issue? What version of python are you using? Are you using T()? Are you compiling your app? Best regards Mariano