[kforge-dev] trac tests - what a mess!
John Bywater
john.bywater at appropriatesoftware.net
Thu Oct 11 17:05:34 UTC 2007
Hi Rufus,
I wasted several hours this afternoon with KForge. I'm totally
unimpressed that these tests don't actually work. I blame the crap
testing regime I've been forced to accept. Any idea what the following
is all about? I'm running Debian stable.
Bored, bored, bored.....
John.
======================================================================
ERROR: test_TracProjectEnvironmentCreate
(kforge.plugin.trac.commandtest.TestTracCommands)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/john/kforged/lib/python/kforge/plugin/trac/commandtest.py",
line 71, in test_TracProjectEnvironmentCreate
self.command.execute()
File "/home/john/kforged/lib/python/kforge/plugin/trac/command.py",
line 96, in execute
self.createTracProjectEnvironment()
File "/home/john/kforged/lib/python/kforge/plugin/trac/command.py",
line 148, in createTracProjectEnvironment
self.raiseError(msg)
File "/home/john/kforged/lib/python/dm/command/base.py", line 46, in
raiseError
raise exceptionClass(message)
KforgeCommandError: Creation of trac project environment failed(cmd
was: trac-admin
/home/john/kforged/var/project_data/annakarenina/trac/24 initenv 24
sqlite:db/trac.db svn
/home/john/kforged/var/project_data/annakarenina/svn/23
/usr/share/trac/templates) (output was: Traceback (most recent call
last):
File "/var/lib/python-support/python2.4/trac/scripts/admin.py", line
628, in do_initenv
repos = self.__env.get_repository()
File "/var/lib/python-support/python2.4/trac/env.py", line 195, in
get_repository
return RepositoryManager(self).get_repository(authname)
File "/var/lib/python-support/python2.4/trac/versioncontrol/api.py",
line 101, in get_repository
repos = self._connector.get_repository(rtype, rdir, authname)
File "/var/lib/python-support/python2.4/trac/versioncontrol/svn_fs.py",
line 260, in get_repository
crepos = CachedRepository(self.env.get_db_cnx(), repos, None, self.log)
File "/var/lib/python-support/python2.4/trac/versioncontrol/cache.py",
line 39, in __init__
self.sync()
File "/var/lib/python-support/python2.4/trac/versioncontrol/cache.py",
line 143, in sync
cset = self.repos.get_changeset(next_youngest)
File "/var/lib/python-support/python2.4/trac/versioncontrol/svn_fs.py",
line 346, in get_changeset
self.fs_ptr, self.pool)
File "/var/lib/python-support/python2.4/trac/versioncontrol/svn_fs.py",
line 638, in __init__
message = self._get_prop(core.SVN_PROP_REVISION_LOG)
File "/var/lib/python-support/python2.4/trac/versioncontrol/svn_fs.py",
line 729, in _get_prop
return fs.revision_prop(self.fs_ptr, self.rev, name, self.pool())
File "/var/lib/python-support/python2.4/libsvn/fs.py", line 570, in
svn_fs_revision_prop
return apply(_fs.svn_fs_revision_prop, args)
SubversionException: ('No such revision 1', 160006)
More information about the kforge-dev
mailing list