Hello,
I followed the installation guide for django 1.0 and satchmo 0.8 SVN but 
I cannot see the admin or shop after I install satchmo.
I'm a noob at python/django/satchmo and I'm probably missing something 
here but those are the messages I'm getting.
I tried searching the list for this but haven't found anything exactly. 
I'm hopping I'm not pasting too much or too little.

Thanks for the help.


This is what I get when I access the shop url.
AttributeError at /shop/

'WSGIRequest' object has no attribute 'session'

Request Method:     GET
Request URL:     http://192.168.11.150:8000/shop/
Exception Type:     AttributeError
Exception Value:     

'WSGIRequest' object has no attribute 'session'

Exception Location:    
 /usr/lib/python2.5/site-packages/satchmo/contact/models.py in 
from_request, line 70
Python Executable:     /usr/bin/python
Python Version:     2.5.2
Python Path:     ['/home/orion/src/satchmodevtest', 
'/usr/lib/python2.5/site-packages/PILwoTk-1.1.6.4-py2.5-linux-i686.egg', 
'/usr/lib/python2.5/site-packages/pycrypto-2.0.1-py2.5-linux-i686.egg', 
'/usr/lib/python2.5/site-packages/Reportlab-2.1.0001-py2.5.egg', 
'/usr/lib/python2.5/site-packages/django_registration-0.6-py2.5.egg', 
'/usr/lib/python2.5/site-packages/PyYAML-3.06-py2.5-linux-i686.egg', 
'/usr/lib/python2.5/site-packages/docutils-0.5-py2.5.egg', 
'/usr/lib/python2.5/site-packages/flup-1.0.1-py2.5.egg', 
'/usr/lib/python2.5/site-packages/elementtree-1.2.7_20070827_preview-py2.5.egg',
 
'/home/orion/src/satchmodevtest', '/home/orion/src', 
'/usr/lib/python25.zip', '/usr/lib/python2.5', 
'/usr/lib/python2.5/plat-linux2', '/usr/lib/python2.5/lib-tk', 
'/usr/lib/python2.5/lib-dynload', 
'/usr/local/lib/python2.5/site-packages', 
'/usr/lib/python2.5/site-packages', '/var/lib/python-support/python2.5']
Server time:     Sun, 12 Oct 2008 11:03:07 -0500

Environment:

Request Method: GET
Request URL: http://192.168.11.150:8000/shop/
Django Version: 1.0-final-SVN-unknown
Python Version: 2.5.2
Installed Applications:
['django.contrib.admin',
 'django.contrib.admindocs',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.comments',
 'comment_utils',
 'django.contrib.sitemaps',
 'satchmo.caching',
 'satchmo.configuration',
 'satchmo.shop',
 'satchmo.contact',
 'satchmo.product',
 'satchmo.shipping',
 'satchmo.payment',
 'satchmo.discount',
 'satchmo.giftcertificate',
 'satchmo.supplier',
 'satchmo.thumbnail',
 'satchmo.l10n',
 'satchmo.tax',
 'satchmo.recentlist',
 'satchmo.productratings']
Installed Middleware:
('django.middleware.locale.LocaleMiddleware',
 'satchmo.shop.SSLMiddleware.SSLRedirect',
 'satchmo.recentlist.middleware.RecentProductMiddleware')


Traceback:
File "/usr/lib/python2.5/site-packages/django/core/handlers/base.py" in 
get_response
  86.                 response = callback(request, *callback_args, 
**callback_kwargs)
File "/usr/lib/python2.5/site-packages/satchmo/shop/views/home.py" in home
  35.         'paginator' : paginator
File "/usr/lib/python2.5/site-packages/django/template/context.py" in 
__init__
  105.             self.update(processor(request))
File 
"/usr/lib/python2.5/site-packages/satchmo/shop/context_processors.py" in 
settings
  18.     cart = Cart.objects.from_request(request)
