Edgewall Software
Modify

Opened 12 years ago

Last modified 12 years ago

#10896 new defect

Request-URI Too Large when submitting a Bug report

Reported by: info@… Owned by: Christian Boos
Priority: normal Milestone: not applicable
Component: general Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

It all begins with…

Oops…
Trac detected an internal error:
RuntimeError: maximum recursion depth exceeded
This is probably a local installation issue.

Yeah - sure. You wish. Well, if I try to create a new ticket by clicking on the provided create button

Otherwise, please [CREATE]  a new bug report describing the problem and explain how to reproduce it.

I get

Request-URI Too Large

The requested URL's length exceeds the capacity limit for this server.

from trac.edgewall.org

*Boom* No Bugreport. So I'll write it manually. ;-)

System information:

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.8 (KHTML, like Gecko) Chrome/23.0.1255.0 Safari/537.8

Trac 0.12.3 Babel 0.9.6 CustomFieldAdmin 0.2.6-r10460 Docutils 0.8.1 Genshi 0.6 mod_python 3.3.1 Pygments 1.5 pysqlite 2.6.3 Python 2.7.2 (default, Apr 1 2012, 02:49:31) [GCC 4.5.3] pytz 2011n setuptools 0.6 SQLite 3.7.11 Subversion 1.6.17 (r1128011) jQuery 1.4.4

Attachments (0)

Change History (6)

comment:1 by Christian Boos, 12 years ago

Milestone: not applicable
Owner: set to Christian Boos

Probably one of the following: search:"RuntimeError: maximum recursion depth exceeded"

If not, please provide at least the backtrace (so that we can see where it recurse).

You should find this backtrace in the log, normally.

I'll keep this one opened as a reminder to see if I can increase a bit more the allowed size of GET requests.

comment:2 by anonymous, 12 years ago

Well, the link above gives me "+0Start PageIndex The page RuntimeError does not exist. You can create it here."

Nevertheless, I don't think the other maximum recursion depth tickets apply here (although I do see, there is a large bias for dupes there :-))

traceback of the pre-submit error looks like

Python traceback

Most recent call last:
File "/usr/lib64/python2.7/site-packages/trac/web/main.py", line 522, in _dispatch_request
  dispatcher.dispatch(req)
File "/usr/lib64/python2.7/site-packages/trac/web/main.py", line 264, in dispatch
  content_type)
File "/usr/lib64/python2.7/site-packages/trac/web/chrome.py", line 870, in render_template
  encoding='utf-8')
File "/usr/lib64/python2.7/site-packages/genshi/core.py", line 183, in render
  return encode(generator, method=method, encoding=encoding, out=out)
File "/usr/lib64/python2.7/site-packages/genshi/output.py", line 58, in encode
  for chunk in iterator:
File "/usr/lib64/python2.7/site-packages/genshi/output.py", line 339, in __call__
  for kind, data, pos in stream:
File "/usr/lib64/python2.7/site-packages/genshi/output.py", line 826, in __call__
  for kind, data, pos in stream:
File "/usr/lib64/python2.7/site-packages/genshi/output.py", line 670, in __call__
  for kind, data, pos in stream:
File "/usr/lib64/python2.7/site-packages/genshi/output.py", line 771, in __call__
  for kind, data, pos in chain(stream, [(None, None, None)]):
File "/usr/lib64/python2.7/site-packages/genshi/output.py", line 586, in __call__
  for ev in stream:
File "/usr/lib64/python2.7/site-packages/genshi/core.py", line 272, in _ensure
  event = stream.next()
File "/usr/lib64/python2.7/site-packages/genshi/core.py", line 272, in _ensure
  event = stream.next()
File "/usr/lib64/python2.7/site-packages/trac/web/chrome.py", line 984, in _strip_accesskeys
  for kind, data, pos in stream:
File "/usr/lib64/python2.7/site-packages/genshi/core.py", line 272, in _ensure
  event = stream.next()
File "/usr/lib64/python2.7/site-packages/trac/web/chrome.py", line 973, in _generate
  for kind, data, pos in stream:
File "/usr/lib64/python2.7/site-packages/genshi/core.py", line 272, in _ensure
  event = stream.next()
