Hi ;
This is my first communication with the group--
I am trying to install and configure trac with svn on the below system
Platform: Red Hat Enterprise 4
Apache : 1.3.33
mod_python=2.7.11
trac=trac-0.10.4
clearsilver=0.10.2
mysql=4.1.21/Connection=Unix-Socket
Error:
----------------------------------------------------------------------------------------------------
[EMAIL PROTECTED] conf]# trac-admin /srv/trac/projectX initenv
Creating a new Trac environment at /srv/trac/projectX
Trac will first ask a few questions about your environment
in order to initalize and prepare the project database.
Please enter the name of your project.
This name will be used in page titles and descriptions.
Project Name [My Project]> projectX
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]>
mysql://root:[EMAIL PROTECTED]:unix-socket=/home/mysql/mysql.sock/trac
If you don't want to use Trac with version control integration,
choose the default here and don't specify a repository directory.
in the next question.
Repository type [svn]>
Path to repository [/path/to/repos]> /home/myfbchecker/myfb3
Please enter location of Trac page templates.
Default is the location of the site-wide templates installed with Trac.
Templates directory [/usr/share/trac/templates]>
Creating and Initializing Project
Failed to create environment. invalid literal for int(): unix-socket=
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/trac/scripts/admin.py", line 613, in
do_initenv
options=options)
File "/usr/lib/python2.3/site-packages/trac/env.py", line 145, in __init__
self.create(options)
File "/usr/lib/python2.3/site-packages/trac/env.py", line 250, in create
DatabaseManager(self).init_db()
File "/usr/lib/python2.3/site-packages/trac/db/api.py", line 69, in
init_db
connector, args = self._get_connector()
File "/usr/lib/python2.3/site-packages/trac/db/api.py", line 85, in
_get_connector
scheme, args = _parse_db_str(self.connection_uri)
File "/usr/lib/python2.3/site-packages/trac/db/api.py", line 151, in
_parse_db_str
port = int(port)
ValueError: invalid literal for int(): unix-socket=
Failed to initialize environment. 1
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/trac/scripts/admin.py", line 617,
in do_initenv
sys.exit(1)
SystemExit: 1
--------------------------------------------------------------------------------------------------------------------------------
Pls. verify this error msg. and a humble request to give the solution
Thanks
Shambhu
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---