On 10/29/2010 12:36 AM, RKTexas wrote:
==== How to Reproduce ====

While doing a GET operation on ``, Trac issued an internal error.

''(please provide additional details here)''

Request parameters:
{{{
{}
}}}

User agent: `#USER_AGENT#`

==== System Information ====
''System information not available''

==== Enabled Plugins ====
''Plugin information not available''

==== Python Traceback ====
{{{
Traceback (most recent call last):
   File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 513,
in _dispatch_request
     dispatcher.dispatch(req)
   File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 200,
in dispatch
     chosen_handler)
   File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 346,
in _pre_process_request
     chosen_handler = filter_.pre_process_request(req, chosen_handler)
   File "/usr/lib/python2.4/site-packages/trac/versioncontrol/api.py",
line 330, in pre_process_request
     repo = self.get_repository(reponame)
   File "/usr/lib/python2.4/site-packages/trac/versioncontrol/api.py",
line 503, in get_repository
     repoinfo = self.get_all_repositories().get(reponame, {})
   File "/usr/lib/python2.4/site-packages/trac/versioncontrol/api.py",
line 571, in get_all_repositories
     for reponame, info in provider.get_repositories() or []:
   File "/usr/lib/python2.4/site-packages/trac/versioncontrol/api.py",
line 120, in get_repositories
     repos.setdefault(id, {})[name] = value
TypeError: unhashable type
}}}


What's the value of "name" here? If you're logged in with an user having the TRAC_ADMIN permission, you'll get to see the values of variables in each stack frame, which would be git useful here.

Also, it would help to give a bit more context: the Trac version, the repositories you have configured (and how), what was the exact action which triggered this error, etc.

-- Christian

--
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to