Installing Trac with Subversion
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.