File "/usr/lib64/python2.7/site-packages/genshi/core.py", line 272, in _ensure
  event = stream.next()
File "/usr/lib64/python2.7/site-packages/genshi/filters/transform.py", line 686, in _unmark
  for mark, event in stream:
File "/usr/lib64/python2.7/site-packages/timingandestimationplugin-1.1.9-py2.7.egg/timingandestimationplugin/tande_filters.py", line 95, in __call__
  for mark, event in stream:
File "/usr/lib64/python2.7/site-packages/genshi/filters/transform.py", line 714, in __call__
  for mark, event in stream:
File "/usr/lib64/python2.7/site-packages/genshi/filters/transform.py", line 682, in _mark
  for event in stream:
File "/usr/lib64/python2.7/site-packages/genshi/core.py", line 272, in _ensure
  event = stream.next()
File "/usr/lib64/python2.7/site-packages/genshi/filters/transform.py", line 686, in _unmark
  for mark, event in stream:
File "/usr/lib64/python2.7/site-packages/timingandestimationplugin-1.1.9-py2.7.egg/timingandestimationplugin/tande_filters.py", line 95, in __call__
  for mark, event in stream:
File "/usr/lib64/python2.7/site-packages/genshi/filters/transform.py", line 714, in __call__
  for mark, event in stream:
File "/usr/lib64/python2.7/site-packages/genshi/filters/transform.py", line 682, in _mark
  for event in stream:
File "/usr/lib64/python2.7/site-packages/genshi/core.py", line 272, in _ensure
  event = stream.next()
File "/usr/lib64/python2.7/site-packages/genshi/filters/transform.py", line 686, in _unmark
  for mark, event in stream:
File "/usr/lib64/python2.7/site-packages/genshi/filters/transform.py", line 1081, in __call__
  for mark, event in stream:
File "/usr/lib64/python2.7/site-packages/genshi/filters/transform.py", line 117, in __iter__
  event = self.stream.next()
File "/usr/lib64/python2.7/site-packages/genshi/filters/transform.py", line 714, in __call__
  for mark, event in stream:
File "/usr/lib64/python2.7/site-packages/genshi/filters/transform.py", line 682, in _mark
  for event in stream:
File "/usr/lib64/python2.7/site-packages/genshi/core.py", line 272, in _ensure
  event = stream.next()
File "/usr/lib64/python2.7/site-packages/genshi/filters/transform.py", line 686, in _unmark
  for mark, event in stream:
File "/usr/lib64/python2.7/site-packages/genshi/filters/transform.py", line 1081, in __call__
  for mark, event in stream:
File "/usr/lib64/python2.7/site-packages/genshi/filters/transform.py", line 117, in __iter__
  event = self.stream.next()
File "/usr/lib64/python2.7/site-packages/genshi/filters/transform.py", line 714, in __call__
  for mark, event in stream:
File "/usr/lib64/python2.7/site-packages/genshi/filters/transform.py", line 682, in _mark
  for event in stream:
File "/usr/lib64/python2.7/site-packages/genshi/core.py", line 272, in _ensure
etc. etc.

as you can see, the genshi core _ensure keeps repeating

comment:3 by anonymous, 12 years ago

And how it happened:

I was looking at the revision log page of some directory being at revision 431 (…?rev=431). When clicking on the link "view latest revision" → boom

in reply to:  2 comment:4 by Christian Boos, 12 years ago

Replying to anonymous:

Well, the link above gives me "+0Start PageIndex The page RuntimeError does not exist. You can create it here."

My bad… search:"!RuntimeError: maximum recursion depth exceeded"

Nevertheless, I don't think the other maximum recursion depth tickets apply here (although I do see, there is a large bias for dupes there :-))

traceback of the pre-submit error looks like

Python traceback
...
  for mark, event in stream:
File "/usr/lib64/python2.7/site-packages/timingandestimationplugin-1.1.9-py2.7.egg/timingandestimationplugin/tande_filters.py", line 95, in __call__
  for mark, event in stream:
File "/usr/lib64/python2.7/site-packages/genshi/filters/transform.py", line 714, in __call__
  for mark, event in stream:
File "/usr/lib64/python2.7/site-packages/genshi/filters/transform.py", line 682, in _mark
  for event in stream:
