Jump to content

Recommended Posts

Posted

Hi folks! I've created this new thread to put under your consideration the next problem:

 

I am working with Postgresql database. The settings.py file that had been working before the issue had:

 

DATABASE_ENGINE = 'postgresql_psycopg2'

 

When the problem arise I've also tried with:

 

DATABASE_ENGINE = 'django.db.backends.postgresql_psycopg2'

 

The problem occurs when I try to access any url under http://pipona.heliohost.org/mysite/. The traceback is:

 

 

Django Version: 1.3

Exception Type: ImproperlyConfigured

Exception Value:

 

Error loading psycopg2 module: No module named psycopg2

 

Exception Location: /usr/local/lib/python2.7/site-packages/django/db/backends/postgresql_psycopg2/base.py in <module>, line 24

Python Executable: /usr/bin/python

Python Version: 2.7.1

Python Path:

 

['/usr/local/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg',

'/usr/local/lib/python2.7/site-packages/elementtree-1.2.7_20070827_preview-py2.7.egg',

'/usr/local/lib/python2.7/site-packages/Markdown-2.0.3-py2.7.egg',

'/usr/local/lib/python2.7/site-packages/html5lib-0.90-py2.7.egg',

'/usr/local/lib/python2.7/site-packages/python_openid-2.2.5-py2.7.egg',

'/usr/local/lib/python2.7/site-packages/MySQL_python-1.2.3-py2.7-linux-x86_64.egg',

'/usr/local/lib/python2.7/site-packages/PIL-1.1.7-py2.7-linux-x86_64.egg',

'/usr/local/lib/python27.zip',

'/usr/local/lib/python2.7',

'/usr/local/lib/python2.7/plat-linux2',

'/usr/local/lib/python2.7/lib-tk',

'/usr/local/lib/python2.7/lib-old',

'/usr/local/lib/python2.7/lib-dynload',

'/usr/local/lib/python2.7/site-packages',

'/home/sith/public_html/',

'/home/sith/public_html/mysite',

'/home/sith/public_html/mysite/books']

 

Server time: Tue, 14 Jun 2011 08:43:49 -0500

 

Thanks,

 

sithfor

Guest Geoff
Posted

Do you need that module installed? Will you post your username, domain, and server?

Posted
Do you need that module installed? Will you post your username, domain, and server?

 

 

Hi Geoff. The application using the Postgresql was working fine. I don't know what had happened in the middle. I understand that there was an upgrade of the django version.

 

username: sith

domain: pipona.heliohost.org

server: stevie

 

Best regards,

 

sithfor

Guest Geoff
Posted

Looks like it's working now.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...