Traceback: Traceback (most recent call last): File "gluon/restricted.py", line 205, in restricted File "/Applications/web2py.app/Contents/Resources/applications/dev/views/default/blogs.html", line 132, in <module> File "gluon/template.py", line 919, in render File "gluon/template.py", line 320, in __init__ File "gluon/template.py", line 720, in parse File "gluon/template.py", line 454, in include File "gluon/template.py", line 438, in _get_file_text File "posixpath.pyc", line 62, in join AttributeError: 'NoneType' object has no attribute 'endswith'
DB content: (I'm trimming the HTML since it's a rather large post but if you think you need the rest of it I will post it too. However, leaving the ommitted HTML in and taking out the python resolves the problem so I don't think the HTML is to blame.) <ul class="user_access"> <li class="white">NEW USER?</li> <li><a href="{{=URL(signup')}}"><img src="{{=URL('static','images/button.png')}}" alt="" /></a></li> </ul> <ul class="user_access"> <li class="white">CURRENT USER?</li> <li>{{=blog_form}}</li> </ul> </div> <div class="wrapper"> {{include 'default/postsviews3.html'}} </div> \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ The postsviews3.html is just a standard HTML. The blog_form is defined in the controller and works outside of this scenario. Of course, the URLs also work outside of this instance. --