Hope someone can help out here, I installed satchmo today using the
instructions on the satcmo site. I'm using django and satchmo from
trunk. I have noticed the following behaviour after the install.

Everytime I restart the django development server, the first request I
make returns the following error:

Traceback (most recent call last):

  File "/usr/lib/python2.5/site-packages/django/core/servers/
basehttp.py", line 278, in run
    self.result = application(self.environ, self.start_response)

  File "/usr/lib/python2.5/site-packages/django/core/servers/
basehttp.py", line 635, in __call__
    return self.application(environ, start_response)

  File "/usr/lib/python2.5/site-packages/django/core/handlers/
wsgi.py", line 228, in __call__
    self.load_middleware()

  File "/usr/lib/python2.5/site-packages/django/core/handlers/
base.py", line 47, in load_middleware
    mw_instance = mw_class()

TypeError: settings() takes exactly 1 argument (0 given)


If I refresh the page the error doesn't occur anymore until the next
time the server is restarted.

I'm also getting an error when advancing to the second page of
checkout. The error is the same with all payment modules and I have
tried enabling them one by one but I still get the error with each
module.

Exception Type:         TypeError
Exception Value:        pay_ship_info() got an unexpected keyword argument
'SSL'

I have installed the SSL middleware however this doesn't make a
difference.

MIDDLEWARE_CLASSES = (
    'django.middleware.common.CommonMiddleware',
    'django.contrib.sessions.middleware.SessionMiddleware',
    'django.contrib.auth.middleware.AuthenticationMiddleware',
    'satchmo.shop.context_processors.settings',
    'django.core.context_processors.auth',
    'satchmo.recentlist.context_processors.recent_products',
    'satchmo.shop.SSLMiddleware.SSLRedirect',
)

Can anyone shed any light on this? Have I missed something in the
install/config?

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