Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

i am installing trac with subversion while installing i have error, i am following this link ""....when i give the database string it gives the following error , could anybody please help....??

Database connection string [sqlite:db/trac.db]> mysql://trac:yourpassword@localhost/trac

Creating and Initializing Project
Initenv for '/var/tracprojects/YourProject' failed. 
Failed to create environment.
[Errno 2] No such file or directory: '/var/tracprojects/YourProject'
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/Trac-0.12-py2.7.egg/trac/admin/", line 413, in do_initenv
  File "/usr/local/lib/python2.7/dist-packages/Trac-0.12-py2.7.egg/trac/", line 221, in __init__
  File "/usr/local/lib/python2.7/dist-packages/Trac-0.12-py2.7.egg/trac/", line 382, in create
OSError: [Errno 2] No such file or directory: '/var/tracprojects/YourProject'
share|improve this question

migrated from Aug 9 '11 at 9:52

This question came from our site for professional and enthusiast programmers.

1 Answer 1

Is /var/tracprojects/YourProject the directory name you passed to trac-admin?

According to the instructions on the page you posted, you are meant to create that directory before calling trac-admin (the two commands before hand create the directory and set its permissions). The error you received would indicate that you haven't done so.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.