incubator-bloodhound-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Bloodhound" <bloodhound-...@incubator.apache.org>
Subject [Apache Bloodhound] #118: Dashboard bug on retrieving ticket details on OS X
Date Thu, 28 Jun 2012 14:32:58 GMT
#118: Dashboard bug on retrieving ticket details on OS X
-----------------------+--------------------
 Reporter:  jdreimann  |      Owner:  nobody
     Type:  defect     |     Status:  new
 Priority:  major      |  Milestone:
Component:  dashboard  |    Version:
 Keywords:             |
-----------------------+--------------------
 The below error was thrown when trying to view the Dashboard. I had
 previously removed Bloodhound completely and re-installed it. All other
 environment details are disclosed in the bug report:

 ==== How to Reproduce ====

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

 ''(please provide additional details here)''

 Request parameters:
 {{{
 {'id': u'1'}
 }}}

 User agent: `Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4)
 AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5`

 ==== System Information ====
 || '''`Trac`''' || `0.13dev-r1352517` ||
 || '''`Babel`''' || `0.9.6` ||
 || '''`Genshi`''' || `0.6` ||
 || '''`Pygments`''' || `1.5` ||
 || '''`pysqlite`''' || `2.6.0` ||
 || '''`Python`''' || `2.7.1 (r271:86832, Jun 25 2011, 05:09:01) ` [[br]]
 `[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)]` ||
 || '''`pytz`''' || `2012c` ||
 || '''`setuptools`''' || `0.6c11` ||
 || '''`SQLite`''' || `3.7.7` ||
 || '''`Subversion`''' || `1.6.16 (r1073529)` ||
 || '''`jQuery`''' || `1.7.2` ||

 ==== Enabled Plugins ====
 || '''`BloodhoundDashboardPlugin`''' || `1.0.0` ||
 || '''`BloodhoundMultiProduct`''' || `0.0.1` ||
 || '''`BloodhoundTheme`''' || `1.0.1` ||
 || '''`TracAccountManager`''' || `0.3.2` ||
 || '''`TracPermRedirect`''' || `2.0` ||
 || '''`TracThemeEngine`''' || `2.0.1` ||

 ==== Python Traceback ====
 {{{
 Traceback (most recent call last):
   File
 "/Users/WANdisco/Desktop/Bloodhound/svn/trunk/trac/trac/web/main.py", line
 480, in _dispatch_request
     dispatcher.dispatch(req)
   File
 "/Users/WANdisco/Desktop/Bloodhound/svn/trunk/trac/trac/web/main.py", line
 217, in dispatch
     content_type)
   File
 "/Users/WANdisco/Desktop/Bloodhound/svn/trunk/trac/trac/web/chrome.py",
 line 1022, in render_template
     encoding='utf-8')
   File
 "/Users/WANdisco/Desktop/Bloodhound/svn/trunk/installer/bloodhound/lib/python2.7
 /site-packages/genshi/core.py", line 183, in render
     return encode(generator, method=method, encoding=encoding, out=out)
   File
 "/Users/WANdisco/Desktop/Bloodhound/svn/trunk/installer/bloodhound/lib/python2.7
 /site-packages/genshi/output.py", line 58, in encode
     for chunk in iterator:
   File
 "/Users/WANdisco/Desktop/Bloodhound/svn/trunk/installer/bloodhound/lib/python2.7
 /site-packages/genshi/output.py", line 339, in __call__
     for kind, data, pos in stream:
   File
 "/Users/WANdisco/Desktop/Bloodhound/svn/trunk/installer/bloodhound/lib/python2.7
 /site-packages/genshi/output.py", line 826, in __call__
     for kind, data, pos in stream:
   File
 "/Users/WANdisco/Desktop/Bloodhound/svn/trunk/installer/bloodhound/lib/python2.7
 /site-packages/genshi/output.py", line 670, in __call__
     for kind, data, pos in stream:
   File
 "/Users/WANdisco/Desktop/Bloodhound/svn/trunk/installer/bloodhound/lib/python2.7
 /site-packages/genshi/output.py", line 771, in __call__
     for kind, data, pos in chain(stream, [(None, None, None)]):
   File
 "/Users/WANdisco/Desktop/Bloodhound/svn/trunk/installer/bloodhound/lib/python2.7
 /site-packages/genshi/output.py", line 586, in __call__
     for ev in stream:
   File
 "/Users/WANdisco/Desktop/Bloodhound/svn/trunk/installer/bloodhound/lib/python2.7
 /site-packages/genshi/core.py", line 288, in _ensure
     for event in stream:
   File
 "/Users/WANdisco/Desktop/Bloodhound/svn/trunk/installer/bloodhound/lib/python2.7
 /site-packages/genshi/core.py", line 288, in _ensure
     for event in stream:
   File
 "/Users/WANdisco/Desktop/Bloodhound/svn/trunk/trac/trac/web/chrome.py",
 line 1161, in _strip_accesskeys
     for kind, data, pos in stream:
   File
 "/Users/WANdisco/Desktop/Bloodhound/svn/trunk/installer/bloodhound/lib/python2.7
 /site-packages/genshi/core.py", line 288, in _ensure
     for event in stream:
   File
 "/Users/WANdisco/Desktop/Bloodhound/svn/trunk/trac/trac/web/chrome.py",
 line 1150, in _generate
     for kind, data, pos in stream:
   File
 "/Users/WANdisco/Desktop/Bloodhound/svn/trunk/installer/bloodhound/lib/python2.7
 /site-packages/genshi/core.py", line 288, in _ensure
     for event in stream:
   File
 "/Users/WANdisco/Desktop/Bloodhound/svn/trunk/installer/bloodhound/lib/python2.7
 /site-packages/genshi/core.py", line 288, in _ensure
     for event in stream:
   File
 "/Users/WANdisco/Desktop/Bloodhound/svn/trunk/installer/bloodhound/lib/python2.7
 /site-packages/genshi/filters/transform.py", line 686, in _unmark
     for mark, event in stream:
   File
 "/Users/WANdisco/Desktop/Bloodhound/svn/trunk/installer/bloodhound/lib/python2.7
 /site-packages/genshi/filters/transform.py", line 1175, in __call__
     for mark, (kind, data, pos) in stream:
   File
 "/Users/WANdisco/Desktop/Bloodhound/svn/trunk/installer/bloodhound/lib/python2.7
 /site-packages/genshi/filters/transform.py", line 714, in __call__
     for mark, event in stream:
   File
 "/Users/WANdisco/Desktop/Bloodhound/svn/trunk/installer/bloodhound/lib/python2.7
 /site-packages/genshi/filters/transform.py", line 779, in __call__
     for mark, event in stream:
   File
 "/Users/WANdisco/Desktop/Bloodhound/svn/trunk/installer/bloodhound/lib/python2.7
 /site-packages/genshi/filters/transform.py", line 726, in __call__
     mark, subevent = next()
   File
 "/Users/WANdisco/Desktop/Bloodhound/svn/trunk/installer/bloodhound/lib/python2.7
 /site-packages/genshi/filters/transform.py", line 682, in _mark
     for event in stream:
   File
 "/Users/WANdisco/Desktop/Bloodhound/svn/trunk/installer/bloodhound/lib/python2.7
 /site-packages/genshi/template/base.py", line 605, in _include
     for event in stream:
   File
 "/Users/WANdisco/Desktop/Bloodhound/svn/trunk/installer/bloodhound/lib/python2.7
 /site-packages/genshi/template/markup.py", line 378, in _match
     ctxt, start=idx + 1, **vars):
   File
 "/Users/WANdisco/Desktop/Bloodhound/svn/trunk/installer/bloodhound/lib/python2.7
 /site-packages/genshi/template/markup.py", line 378, in _match
     ctxt, start=idx + 1, **vars):
   File
 "/Users/WANdisco/Desktop/Bloodhound/svn/trunk/installer/bloodhound/lib/python2.7
 /site-packages/genshi/template/markup.py", line 378, in _match
     ctxt, start=idx + 1, **vars):
   File
 "/Users/WANdisco/Desktop/Bloodhound/svn/trunk/installer/bloodhound/lib/python2.7
 /site-packages/genshi/template/markup.py", line 327, in _match
     for event in stream:
   File
 "/Users/WANdisco/Desktop/Bloodhound/svn/trunk/installer/bloodhound/lib/python2.7
 /site-packages/genshi/template/base.py", line 565, in _flatten
     result = _eval_expr(data, ctxt, vars)
   File
 "/Users/WANdisco/Desktop/Bloodhound/svn/trunk/installer/bloodhound/lib/python2.7
 /site-packages/genshi/template/base.py", line 277, in _eval_expr
     retval = expr.evaluate(ctxt)
   File
 "/Users/WANdisco/Desktop/Bloodhound/svn/trunk/installer/bloodhound/lib/python2.7
 /site-packages/genshi/template/eval.py", line 178, in evaluate
     return eval(self.code, _globals, {'__data__': data})
   File
 "/Users/WANdisco/Desktop/Bloodhound/svn/trunk/bloodhound_dashboard/bhdashboard/layouts/templates/widget_macros.html",
 line 95, in <Expression u"widget_container(bhdb.expand_widget(context,
 dict(args=[wnm, None, {'args': args}], altlinks=altlinks,
 ctxtnav=ctxtnav)))">
     ${widget_container(bhdb.expand_widget(context, dict(args=[wnm, None,
 {'args': args}], altlinks=altlinks, ctxtnav=ctxtnav)))}
   File
 "/Users/WANdisco/Desktop/Bloodhound/svn/trunk/bloodhound_dashboard/bhdashboard/web_ui/__init__.py",
 line 307, in expand_widget
   File
 "/Users/WANdisco/Desktop/Bloodhound/svn/trunk/bloodhound_dashboard/bhdashboard/web_ui/__init__.py",
 line 250, in expand_widget_data
   File
 "/Users/WANdisco/Desktop/Bloodhound/svn/trunk/bloodhound_dashboard/bhdashboard/web_ui/__init__.py",
 line 246, in <genexpr>
   File
 "/Users/WANdisco/Desktop/Bloodhound/svn/trunk/bloodhound_dashboard/bhdashboard/web_ui/__init__.py",
 line 245, in <genexpr>
   File
 "/Users/WANdisco/Desktop/Bloodhound/svn/trunk/bloodhound_dashboard/bhdashboard/util.py",
 line 130, in widget_name_checker
     return f(self, name, *args, **kwargs)
   File
 "/Users/WANdisco/Desktop/Bloodhound/svn/trunk/bloodhound_dashboard/bhdashboard/widgets/timeline.py",
 line 89, in render_widget
     self.bind_params(name, options, *params)
   File
 "/Users/WANdisco/Desktop/Bloodhound/svn/trunk/bloodhound_dashboard/bhdashboard/api.py",
 line 131, in <genexpr>
     return (get_and_check(param) for param in params)
   File
 "/Users/WANdisco/Desktop/Bloodhound/svn/trunk/bloodhound_dashboard/bhdashboard/api.py",
 line 122, in get_and_check
     return argtype(options['args'][p])
 TypeError: 'Stream' object is not subscriptable
 }}}

-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/118>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound (incubating) issue tracker

Mime
View raw message