On Jun 22, 2008, at 9:27 PM, Reynier Perez Mira wrote:
>> This is your problem. It should look like: >> >> postgres://trac:[EMAIL PROTECTED]:5432/trac?schema=local_projects > > Yes, this was the error but see what's happen now: > > Creating and Initializing Project > Failed to create environment. ERROR: schema "local_projects" > already exists > > Traceback (most recent call last): > File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/ > admin/console.py", line 543, in do_initenv > options=options) > File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/ > env.py", line 188, in __init__ > self.create(options) > File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/ > env.py", line 311, in create > DatabaseManager(self).init_db() > File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/db/ > api.py", line 70, in init_db > connector.init_db(**args) > File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/db/ > postgres_backend.py", line 68, in init_db > cursor.execute('CREATE SCHEMA "%s"' % cnx.schema) > File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/db/ > util.py", line 51, in execute > return self.cursor.execute(sql) > File "/usr/lib/python2.5/site-packages/pyPgSQL/PgSQL.py", line > 3111, in execute > raise OperationalError, msg > OperationalError: ERROR: schema "local_projects" already exists Trac will create the schema. This error means the database was never created, thus explaining the huge number of other errors. Drop the schema and try again. --Noah --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---