Trac Install

apps

#1

I’m getting hung up following the instructions on the wiki for installing Trac.

http://wiki.dreamhost.com/index.php/Trac

I followed the instructions exactly and I was using .9pre version of Trac.

[code][fairfax]$ trac-admin $HOME/trac.semanticwebsolutions.net/trac initenv
Creating a new Trac environment at /home/bhlewis/trac.semanticwebsolutions.net/trac

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]> Brady’s Projects

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]>

Please specify the absolute path to the project Subversion repository.
Repository must be local, and trac-admin requires read+write
permission to initialize the Trac database.

Path to repository [/var/svn/test]> /home/bhlewis/svn

Please enter location of Trac page templates.
Default is the location of the site-wide templates installed with Trac.

Templates directory [/home/bhlewis/share/trac/templates]>

Creating and Initializing Project
Configuring Project
trac.repository_dir
trac.database
trac.templates_dir
project.name
Installing default wiki pages
/home/bhlewis/share/trac/wiki-default/CamelCase => CamelCase
/home/bhlewis/share/trac/wiki-default/RecentChanges => RecentChanges
/home/bhlewis/share/trac/wiki-default/SandBox => SandBox
/home/bhlewis/share/trac/wiki-default/TitleIndex => TitleIndex
/home/bhlewis/share/trac/wiki-default/TracAccessibility => TracAccessibility
/home/bhlewis/share/trac/wiki-default/TracAdmin => TracAdmin
/home/bhlewis/share/trac/wiki-default/TracBackup => TracBackup
/home/bhlewis/share/trac/wiki-default/TracBrowser => TracBrowser
/home/bhlewis/share/trac/wiki-default/TracChangeset => TracChangeset
/home/bhlewis/share/trac/wiki-default/TracEnvironment => TracEnvironment
/home/bhlewis/share/trac/wiki-default/TracGuide => TracGuide
/home/bhlewis/share/trac/wiki-default/TracImport => TracImport
/home/bhlewis/share/trac/wiki-default/TracIni => TracIni
/home/bhlewis/share/trac/wiki-default/TracInstall => TracInstall
/home/bhlewis/share/trac/wiki-default/TracInstallPlatforms => TracInstallPlatforms
/home/bhlewis/share/trac/wiki-default/TracLinks => TracLinks
/home/bhlewis/share/trac/wiki-default/TracLogging => TracLogging
/home/bhlewis/share/trac/wiki-default/TracModPython => TracModPython
/home/bhlewis/share/trac/wiki-default/TracMultipleProjects => TracMultipleProjects
/home/bhlewis/share/trac/wiki-default/TracNotification => TracNotification
/home/bhlewis/share/trac/wiki-default/TracPermissions => TracPermissions
/home/bhlewis/share/trac/wiki-default/TracQuery => TracQuery
/home/bhlewis/share/trac/wiki-default/TracReports => TracReports
/home/bhlewis/share/trac/wiki-default/TracRoadmap => TracRoadmap
/home/bhlewis/share/trac/wiki-default/TracRss => TracRss
/home/bhlewis/share/trac/wiki-default/TracSearch => TracSearch
/home/bhlewis/share/trac/wiki-default/TracStandalone => TracStandalone
/home/bhlewis/share/trac/wiki-default/TracSupport => TracSupport
/home/bhlewis/share/trac/wiki-default/TracSyntaxColoring => TracSyntaxColoring
/home/bhlewis/share/trac/wiki-default/TracTickets => TracTickets
/home/bhlewis/share/trac/wiki-default/TracTicketsCustomFields => TracTicketsCustomFields
/home/bhlewis/share/trac/wiki-default/TracTimeline => TracTimeline
/home/bhlewis/share/trac/wiki-default/TracUnicode => TracUnicode
/home/bhlewis/share/trac/wiki-default/TracUpgrade => TracUpgrade
/home/bhlewis/share/trac/wiki-default/TracWiki => TracWiki
/home/bhlewis/share/trac/wiki-default/WikiFormatting => WikiFormatting
/home/bhlewis/share/trac/wiki-default/WikiHtml => WikiHtml
/home/bhlewis/share/trac/wiki-default/WikiMacros => WikiMacros
/home/bhlewis/share/trac/wiki-default/WikiNewPage => WikiNewPage
/home/bhlewis/share/trac/wiki-default/WikiPageNames => WikiPageNames
/home/bhlewis/share/trac/wiki-default/WikiProcessors => WikiProcessors
/home/bhlewis/share/trac/wiki-default/WikiRestructuredText => WikiRestructuredText
/home/bhlewis/share/trac/wiki-default/WikiRestructuredTextLinks => WikiRestructuredTextLinks
/home/bhlewis/share/trac/wiki-default/WikiStart => WikiStart
/home/bhlewis/share/trac/wiki-default/WikiDeletePage => WikiDeletePage
/home/bhlewis/share/trac/wiki-default/TracFastCgi => TracFastCgi
/home/bhlewis/share/trac/wiki-default/TracCgi => TracCgi
/home/bhlewis/share/trac/wiki-default/TracPlugins => TracPlugins
Indexing repository
Failed to initialize environment. No module named _fs
Traceback (most recent call last):
File “/home/bhlewis/lib/python2.3/site-packages/trac/scripts/admin.py”, line 569, in do_initenv
repos = self.__env.get_repository()
File “/home/bhlewis/lib/python2.3/site-packages/trac/env.py”, line 155, in get_repository
from trac.versioncontrol.svn_fs import SubversionRepository
File “/home/bhlewis/lib/python2.3/site-packages/trac/versioncontrol/svn_fs.py”, line 27, in ?
from svn import fs, repos, core, delta
File “/home/bhlewis/lib/svn-python/svn/fs.py”, line 19, in ?
from libsvn.fs import *
File “/home/bhlewis/lib/svn-python/libsvn/fs.py”, line 5, in ?
import _fs
ImportError: No module named _fs
[fairfax]$ ls /home/bhlewis/lib/svn-python/libsvn/
_client.a client.pyc core.py _delta.la _fs.a fs.pyc _ra.a ra.pyc repos.py _wc.la
_client.la _core.a core.pyc delta.py _fs.la init.py _ra.la _repos.a repos.pyc wc.py
client.py _core.la _delta.a delta.pyc fs.py init.pyc ra.py _repos.la _wc.a wc.pyc
[/code]It looks there may be a problem between swig and subversion. If someone’s successfully installed Trac on a Dreamhost account please tell me what version of each you used and what your install options were. If you think it could be something else please comment too.