Hi,

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.

-- 
http://jamespic.com/contact

--

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