For Satchmo to work for me on postgis with the current trunk:
- disable wishlist,
- disable recentlist,
- the hack by Gloria's apprentice on
http://groups.google.com/group/satchmo-users/browse_thread/thread/4299574cd83146a8/09c23de24144fab7
- add the following to localsite/models.py:
from django.db import connection
from django.core import signals
def close_connection(**kwargs):
connection.close()
signals.request_started.connect(close_connection)
Before, this kind of errors hapenned:
OperationalError: server closed the connection unexpectedly
SET TRANSACTION ISOLATION LEVEL must be called before any query
SettingNotSet
WARNING Problem finding settings SHOP.SHOW_SITE, server closed the
connection unexpectedly, Problem finding settings
PRODUCT.PRODUCT_SLUG, server closed the connection unexpectedly,
WARNING Problem finding settings
PRODUCT.CATEGORY_SLUG, server closed the connection unexpectedly
Versions:
Postgres 8.4.2
Python 2.6.2
Flup 1.0.2
Psycopg 2.0.12
Postgis 1.4.0
Django trunk
Satchmo trunk
Thanks m1chael for supporting on #satchmo irc channel.
Regards, James.