Edgewall Software

Opened 8 years ago

Last modified 8 years ago

#11885 closed defect

AttributeError: 'RepositoryManager' object has no attribute 'repository_sync_per_request' — at Version 1

Reported by: Peter Suter Owned by:
Priority: normal Milestone: 1.1.3
Component: version control Version: 1.1dev
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Peter Suter)

trac-admin command changeset added fails:

2014-12-18 14:22:09,726 Trac[console] ERROR: Exception in trac-admin command: 
Traceback (most recent call last):
  File "build\bdist.win32\egg\trac\admin\console.py", line 107, in onecmd
    rv = cmd.Cmd.onecmd(self, line) or 0
  File "C:\Python26\Lib\cmd.py", line 218, in onecmd
    return self.default(line)
  File "build\bdist.win32\egg\trac\admin\console.py", line 285, in default
    return self.cmd_mgr.execute_command(*args)
  File "build\bdist.win32\egg\trac\admin\api.py", line 127, in execute_command
    return f(*fargs)
  File "build\bdist.win32\egg\trac\versioncontrol\admin.py", line 96, in _do_changeset_added
    errors = rm.notify('changeset_added', reponame, revs)
  File "build\bdist.win32\egg\trac\versioncontrol\api.py", line 666, in notify
    if reponame in self.repository_sync_per_request:
AttributeError: 'RepositoryManager' object has no attribute 'repository_sync_per_request'

It seems to be related to #11756 and #11776:

In #11756 RepositoryManager.repository_sync_per_request gets used on 1.0-stable in [13337], merged to trunk in [13338].

In #11776 RepositoryManager.repository_sync_per_request gets incompletly removed on trunk in [13393]. The new usage remains and fails.

Change History (1)

comment:1 by Peter Suter, 8 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.