AttributeError: 'NoneType' object has no attribute 'template_prefix'
Opened this issue · 2 comments
I am getting this error when I try to load the site.
[=ERROR : 2012-12-13 16:11:23,218] Internal Server Error: /
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 111, in get_response
response = callback(request, _callback_args, *_callback_kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py", line 93, in _wrapped_view
response = view_func(request, _args, *_kwargs)
File "/var/www/CollectorCity-Market-Place/marketplaces/apps/market/views.py", line 51, in home
return render_to_response("%s/home.html" % request.marketplace.template_prefix,
AttributeError: 'NoneType' object has no attribute 'template_prefix'
The site will allow me to log in through the admin section. Did I miss a step during the install?
Take a look at the tree structure for the git hub project? I'm assuming you ran the initial data? What is the name of the marketplace you choose, do you have a template tree structure to match ?
https://github.com/StephenPower/CollectorCity-Market-Place/tree/master/marketplaces/templates
Again, I did not notice that an issue was submitted, my apologizes for this.
Did you down load the ubuntu appliance? it is ready to go and just needs an update to the latest code. Thanks
I was able to get it working without errors by downloading the VM image and copying the numismatic folder teh doing a mysql dump of the database. Now I have no problem setting up the site on any linux distro fallowing the directions on the main page of your github.
Thank You for the great work here.