Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

Last modified 19 years ago

#2097 closed enhancement (worksforme)

trac-admin should be more clear about database

Reported by: anonymous Owned by: Christopher Lenz
Priority: low Milestone:
Component: admin/console Version: 0.9b1
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I just installed trac 0.9b1 on my windows system.

When calling trac-admin I am asked for a database like this

 Please specify the connection string for the database to use.
 By default, a local SQLite database is created in the environment
 directory. It is also possible to use an already existing
 PostgreSQL database (check the Trac documentation for the exact
 connection string syntax).

Database connection string [sqlite:db/trac.db]>

OK what now?

What should I type in if I use no database.

So I installed pysqlite 2. Result: nothing worked. (Note the modules name is pysqlite2 in python\lib\site-packages\pysqlite2, so in python you must say import pysqlite2)

After this I installed Pysqlite 1, this one in installed as sqlite in python\lib\site-packages\sqlite

Now it worked, but I still don't know how to use it without sqlite standalone.

Attachments (0)

Change History (8)

comment:1 by Christopher Lenz, 19 years ago

Milestone: 0.9
Owner: changed from Jonas Borgström to Christopher Lenz
Priority: normallow
Status: newassigned
Type: taskenhancement

The text says “check the Trac documentation for the exact connection string syntax”. Now, the corresponding documentation is a bit hidden, but you should find this.

I've added a link to this section directly from TracInstall. This change will be merged into the INSTALL file, too.

But yes, the admin output could also be improved a bit.

comment:2 by anonymous, 19 years ago

Hi thanks for the info.

I was fooled by the fact that on TracInstall there is written:

and can use SQLite or PostgreSQL as database.

This little can word and the fact that pysqlite is not mentioned in the requirements, made me think that it works completely without pysqlite.

Now i know that pysqlite is a must.

But by the way: trac 0.9b1 works only with pysqlite 1 not with pysqlite 2..

at least on windows xp with python 2.3.5.

comment:3 by Christopher Lenz, 19 years ago

Component: wikitrac-admin

comment:4 by Christopher Lenz, 19 years ago

Milestone: 0.90.9.1

comment:5 by Christopher Lenz, 19 years ago

Milestone: 0.9.10.9.2

comment:6 by Christopher Lenz, 19 years ago

Milestone: 0.9.30.9.4

comment:7 by Christopher Lenz, 19 years ago

Resolution: worksforme
Status: assignedclosed

Actually, I think what we have now is good enough, unless someone comes up with a concrete proposal for improvement.

comment:8 by Christopher Lenz, 19 years ago

Milestone: 0.9.4

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christopher Lenz.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christopher Lenz 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.