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? On Wednesday, 12 March 2014 04:23:45 UTC-5, Muhammad Aamir wrote: > > 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'Versionweb2py™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 [image: > help]<http://localhost/admin/default/ticket/admin/127.0.0.1.2014-03-12.14-02-40.add7ae71-817f-4dbf-aaed-5c757eb0913c#> > > <type 'exceptions.AttributeError'>('NoneType' object has no attribute > 'replace') > -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.