Forums Trac

SVN not found on Mac after install

Subscribe to SVN not found on Mac after install 3 post(s), 2 voice(s)

 
Avatar Kevin K 2 post(s)

I performed a pretty basic install on my Mac as a test of BitNami’s systems, and I had hopes that it would just work. I am using the “bitnami-trac-0.10.4-9-osx-x86-installer.app” version.

The install seemed to go smoothly, but I ran into this problem on calling Trac:
Traceback (most recent call last): File ”/Applications/trac-0.10.4-9/trac/lib/python2.5/site-packages/trac/web/main.py”, line 406, in dispatch_request dispatcher.dispatch(req) File ”/Applications/trac-0.10.4-9/trac/lib/python2.5/site-packages/trac/web/main.py”, line 191, in dispatch chosen_handler = self._pre_process_request(req, chosen_handler) File ”/Applications/trac-0.10.4-9/trac/lib/python2.5/site-packages/trac/web/main.py”, line 263, in _pre_process_request chosen_handler = f.pre_process_request(req, chosen_handler) File ”/Applications/trac-0.10.4-9/trac/lib/python2.5/site-packages/trac/versioncontrol/api.py”, line 73, in pre_process_request self.get_repository(req.authname).sync() File ”/Applications/trac-0.10.4-9/trac/lib/python2.5/site-packages/trac/versioncontrol/api.py”, line 104, in get_repository repos = self._connector.get_repository(rtype, rdir, authname) File ”/Applications/trac-0.10.4-9/trac/lib/python2.5/site-packages/trac/versioncontrol/svn_fs.py”, line 234, in get_repository repos = SubversionRepository(dir, None, self.log) File ”/Applications/trac-0.10.4-9/trac/lib/python2.5/site-packages/trac/versioncontrol/svn_fs.py”, line 265, in init % path)
TracError: /Users/kevink/Documents/Trac does not appear to be a Subversion repository.

It is pretty clear what is wrong, but I wanted to report this issue as I move forward to try and figure out how and why this happened. I am going to look and see what BitNami actually did. Maybe there was a conflict with my old Subversion install, which shouldn’t be a problem, as I understand it.

If anyone is able to offer any guidance on how to debug this, I’ll gladly take it. If I figure it out on my own, I’ll post my results here.

Kevin

 
Avatar Kevin K 2 post(s)

So, this is almost a stupidly simple problem to solve, but me being a newbie to svn and trac, it took some playing around for me to figure out.

As there wasn’t an svn repository in the location described by Trac, all I had to do was create it via command line:

svnadmin create /Users/kevink/Documents/Trac

I wonder how the bitnami install missed this? But it was pretty easy to resolve.

Kevin

 
Avatar antonio Administrator 508 post(s)

Hi,

Did you create an example project during installation? Can you give a detailed step by step guide on how to get the error? (I’m afraid I don’t understand what you mean by “calling Trac”). I just installed it and found the example repository created and working.

Cheers

Forums Trac