Web2py 2.9.4 Admin crash on admin/default/user

24 views
Skip to first unread message

Muhammad Aamir

unread,
Mar 12, 2014, 5:23:45 AM3/12/14
to web...@googlegroups.com

Error ticket for "admin"

Ticket ID

127.0.0.1.2014-03-12.14-02-40.add7ae71-817f-4dbf-aaed-5c757eb0913c

<type 'exceptions.AttributeError'> 'NoneType' object has no attribute 'replace'

Version

web2py™Version 2.9.4-stable+timestamp.2014.03.05.04.44.09
PythonPython 2.7.3: C:\Program Files (x86)\Apache Software Foundation\Apache2.2\bin\httpd.exe (prefix: C:\Python27)

Traceback

1.
2.
3.
4.
5.
6.
7.
Traceback (most recent call last):
File "D:\web2py_src\gluon\restricted.py", line 217, in restricted
exec ccode in environment
File "D:\web2py_src\applications\admin\views\default/user.html", line 48, in <module>
smt['_class']='btn'
AttributeError: 'NoneType' object has no attribute 'replace'

Error snapshot help

<type 'exceptions.AttributeError'>('NoneType' object has no attribute 'replace')

Massimo Di Pierro

unread,
Mar 12, 2014, 9:42:06 AM3/12/14
to web...@googlegroups.com
I am confused. Your ticket says that the error is in file
   File "D:\web2py_src\applications\admin\views\default/user.html"
and the error is in line:
   smt['_class']='btn'
but that line is not in user.html and is not in layout.html which is extended by user.html.

Perhaps this app was build with a previous (experimental) version of web2py?
Reply all
Reply to author
Forward
0 new messages