Edgewall Software
Modify

Opened 14 years ago

Closed 14 years ago

Last modified 2 years ago

#9327 closed enhancement (wontfix)

新建项目设置PostgreSQL数据库时报以下错误,寻求帮助

Reported by: czg_e@… 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 Christian Boos)

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 Christian Boos, 14 years ago

Description: modified (diff)
Milestone: 0.11.7.1
Resolution: wontfix
Status: newclosed

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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.