You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bloodhound.apache.org by Apache Bloodhound <bl...@incubator.apache.org> on 2012/06/28 16:32:58 UTC
[Apache Bloodhound] #118: Dashboard bug on retrieving ticket
details on OS X
#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
Re: [Apache Bloodhound] #118: Dashboard bug on retrieving ticket
details on OS X
Posted by Apache Bloodhound <bl...@incubator.apache.org>.
#118: Dashboard bug on retrieving ticket details on OS X
------------------------+--------------------
Reporter: jdreimann | Owner: nobody
Type: defect | Status: new
Priority: major | Milestone:
Component: dashboard | Version:
Resolution: | Keywords:
------------------------+--------------------
Comment (by gjm):
This is just to note that a fresh install on ubuntu has not shown the same
error on displaying the dashboard so this appears to need to be looked at
on OS X.
--
Ticket URL: <https://issues.apache.org/bloodhound/ticket/118#comment:1>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound (incubating) issue tracker
Re: [Apache Bloodhound] #118: Dashboard bug on retrieving ticket
details on OS X
Posted by Apache Bloodhound <bl...@incubator.apache.org>.
#118: Dashboard bug on retrieving ticket details on OS X
------------------------+-------------------------------------
Reporter: jdreimann | Owner: nobody
Type: defect | Status: closed
Priority: major | Milestone: RC1 for initial release
Component: dashboard | Version:
Resolution: fixed | Keywords:
------------------------+-------------------------------------
Changes (by gjm):
* status: new => closed
* resolution: => fixed
Comment:
I take it that this closes the ticket then.
--
Ticket URL: <https://issues.apache.org/bloodhound/ticket/118#comment:8>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound (incubating) issue tracker
Re: [Apache Bloodhound] #118: Dashboard bug on retrieving ticket
details on OS X
Posted by Apache Bloodhound <bl...@incubator.apache.org>.
#118: Dashboard bug on retrieving ticket details on OS X
------------------------+-------------------------------------
Reporter: jdreimann | Owner: nobody
Type: defect | Status: new
Priority: major | Milestone: RC1 for initial release
Component: dashboard | Version:
Resolution: | Keywords:
------------------------+-------------------------------------
Comment (by jdreimann):
Replying to [comment:2 olemis]:
> IOW what's the output after executing the following commands ? (...)
{{{
Path: .
URL:
https://jdreimann@svn.apache.org/repos/asf/incubator/bloodhound/trunk/bloodhound_dashboard
Repository Root: https://jdreimann@svn.apache.org/repos/asf
Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
Revision: 1355015
Node Kind: directory
Schedule: normal
Last Changed Author: gjm
Last Changed Rev: 1354926
Last Changed Date: 2012-06-28 13:15:16 +0200 (Thu, 28 Jun 2012)
}}}
This was just about an hour before this ticket was created, and was the
latest revision at the time.
--
Ticket URL: <https://issues.apache.org/bloodhound/ticket/118#comment:5>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound (incubating) issue tracker
Re: [Apache Bloodhound] #118: Dashboard bug on retrieving ticket
details on OS X
Posted by Apache Bloodhound <bl...@incubator.apache.org>.
#118: Dashboard bug on retrieving ticket details on OS X
------------------------+-------------------------------------
Reporter: jdreimann | Owner: nobody
Type: defect | Status: new
Priority: major | Milestone: RC1 for initial release
Component: dashboard | Version:
Resolution: | Keywords:
------------------------+-------------------------------------
Changes (by gjm):
* milestone: => RC1 for initial release
--
Ticket URL: <https://issues.apache.org/bloodhound/ticket/118#comment:4>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound (incubating) issue tracker
Re: [Apache Bloodhound] #118: Dashboard bug on retrieving ticket
details on OS X
Posted by Apache Bloodhound <bl...@incubator.apache.org>.
#118: Dashboard bug on retrieving ticket details on OS X
------------------------+-------------------------------------
Reporter: jdreimann | Owner: nobody
Type: defect | Status: new
Priority: major | Milestone: RC1 for initial release
Component: dashboard | Version:
Resolution: | Keywords:
------------------------+-------------------------------------
Comment (by gjm):
Oh, I think I spot something.. could you run this from the {{{trunk}}}
directory, Joe?
{{{
find . -name *.pyc -delete
}}}
--
Ticket URL: <https://issues.apache.org/bloodhound/ticket/118#comment:6>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound (incubating) issue tracker
Re: [Apache Bloodhound] #118: Dashboard bug on retrieving ticket
details on OS X
Posted by Apache Bloodhound <bl...@incubator.apache.org>.
#118: Dashboard bug on retrieving ticket details on OS X
------------------------+--------------------
Reporter: jdreimann | Owner: nobody
Type: defect | Status: new
Priority: major | Milestone:
Component: dashboard | Version:
Resolution: | Keywords:
------------------------+--------------------
Comment (by olemis):
Is it a local svn working copy ? If so ... what's active revision ? IOW
what's the output after executing the following commands ?
{{{
#!sh
$ cd /Users/WANdisco/Desktop/Bloodhound/svn/trunk/bloodhound_dashboard/
$ svn info
}}}
--
Ticket URL: <https://issues.apache.org/bloodhound/ticket/118#comment:2>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound (incubating) issue tracker
Re: [Apache Bloodhound] #118: Dashboard bug on retrieving ticket
details on OS X
Posted by Apache Bloodhound <bl...@incubator.apache.org>.
#118: Dashboard bug on retrieving ticket details on OS X
------------------------+--------------------
Reporter: jdreimann | Owner: nobody
Type: defect | Status: new
Priority: major | Milestone:
Component: dashboard | Version:
Resolution: | Keywords:
------------------------+--------------------
Comment (by gjm):
Replying to [comment:2 olemis]:
> Is it a local svn working copy ? If so ... what's active revision ? IOW
what's the output after executing the following commands ?
>
> {{{
> #!sh
>
> $ cd /Users/WANdisco/Desktop/Bloodhound/svn/trunk/bloodhound_dashboard/
> $ svn info
>
> }}}
it may be a little difficult to get definitive answers to that now
although as jdreimann may not be available for a bit. I believe that I
made sure he svn upped to the latest versions of bloodhound_dashboard and
bloodhound_theme and got him to reinstall to a fresh virtualenv, just in
case there was anything odd going on. Of course, there is still something
odd going on but it seems to require checking from a Mac.
--
Ticket URL: <https://issues.apache.org/bloodhound/ticket/118#comment:3>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound (incubating) issue tracker
Re: [Apache Bloodhound] #118: Dashboard bug on retrieving ticket
details on OS X
Posted by Apache Bloodhound <bl...@incubator.apache.org>.
#118: Dashboard bug on retrieving ticket details on OS X
------------------------+-------------------------------------
Reporter: jdreimann | Owner: nobody
Type: defect | Status: new
Priority: major | Milestone: RC1 for initial release
Component: dashboard | Version:
Resolution: | Keywords:
------------------------+-------------------------------------
Comment (by jdreimann):
Replying to [comment:6 gjm]:
> Oh, I think I spot something.. could you run this from the {{{trunk}}}
directory, Joe?
>
> {{{
> find . -name *.pyc -delete
> }}}
That worked. Thanks Gary.
--
Ticket URL: <https://issues.apache.org/bloodhound/ticket/118#comment:7>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound (incubating) issue tracker