Problem fixed. it was a change from within sqlform.py in the gluon folder

On Tuesday, September 30, 2014 9:55:48 AM UTC-7, Cory wrote:
>
> Hello,
> has anyone seen this error before? if so, can you please tell me what it 
> may be related to? 
> I received this error when I cloned my project on a new computer. When I 
> try to start web2py
> on any of my apps it gives me this error. 
>
> I was running web2py version *2.9.5 *and now its *2.9.11*
>
> thanks!
>
>
> <https://lh3.googleusercontent.com/-ON9ciRO6S0o/VCr3EFEk-mI/AAAAAAAAAm4/h_qZ31e_OSM/s1600/Screenshot%2B-%2B09302014%2B-%2B11%3A22%3A33%2BAM.png>
>
> <type 'exceptions.RuntimeError'> formstyle not supported
>
> Traceback (most recent call last):
>   File "/home/cory/web2py/gluon/restricted.py", line 224, in restricted
>     exec ccode in environment
>   File "/home/cory/web2py/applications/zoomit/controllers/default.py", 
> line 1535, in <module>
>   File "/home/cory/web2py/gluon/globals.py", line 392, in <lambda>
>     self._caller = lambda f: f()
>   File "/home/cory/web2py/applications/zoomit/controllers/default.py", 
> line 955, in index
>     Field('weight', 'integer', requires=IS_NOT_EMPTY()),
>   File "/home/cory/web2py/gluon/sqlhtml.py", line 1730, in factory
>     **attributes)
>   File "/home/cory/web2py/gluon/sqlhtml.py", line 1324, in __init__
>     table = self.createform(xfields)
>   File "/home/cory/web2py/gluon/sqlhtml.py", line 1354, in createform
>     raise RuntimeError('formstyle not supported')
> RuntimeError: formstyle not supported
>
>
> *Here is another traceback from admin app which breaks in a different spot 
> along with my other apps*
>
> Traceback (most recent call last):
>   File "/home/cory/web2py/gluon/restricted.py", line 224, in restricted
>     exec ccode in environment
>   File "/home/cory/web2py/applications/admin/controllers/default.py", line 
> 1946, in <module>
>   File "/home/cory/web2py/gluon/globals.py", line 392, in <lambda>
>     self._caller = lambda f: f()
>   File "/home/cory/web2py/applications/admin/controllers/default.py", line 
> 221, in site
>     table_name='appcreate')
>   File "/home/cory/web2py/gluon/sqlhtml.py", line 1730, in factory
>     **attributes)
>   File "/home/cory/web2py/gluon/sqlhtml.py", line 1324, in __init__
>     table = self.createform(xfields)
>   File "/home/cory/web2py/gluon/sqlhtml.py", line 1354, in createform
>     raise RuntimeError('formstyle not supported')
> RuntimeError: formstyle not supported
>
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to