Christian Billen wrote: > Good evening, > > We started using Trac about a month ago and we think it is a great > software, we are migrating away from using sharepoint to the faster more > open format provided by Trac. > > Recently I tried to initialilze a new environment and it seems like my > Trac environment got misconfigured somehow, this is the message i'm > getting after the initenv interview > > Creating and Initializing Project > Failed to create environment. relation "system" already exists > > Traceback (most recent call last): > File "/usr/lib/python2.4/site-packages/trac/scripts/admin.py", line > 139, in env_create > self.__env = Environment(self.envname, create=True, db_str=db_str) > File "/usr/lib/python2.4/site-packages/trac/env.py", line 79, in __init__ > self.create(db_str) > File "/usr/lib/python2.4/site-packages/trac/env.py", line 197, in create > db.init_db(self.path, db_str) > File "/usr/lib/python2.4/site-packages/trac/db.py", line 442, in init_db > cls.init_db(**args) > File "/usr/lib/python2.4/site-packages/trac/db.py", line 413, in init_db > cursor.execute(stmt) > ProgrammingError: relation "system" already exists
Seems like your database already has tables in it, at least the 'system' table. Delete those, and/or start with a fresh database and it should initialize fine. BA _______________________________________________ Trac mailing list [email protected] http://lists.edgewall.com/mailman/listinfo/trac
