Hi,

I installed trac 0.11rc2 with a pgSQL database and psycopg2 as python pgsql
driver.

When I run a standalone daemon (tracd command), trac works fine.
But upon an apache web server & mod_python, I get the following error
message:

ImportError: No module named pyPgSQL

Do you have any idea for troubleshooting this issue?
>From what I understand from here:
http://trac.edgewall.org/wiki/DatabaseBackend#DatabaseBackend , psycopg2 is
an alternative to pypgsql, isn't it?

Here is the content of my apache vhost configuration file:
<VirtualHost *>
    DocumentRoot /home/trac/
    ServerName mydomain.tld
    ServerAlias *.mydomain.tld
    <Location />
        SetHandler mod_python
        PythonInterpreter main_interpreter
        PythonHandler trac.web.modpython_frontend
        PythonOption TracEnv /home/trac/
        PythonOption TracUriRoot /
        PythonPath "sys.path + ['/home/trac']"
        PythonDebug on
    </Location>
</VirtualHost>

Thank you!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to