Modify ↓
Opened 16 years ago
Closed 11 years ago
#5219 closed defect (duplicate)
Revtree page stops with StopIteration:
Reported by: | Owned by: | Emmanuel Blot | |
---|---|---|---|
Priority: | normal | Component: | RevtreePlugin |
Severity: | normal | Keywords: | RevtreePlugin stopiteration |
Cc: | bfisk@… | Trac Release: | 0.11 |
Description (last modified by )
Trac 0.11.4 revtreeplugin-r5698
After installing the revtree plugin, it shows up in the menu but when I go to the revtree page I get the following:
Trac detected an internal error: StopIteration: Most recent call last: * File "/usr/lib/python2.4/site-packages/Trac-0.11.4-py2.4.egg/trac/web/main.py", line 435, in _dispatch_request Code fragment: 430. try: 431. if not env and env_error: 432. raise HTTPInternalError(env_error) 433. try: 434. dispatcher = RequestDispatcher(env) 435. dispatcher.dispatch(req) 436. except RequestDone: 437. pass 438. resp = req._response or [] 439. 440. except HTTPException, e: Local variables: Name Value after [u' except RequestDone:', u' pass', u' resp = ... before [u' try:', u' if not env and env_error:', u' raise ... dispatcher <trac.web.main.RequestDispatcher object at 0x2ba719be4110> e <exceptions.StopIteration instance at 0x2ba71b44cfc8> env <trac.env.Environment object at 0x2ba7185dfb10> env_error None exc_info (<class exceptions.StopIteration at 0x2ba7147d1110>, ... filename '/usr/lib/python2.4/site-packages/Trac-0.11.4-py2.4.egg/trac/web/main.py' frames [{'function': '_dispatch_request', 'lines_before': [u' try:', u' ... has_admin True line u' dispatcher.dispatch(req)' lineno 434 message u'StopIteration: ' req <Request "GET u'/revtree'"> resp [] tb <traceback object at 0x2ba71d66d560> tb_hide None traceback u'Traceback (most recent call last):\n File ... * File "/usr/lib/python2.4/site-packages/Trac-0.11.4-py2.4.egg/trac/web/main.py", line 205, in dispatch Code fragment: 200. req.args.get('__FORM_TOKEN') != req.form_token: 201. raise HTTPBadRequest('Missing or invalid form token. ' 202. 'Do you have cookies enabled?') 203. 204. # Process the request and render the template 205. resp = chosen_handler.process_request(req) 206. if resp: 207. if len(resp) == 2: # Clearsilver 208. chrome.populate_hdf(req) 209. template, content_type = \ 210. self._post_process_request(req, *resp) Local variables: Name Value chosen_handler <revtree.web_ui.RevtreeModule object at 0x2ba719be4410> chrome <trac.web.chrome.Chrome object at 0x2ba719610fd0> err (<class exceptions.StopIteration at 0x2ba7147d1110>, ... handler <revtree.web_ui.RevtreeModule object at 0x2ba719be4410> req <Request "GET u'/revtree'"> self <trac.web.main.RequestDispatcher object at 0x2ba719be4110> * File "build/bdist.linux-x86_64/egg/revtree/web_ui.py", line 246, in process_request Local variables: Name Value req <Request "GET u'/revtree'"> self <revtree.web_ui.RevtreeModule object at 0x2ba719be4410> * File "build/bdist.linux-x86_64/egg/revtree/web_ui.py", line 356, in _process_revtree Local variables: Name Value authors [u'stuart', u'warren', u'bsellner', u'boris@seegrid.com', ... branches [] data {'style': u'compact', 'limits': 'limperiod', 'author': ... hidetermbranch True oldest 1 repos <revtree.model.Repository object at 0x2ba71b4b2910> req <Request "GET u'/revtree'"> revstore <revtree.web_ui.RevtreeStore object at 0x2ba719be4810> sauthors ['bfisk@seegrid.com'] sbranches None self <revtree.web_ui.RevtreeModule object at 0x2ba719be4410> svgrevtree <revtree.svgview.SvgRevtree object at 0x2ba71b4a5bd0> timebase 1241998863 tracrepos <trac.versioncontrol.cache.CachedRepository object at 0x2ba71b44fb50> youngest 11040 * File "build/bdist.linux-x86_64/egg/revtree/model.py", line 446, in build Local variables: Name Value bcre <_sre.SRE_Pattern object at 0x2ba719c01ef0> c <trac.versioncontrol.cache.CachedChangeset object at 0x2ba71cd94dd0> chgset <revtree.model.BranchChangeset object at 0x2ba71d695450> dtstart datetime.datetime(1970, 1, 1, 0, 0, tzinfo=<FixedOffset "UTC" 0:00:00>) dtstop datetime.datetime(2009, 5, 10, 23, 41, 3, tzinfo=<FixedOffset "UTC" ... info {'kind': 'file', 'base_rev': u'2106', 'base_path': ... mo <_sre.SRE_Match object at 0x2ba71b451990> mo_dict {u'path': u'trunk/hardware/pmac/firmware/src/updateLocalization.pmc', ... rev 2243 revmax 11040 revmin 1 revrange (1, 11040) self <revtree.model.Repository object at 0x2ba71b4b2910> start 0 stop 1241998863 timerange None vc <trac.versioncontrol.cache.CachedChangeset object at 0x2ba71c93d490> vcchangesets <generator object at 0x2ba71b4523b0> vcsort [(11040, <trac.versioncontrol.cache.CachedChangeset object at ... * File "build/bdist.linux-x86_64/egg/revtree/model.py", line 51, in get_chgset_info
Attachments (0)
Change History (5)
comment:1 Changed 16 years ago by
comment:3 Changed 14 years ago by
Keywords: | RevtreePlugin added; revtree removed |
---|
comment:4 Changed 14 years ago by
Description: | modified (diff) |
---|
comment:5 Changed 11 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Duplicated/tracked as #9231
Note: See
TracTickets for help on using
tickets.
Same here