On Mar 23, 3:24 pm, Jonas Borgström <[email protected]> wrote:
> On 3/22/09 8:21 AM, ray wrote:
>
> > I am trying to install trac in Windows using PostgreSQL and SVN.
> > Python 2.5 is installed, as is PostgreSQL 8.3.  When I first ran C:
> > \Python25\Scripts\trac-admin C:\trac initenv, it failed on "pyPgSQL".
> > I performed an install of "psycopg2".
>
> > I ran the initenv again but it saw that the c:trac was all ready
> > initialized and would not progress.  So I renamed it to C:tracOLD and
> > ran initenv again where the following was produced:
>
> > Creating and Initializing Project
> > Initenv for 'C:\trac' failed.
> >   Failed to create environment.
> > FATAL:  database "trac" does not exist
> *snip*
> > OperationalError: FATAL:  database "trac" does not exist
>
> > I have no idea what database "trac" is.  I tried naming a PostgreSQL
> > server "trac" but that didn't help.  What should I be doing to get
> > this working?
>
> What "Database connection string" did you use when running "initenv"?
>
> When using PostgreSQL initenv expects that the database specfied in the
> connection string already exists and is empty.
>
> http://trac.edgewall.org/wiki/DatabaseBackend#Postgresql
>
> / Jonas- Hide quoted text -
>
Jonas,

The string I used for the PostgreSQL conncetion was:
[sqlite:db/trac.db]> postgres://Administrator:admin1@
localhost/trac

Additionally, I am not sure that the programming language/Python was
set correctly for PostgreSQL.  I don't know how to test it, nor how to
install it if it is not in place.

TIA,
Ray
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to