I am currently in the process of
investigating Trac on Darcs integration in our current Trac setup. After
getting the latest Trac version
from svn and getting Trac on darcs up
and running (cool stuff). (All of this is taking place on a new Debian
box.) I tried to import a few of our older svn projects (we are
still going to be using svn extensively and would like all of our Tracs hosted off one box in
one location, some using svn some using darcs.)
I am getting a very strange error from
/trac/versioncontrol/api.py (line
68) when I view the timeline
of one of my subversion projects:
Repository checkins event provider
(ChangesetModule)
failed:
TracError: Unsupported version control system "svn" (connectors:[<trac.versioncontrol.svn_fs.SubversionConnector object at 0x508957ec>] )
TracError: Unsupported version control system "svn" (connectors:[<trac.versioncontrol.svn_fs.SubversionConnector object at 0x508957ec>] )
note that I added some more to the error
message in the process of debugging this.
This error message only shows up while I am
logged in. I have anonymous access turned on for the timeline and I can view it
without error messages while I am not logged in.
Now comes the fun
part, if I change:
raise TracError,
'Unsupported version control system "%s" (connectors:%s )'
\
% (self.repository_type, self.connectors);
% (self.repository_type, self.connectors);
to
raise TracError,
'Unsupported version control system "%s" (connectors:%s : %s)'
\
% (self.repository_type, self.connectors, self.connectors[0].get_supported_types().next());
% (self.repository_type, self.connectors, self.connectors[0].get_supported_types().next());
the preceding
clauses succeed and the error is never raised. I cannot for the life of me
see what I changed so drastically in the raise error statement, that would cause
the thing throwing the error to work.
My "fix" was only
meant for debugging as it could raise an error as well, so I don't want to leave
it in, but I cannot even imagine what this could be changing. So my two
part question is this. Why is it failing to connect to subversion (only
when I'm logged in) and why does changing the raise statement fix the problem
that was raising the error.
Thanks in advance
for any help and sorry if I am just being ignorant,
Russ
Tyndall
Programmer
Acceleration.net
352-335-6500x125
Programmer
Acceleration.net
352-335-6500x125
_______________________________________________ Trac-dev mailing list [email protected] http://lists.edgewall.com/mailman/listinfo/trac-dev
