sithfor Posted June 14, 2011 Posted June 14, 2011 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 Quote
Guest Geoff Posted June 14, 2011 Posted June 14, 2011 Do you need that module installed? Will you post your username, domain, and server? Quote
sithfor Posted June 14, 2011 Author Posted June 14, 2011 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 Quote
sithfor Posted June 14, 2011 Author Posted June 14, 2011 It's working! Thanks very much, Geoff. Regards, sithfor Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.