I recently installed satchmo (0.92) test shops on my local machine ( Ubuntu
11.10, python2.7, django 1.2.7 ).
I followed "installation guide (
http://www.satchmoproject.com/docs/dev/new_installation.html)" and I could
make the simple shop work.
Whenever I set MULTISHOP = True, however, Site.objects.get_current() is
invoked and returns None, then crashes:
Traceback:
File
"/home/nakamoto/venv/django12/local/lib/python2.7/site-packages/django/core/handlers/base.py"
in get_response
100. response = callback(request, *callback_args,
**callback_kwargs)
File
"/home/nakamoto/venv/django12/local/lib/python2.7/site-packages/Satchmo-0.9.2-py2.7.egg/satchmo_store/shop/views/home.py"
in home
17. featured = display_featured()
File
"/home/nakamoto/venv/django12/local/lib/python2.7/site-packages/Satchmo-0.9.2-py2.7.egg/product/views/__init__.py"
in display_featured
93. q = Product.objects.featured_by_site()
File
"/home/nakamoto/venv/django12/local/lib/python2.7/site-packages/Satchmo-0.9.2-py2.7.egg/product/models.py"
in featured_by_site
808. return self.by_site(site=site, active=True, featured=True,
**kwargs)
File
"/home/nakamoto/venv/django12/local/lib/python2.7/site-packages/Satchmo-0.9.2-py2.7.egg/product/models.py"
in by_site
798. site = Site.objects.get_current()
File
"/home/nakamoto/venv/django12/local/lib/python2.7/site-packages/threaded_multihost/multihost_patch.py"
in site_get_current
9. return sites.by_host()
File
"/home/nakamoto/venv/django12/local/lib/python2.7/site-packages/threaded_multihost/sites.py"
in by_host
73. parts = raw.split('=')
Exception Type: AttributeError at /
Exception Value: 'NoneType' object has no attribute 'split'
Is there anything I have to change or install to "MULTISHOP = True"
configuration work ?
--
You received this message because you are subscribed to the Google Groups
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/satchmo-users?hl=en.