Before all else, please excuse the long email and note that I'm new to
almost everything! ^^;;
Setup:
Windows Server 2003
Python 2.3.5
Clearsilver 0.9.14
Subversion 1.3.1
Python bindings for subversion 2.3-1.3.1
PySQLite 2.2.2 (for python 2.3)
Trac 0.9.5
Before wasting anymore of anyone's time, does someone know for sure that the
above setup doesn't work and I should stick to the version numbers mentioned
for "TracOnWindowsStandalone" (since this is what I'm tyring to install)? If
so, how do I uninstall Trac and Co. so I can downgrade to an older version?
#Problem 1
I followed the instructions for "TracOnWindowsStandalone". Everything went
fine until "Creating a project environment". For "Path to repository," I
used "c:\path\to\svn_project". Below are the errors I encountered:
*********************************
C:\Python23\share\trac\wiki-default\WikiStart => WikiStart
Indexing repository
Failed to initialize environment. No module named svn
Traceback (most recent call last):
File "C:\Python23\Lib\site-packages\trac\scripts\admin.py", line 616, in
do_in
itenv
repos = self.__env.get_repository()
File "C:\Python23\Lib\site-packages\trac\env.py", line 155, in
get_repository
from trac.versioncontrol.svn_fs import SubversionRepository
File "C:\Python23\Lib\site-packages\trac\versioncontrol\svn_fs.py", line
25, i
n ?
from svn import fs, repos, core, delta
ImportError: No module named svn
C:\Python23>
*********************************
#Problem (?) 2
Afterwards, while trying to run the standalone server via
"C:\Python23>python scripts/tracd --port 8000 C:\path\to\projectenv", I get
a blank page with 2 words "Available projects".
Doing "C:\Python23>python scripts/tracd --port 8000 C:\path\to\trac_env",
brings up a page with the name of the project I entered while creating the
environment.
Clicking on the project name takes me to the locally hosted Trac page.
#Problem 3
Every link work (I can even add/modify/... tickets) except for "Login",
"Timeline" and "Browse Source".
- Login gives me a "page cannot be displayed" error
- Timeline and Browse Source gave me the same errors (Browse Source didn't
have the error related to line 140):
*********************************
Trac detected an internal error:
cannot import name SubversionRepositoryIf you think this really should work
and you can reproduce it. Then you should consider to report this problem to
the Trac team.
Go to http://trac.edgewall.com/ and create a new ticket where you describe
the problem, how to reproduce it. Don't forget to include the python
traceback found below.
TracGuide - The Trac User and Administration Guide
Python traceback
Traceback (most recent call last):
File "C:\Python23\Lib\site-packages\trac\web\standalone.py", line 303, in
_do_trac_req
dispatch_request(path_info, req, env)
File "C:\Python23\Lib\site-packages\trac\web\main.py", line 139, in
dispatch_request
dispatcher.dispatch(req)
File "C:\Python23\Lib\site-packages\trac\web\main.py", line 107, in
dispatch
resp = chosen_handler.process_request(req)
File "C:\Python23\Lib\site-packages\trac\Timeline.py", line 140, in
process_request
filters)
File
"C:\Python23\Lib\site-packages\trac\versioncontrol\web_ui\changeset.py",
line 108, in get_timeline_events
repos = self.env.get_repository()
File "C:\Python23\Lib\site-packages\trac\env.py", line 155, in
get_repository
from trac.versioncontrol.svn_fs import SubversionRepository
ImportError: cannot import name SubversionRepository
******************************************
Any help would be appreciated.
Thanks for reading :P
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac