Opened 15 years ago
Closed 15 years ago
#9175 closed defect (worksforme)
KeyError: contextall
Reported by: | Owned by: | Remy Blank | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.12dev |
Severity: | normal | Keywords: | needinfo |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
When click in "Last Change" in Browser Source then produce this error. I see this changeset that could affect.
http://trac.edgewall.org/changeset/9322/trunk/trac/versioncontrol/web_ui/changeset.py
Thanks
How to Reproduce
While doing a GET operation on /changeset
, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'new': u'289@/', 'old': u'289@/', 'reponame': u''}
User Agent was: Mozilla/5.0 (Windows; U; Windows NT 6.1; es-ES; rv:1.9.2.2) Gecko/20100316 Firefox/3.6.2
System Information
Trac | 0.12dev-r0
|
Babel | 1.0dev-r0
|
CustomFieldAdmin | 0.2.2
|
Genshi | 0.6dev-r1096
|
mod_wsgi | 2.5 (WSGIProcessGroup WSGIApplicationGroup OTPSERVER.gobiernodecanarias.net|/trac)
|
MySQL | server: "5.1.37-1ubuntu5.1", client: "5.1.37", thread-safe: 1
|
MySQLdb | 1.2.2
|
Pygments | 1.0
|
Python | 2.6.4 (r264:75706, Dec 7 2009, 18:59:58) [GCC 4.4.1]
|
RPC | 1.0.6
|
setuptools | 0.6c9
|
Subversion | 1.6.5 (r38866)
|
jQuery | 1.4.1
|
Enabled Plugins
graphviz | 0.7.6dev
|
PageAuthzPolicyEditor | 0.12dev-r0
|
TracCustomFieldAdmin | 0.2.2
|
TracIncludeMacro | 2.1
|
TracMasterTickets | 2.1.3-viz4
|
TracSearchAttachmentsPlugin | 0.2
|
TracSVNAuthz | 0.11.1.1
|
TracTocMacro | 11.0.0.3
|
TracWikiExport | 1.1
|
TracWikiNotification | 0.2.1
|
TracWysiwyg | 0.2-r0
|
TracXMLRPC | 1.0.6
|
Python Traceback
Traceback (most recent call last): File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 499, in _dispatch_request dispatcher.dispatch(req) File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 231, in dispatch resp = chosen_handler.process_request(req) File "build/bdist.linux-x86_64/egg/trac/versioncontrol/web_ui/changeset.py", line 322, in process_request diff_opts['contextlines'], diff_opts['contextall'], KeyError: 'contextall'
Attachments (0)
Change History (3)
comment:1 by , 15 years ago
Milestone: | → 0.12 |
---|---|
Owner: | set to |
comment:2 by , 15 years ago
Keywords: | needinfo added |
---|
I don't understand how this can happen. In process_request()
, get_diff_options()
is called unconditionally, and the diff_opts
dict always contains a "contextall"
key.
Can you give us the Trac revision that you are running? Your setuptools stripped it (you may want to update setuptools, too).
Could you also try disabling all your plugins and try to reproduce the issue? If it disappears, add each plugin one at a time, and retry, until you find the faulty plugin.
comment:3 by , 15 years ago
Milestone: | 0.12 |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
No news, closing. Please reopen if you can reproduce the issue with all plugins disabled.
I'll check that. Thanks for the bug report.