File "/usr/lib/python2.5/site-packages/satchmo/shop/models.py" in 
from_request
  225.             contact = Contact.objects.from_request(request, 
create=False)
File "/usr/lib/python2.5/site-packages/satchmo/contact/models.py" in 
from_request
  70.         if request.session.get(CUSTOMER_ID):

Exception Type: AttributeError at /shop/
Exception Value: 'WSGIRequest' object has no attribute 'session'










This is what I get from the admin url

AttributeError at /admin/

'WSGIRequest' object has no attribute 'user'

Request Method:     GET
Request URL:     http://192.168.11.150:8000/admin/
Exception Type:     AttributeError
Exception Value:    

'WSGIRequest' object has no attribute 'user'

Exception Location:     
/usr/lib/python2.5/site-packages/django/contrib/admin/sites.py in 
has_permission, line 99
Python Executable:     /usr/bin/python
Python Version:     2.5.2
Python Path:     ['/home/orion/src/satchmodevtest', 
'/usr/lib/python2.5/site-packages/PILwoTk-1.1.6.4-py2.5-linux-i686.egg', 
'/usr/lib/python2.5/site-packages/pycrypto-2.0.1-py2.5-linux-i686.egg', 
'/usr/lib/python2.5/site-packages/Reportlab-2.1.0001-py2.5.egg', 
'/usr/lib/python2.5/site-packages/django_registration-0.6-py2.5.egg', 
'/usr/lib/python2.5/site-packages/PyYAML-3.06-py2.5-linux-i686.egg', 
'/usr/lib/python2.5/site-packages/docutils-0.5-py2.5.egg', 
'/usr/lib/python2.5/site-packages/flup-1.0.1-py2.5.egg', 
'/usr/lib/python2.5/site-packages/elementtree-1.2.7_20070827_preview-py2.5.egg',
 
'/home/orion/src/satchmodevtest', '/home/orion/src', 
'/usr/lib/python25.zip', '/usr/lib/python2.5', 
'/usr/lib/python2.5/plat-linux2', '/usr/lib/python2.5/lib-tk', 
'/usr/lib/python2.5/lib-dynload', 
'/usr/local/lib/python2.5/site-packages', 
'/usr/lib/python2.5/site-packages', '/var/lib/python-support/python2.5']
Server time:     Sun, 12 Oct 2008 11:15:33 -0500

Environment:

Request Method: GET
Request URL: http://192.168.11.150:8000/admin/
Django Version: 1.0-final-SVN-unknown
Python Version: 2.5.2
Installed Applications:
['django.contrib.admin',
 'django.contrib.admindocs',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.comments',
 'comment_utils',
 'django.contrib.sitemaps',
 'satchmo.caching',
 'satchmo.configuration',
 'satchmo.shop',
 'satchmo.contact',
 'satchmo.product',
 'satchmo.shipping',
 'satchmo.payment',
 'satchmo.discount',
 'satchmo.giftcertificate',
 'satchmo.supplier',
 'satchmo.thumbnail',
 'satchmo.l10n',
 'satchmo.tax',
 'satchmo.recentlist',
 'satchmo.productratings']
Installed Middleware:
('django.middleware.locale.LocaleMiddleware',
 'satchmo.shop.SSLMiddleware.SSLRedirect',
 'satchmo.recentlist.middleware.RecentProductMiddleware')


Traceback:
File "/usr/lib/python2.5/site-packages/django/core/handlers/base.py" in 
get_response
  86.                 response = callback(request, *callback_args, 
**callback_kwargs)
File "/usr/lib/python2.5/site-packages/django/contrib/admin/sites.py" in 
root
  141.         if not self.has_permission(request):
File "/usr/lib/python2.5/site-packages/django/contrib/admin/sites.py" in 
has_permission
  99.         return request.user.is_authenticated() and 
request.user.is_staff

Exception Type: AttributeError at /admin/
Exception Value: 'WSGIRequest' object has no attribute 'user'


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to