File "/usr/lib64/python2.7/site-packages/genshi/core.py", line 272, in _ensure
  event = stream.next()
File "/usr/lib64/python2.7/site-packages/genshi/filters/transform.py", line 686, in _unmark
  for mark, event in stream:
File "/usr/lib64/python2.7/site-packages/timingandestimationplugin-1.1.9-py2.7.egg/timingandestimationplugin/tande_filters.py", line 95, in __call__
  for mark, event in stream:
File "/usr/lib64/python2.7/site-packages/genshi/filters/transform.py", line 714, in __call__
etc. etc.

Looks like the TH:TimingAndEstimationPlugin plugin (timingandestimationplugin-1.1.9-py2.7.egg) might be doing something wrong with its transform filter.

You could verify that the problem goes when disabling that plugin, then try upgrading the plugin to see if the problem is still present in its latest version, and if so, report the bug to the plugin's maintainer.

comment:5 by anonymous, 12 years ago

nope

Most recent call last:
File "/usr/lib64/python2.7/site-packages/trac/web/main.py", line 522, in _dispatch_request
File "/usr/lib64/python2.7/site-packages/trac/web/main.py", line 264, in dispatch
File "/usr/lib64/python2.7/site-packages/trac/web/chrome.py", line 870, in render_template
File "/usr/lib64/python2.7/site-packages/genshi/core.py", line 183, in render
File "/usr/lib64/python2.7/site-packages/genshi/output.py", line 58, in encode
File "/usr/lib64/python2.7/site-packages/genshi/output.py", line 339, in __call__
File "/usr/lib64/python2.7/site-packages/genshi/output.py", line 826, in __call__
File "/usr/lib64/python2.7/site-packages/genshi/output.py", line 670, in __call__
File "/usr/lib64/python2.7/site-packages/genshi/output.py", line 771, in __call__
File "/usr/lib64/python2.7/site-packages/genshi/output.py", line 586, in __call__
File "/usr/lib64/python2.7/site-packages/genshi/core.py", line 272, in _ensure
File "/usr/lib64/python2.7/site-packages/genshi/core.py", line 272, in _ensure
File "/usr/lib64/python2.7/site-packages/trac/web/chrome.py", line 984, in _strip_accesskeys
File "/usr/lib64/python2.7/site-packages/genshi/core.py", line 272, in _ensure
File "/usr/lib64/python2.7/site-packages/trac/web/chrome.py", line 973, in _generate
File "/usr/lib64/python2.7/site-packages/genshi/core.py", line 272, in _ensure
File "/usr/lib64/python2.7/site-packages/genshi/core.py", line 272, in _ensure
File "/usr/lib64/python2.7/site-packages/genshi/filters/transform.py", line 686, in _unmark
File "/usr/lib64/python2.7/site-packages/genshi/filters/transform.py", line 1081, in __call__
File "/usr/lib64/python2.7/site-packages/genshi/filters/transform.py", line 117, in __iter__
File "/usr/lib64/python2.7/site-packages/genshi/filters/transform.py", line 714, in __call__
File "/usr/lib64/python2.7/site-packages/genshi/filters/transform.py", line 682, in _mark
File "/usr/lib64/python2.7/site-packages/genshi/core.py", line 272, in _ensure
File "/usr/lib64/python2.7/site-packages/genshi/filters/transform.py", line 686, in _unmark
File "/usr/lib64/python2.7/site-packages/genshi/filters/transform.py", line 1081, in __call__
File "/usr/lib64/python2.7/site-packages/genshi/filters/transform.py", line 117, in __iter__
File "/usr/lib64/python2.7/site-packages/genshi/filters/transform.py", line 714, in __call__
File "/usr/lib64/python2.7/site-packages/genshi/filters/transform.py", line 682, in _mark
File "/usr/lib64/python2.7/site-packages/genshi/core.py", line 272, in _ensure
etc. etc.

timingandestimation plugin is disabled in trac.ini (although the admin/plugins page still says enabled)

comment:6 by Christian Boos, 12 years ago

Some other plugin? Can't happen with Trac alone, so please identify the problematic plugin.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Christian Boos.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from Christian Boos to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.