Forums Trac

can't run trac on windows

Subscribe to can't run trac on windows 5 post(s), 3 voice(s)

 
Avatar rrr4 3 post(s)

Hi Antonio,
firstly, I would like to thank you for making this project. I spent a lot of time installing components manually and correcting various errors. I really thank you.

I’ve installed the stack on a fresh install of Windows server 2003 R2×64. But after the start and the welcome page, I get an error page.

Python Traceback
Traceback (most recent call last): File “C:\Program Files\BitNami Trac Stack\trac\Lib\site-packages\trac\web\main.py”, line 406, in dispatch_request dispatcher.dispatch(req) File “C:\Program Files\BitNami Trac Stack\trac\Lib\site-packages\trac\web\main.py”, line 191, in dispatch chosen_handler = self._pre_process_request(req, chosen_handler) File “C:\Program Files\BitNami Trac Stack\trac\Lib\site-packages\trac\web\main.py”, line 263, in _pre_process_request chosen_handler = f.pre_process_request(req, chosen_handler) File “C:\Program Files\BitNami Trac Stack\trac\Lib\site-packages\trac\versioncontrol\api.py”, line 73, in pre_process_request self.get_repository(req.authname).sync() File “C:\Program Files\BitNami Trac Stack\trac\Lib\site-packages\trac\versioncontrol\api.py”, line 104, in get_repository repos = self._connector.get_repository(rtype, rdir, authname) File “C:\Program Files\BitNami Trac Stack\trac\Lib\site-packages\trac\versioncontrol\svn_fs.py”, line 234, in get_repository repos = SubversionRepository(dir, None, self.log) File “C:\Program Files\BitNami Trac Stack\trac\Lib\site-packages\trac\versioncontrol\svn_fs.py”, line 264, in init raise TracError(“%s does not appear to be a Subversion repository.” \
TracError: C:/Projects/Trac does not appear to be a Subversion repository.

whether there are ideas how to solve these problems?

 
Avatar rrr4 3 post(s)

I tried to do:
1. change machine to windows server 2003 R2×86.
2. tried to manually create a new project
2.1 edit setenv.bat (change all slash to back slash) and run
2.2 “C:\Program Files\BitNami Trac Stack\python\python.exe” “C:\Program Files\BitNami Trac Stack\trac\Scripts\trac-admin” c:\Projects\TrAc0 initenv
2.3 “C:\Program Files\BitNami Trac Stack\python\python.exe” “C:\Program Files\BitNami Trac Stack\trac\Scripts\tracd”—port 8000 c:\Projects\TrAc0

but the problem still remains …
screenshot

 
Avatar diego 16 post(s)

Hello rrr4, we have not found that problem testing in our machines but we are going to try it in your configuration in order to reproduce the error.

We will try to answer as soon as possible.

Regards

 
Avatar rrr4 3 post(s)

Hi, thanks for your support.
Today I found out what the problem.
I changed during the installation folder for the project.
“C:\Program Files (x86)\BitNami Trac Stack\repository” to “c:\project\SVN”
and as a result Trac works, but SVN is not looking for repository.
I have to reinstall the BitNami with the default settings and create a hard link with the utility “junction” of Mark Russinovich.

junction “C:\Projects\SVN” “C:\Program Files (x86)\BitNami Trac Stack\repository”

Why should this be? Because I like to do backup folder c:\project

once again thank you for your work.

rrr.

 
Avatar antonio Administrator 508 post(s)

Thanks for the info, we’ll look into it.

Cheers

Forums Trac