trac runtime, project creation problem

Jyrki Wahlstedt jwa at macports.org
Fri Aug 10 03:15:14 PDT 2007


On 10.8.2007, at 11.22, Jyrki Wahlstedt wrote:

> I have used trac for some time. A few minutes ago I intended to  
> create a new project, but couldn't due to:
> Failed to create environment. ERROR:  relation "system" already exists
>
> Traceback (most recent call last):
>   File "/opt/local/lib/python2.5/site-packages/trac/scripts/ 
> admin.py", line 613, in do_initenv
>     options=options)
>   File "/opt/local/lib/python2.5/site-packages/trac/env.py", line  
> 145, in __init__
>     self.create(options)
>   File "/opt/local/lib/python2.5/site-packages/trac/env.py", line  
> 250, in create
>     DatabaseManager(self).init_db()
>   File "/opt/local/lib/python2.5/site-packages/trac/db/api.py",  
> line 70, in init_db
>     connector.init_db(**args)
>   File "/opt/local/lib/python2.5/site-packages/trac/db/ 
> postgres_backend.py", line 52, in init_db
>     cursor.execute(stmt)
>   File "/opt/local/lib/python2.5/site-packages/trac/db/util.py",  
> line 51, in execute
>     return self.cursor.execute(sql)
>   File "/opt/local/lib/python2.5/site-packages/pyPgSQL/PgSQL.py",  
> line 3111, in execute
>     raise OperationalError, msg
> OperationalError: ERROR:  relation "system" already exists
>
> Has someone else seen something like this? If not, no problem, but  
> if a solution exists, it would be nice to know:-)
>
I found a workaround, had to add schema to db connection string,  
though it shouldn't be necessary.

!
! Jyrki Wahlstedt
!	http://www.wahlstedt.fi/jyrki/
!
! Our life is no dream; but it ought to become one and perhaps will.
! PGP key ID: 0x139CC386 fingerprint: F355 B46F 026C B8C1 89C0  A780  
6366 EFD9 139C C386






More information about the macports-users mailing list