Modify ↓
#9327 closed enhancement (wontfix)
新建项目设置PostgreSQL数据库时报以下错误,寻求帮助
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | highest | Milestone: | |
Component: | general | Version: | 0.11.7 |
Severity: | blocker | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
Creating and Initializing Project Initenv for '/home/www/trac/filter' failed. Failed to create environment. Cannot load Python bindings for PostgreSQL Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/Trac-0.11.7-py2.4.egg/trac/admin/console.py", line 583, in do_initenv options=options) File "/usr/lib/python2.4/site-packages/Trac-0.11.7-py2.4.egg/trac/env.py", line 207, in __init__ self.create(options) File "/usr/lib/python2.4/site-packages/Trac-0.11.7-py2.4.egg/trac/env.py", line 341, in create DatabaseManager(self).init_db() File "/usr/lib/python2.4/site-packages/Trac-0.11.7-py2.4.egg/trac/db/api.py", line 85, in init_db connector, args = self._get_connector() File "/usr/lib/python2.4/site-packages/Trac-0.11.7-py2.4.egg/trac/db/api.py", line 134, in _get_connector raise TracError(connector.error) TracError: Cannot load Python bindings for PostgreSQL Initenv for '/home/www/trac/filter' failed. 1 Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/Trac-0.11.7-py2.4.egg/trac/admin/console.py", line 588, in do_initenv sys.exit(1) SystemExit: 1
Attachments (0)
Change History (1)
comment:1 by , 15 years ago
Description: | modified (diff) |
---|---|
Milestone: | 0.11.7.1 |
Resolution: | → wontfix |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Cannot load Python bindings for PostgreSQL
Which means you need to install psycopg2 before trying to create a Trac environment using a PostgreSQL database… This is an InstallationIssue.