Modify ↓
Opened 15 years ago
Closed 15 years ago
#9545 closed defect (worksforme)
TypeError: __init__() takes exactly 4 arguments (5 given)
| Reported by: | admin | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | plugin/mercurial | Version: | 0.12 |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
How to Reproduce
While doing a GET operation on /admin, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'cat_id': None, 'panel_id': None, 'path_info': None}
User agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
System Information
Trac | 0.12
|
Genshi | 0.6
|
Mercurial | 1.5.1
|
MySQL | server: "5.0.51a-24+lenny3", client: "5.0.51a", thread-safe: 1
|
MySQLdb | 1.2.3
|
Python | 2.5.2 (r252:60911, Jan 24 2010, 14:53:14) [GCC 4.3.2]
|
setuptools | 0.6c11
|
jQuery | 1.4.2
|
Enabled Plugins
TracAccountManager | 0.2.1dev-r5837
|
TracMercurial | 0.12.0.9dev-r8808
|
Python Traceback
Traceback (most recent call last):
File "build/bdist.linux-i686/egg/trac/web/main.py", line 513, in _dispatch_request
dispatcher.dispatch(req)
File "build/bdist.linux-i686/egg/trac/web/main.py", line 200, in dispatch
chosen_handler)
File "build/bdist.linux-i686/egg/trac/web/main.py", line 346, in _pre_process_request
chosen_handler = filter_.pre_process_request(req, chosen_handler)
File "build/bdist.linux-i686/egg/trac/versioncontrol/api.py", line 330, in pre_process_request
repo = self.get_repository(reponame)
File "build/bdist.linux-i686/egg/trac/versioncontrol/api.py", line 526, in get_repository
repos = connector.get_repository(rtype, rdir, repoinfo.copy())
File "/downloads/mercurial-plugin-0.12/tracext/hg/backend.py", line 243, in get_repository
repos = MercurialRepository(dir, options, self.log, self.ui)
File "/downloads/mercurial-plugin-0.12/tracext/hg/backend.py", line 346, in __init__
Repository.__init__(self, 'hg:%s' % path, params, None, log)
TypeError: __init__() takes exactly 4 arguments (5 given)
Attachments (0)
Change History (1)
comment:1 by , 15 years ago
| Component: | general → plugin/mercurial |
|---|---|
| Resolution: | → worksforme |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.



Please have a look at TracMercurial#Releases, the above version was OK for the MultiRepos branch, not for the released Trac 0.12.