Modify ↓
#11885 closed defect (fixed)
AttributeError: 'RepositoryManager' object has no attribute 'repository_sync_per_request'
| Reported by: | Peter Suter | Owned by: | Peter Suter |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.1.3 |
| Component: | version control | Version: | 1.1dev |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: |
Fixed regression in [13393] due to use of removed |
||
| API Changes: | |||
| Internal Changes: | |||
Description (last modified by )
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.
Attachments (0)
Change History (3)
comment:1 by , 11 years ago
| Description: | modified (diff) |
|---|
comment:2 by , 11 years ago
| Release Notes: | modified (diff) |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
comment:3 by , 11 years ago
| Owner: | set to |
|---|
Note:
See TracTickets
for help on using tickets.



Thanks, fixed in [13544].
I'd like to do something about the instances of
repos.reponame or '(default)'all over the codebase, perhaps adding arepos.dispnameattribute. I'll leave that for another day.