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/10/23 16:30:20 UTC

[Apache Bloodhound] #244: Apps/New Ticket (/newticket) fails with an internal error

#244: Apps/New Ticket (/newticket) fails with an internal error
-----------------------+--------------------
 Reporter:  jure       |      Owner:  nobody
     Type:  defect     |     Status:  new
 Priority:  major      |  Milestone:
Component:  dashboard  |    Version:
 Keywords:             |
-----------------------+--------------------
 Might be connected with trac update, fails in bh theme, r1401301, was able
 to reproduce on osx and linux. Error looks like this:

 TypeError: unsupported operand type(s) for /: 'Undefined' and 'int'

 ==== How to Reproduce ====

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

 ''(please provide additional details here)''

 Request parameters:
 {{{
 {}
 }}}

 User agent: `Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5)
 AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4`

 ==== System Information ====
 ''System information not available''

 ==== Enabled Plugins ====
 ''Plugin information not available''

 ==== Python Traceback ====
 {{{
 Traceback (most recent call last):
   File "/Users/jure/src/bloodhound/trac/trac/web/main.py", line 497, in
 _dispatch_request
     dispatcher.dispatch(req)
   File "/Users/jure/src/bloodhound/trac/trac/web/main.py", line 233, in
 dispatch
     content_type)
   File "/Users/jure/src/bloodhound/trac/trac/web/chrome.py", line 1000, in
 render_template
     encoding='utf-8')
   File "/Users/jure/src/bloodhound/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/jure/src/bloodhound/installer/bloodhound/lib/python2.7
 /site-packages/genshi/output.py", line 58, in encode
     for chunk in iterator:
   File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
 /site-packages/genshi/output.py", line 339, in __call__
     for kind, data, pos in stream:
   File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
 /site-packages/genshi/output.py", line 826, in __call__
     for kind, data, pos in stream:
   File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
 /site-packages/genshi/output.py", line 670, in __call__
     for kind, data, pos in stream:
   File "/Users/jure/src/bloodhound/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/jure/src/bloodhound/installer/bloodhound/lib/python2.7
 /site-packages/genshi/output.py", line 586, in __call__
     for ev in stream:
   File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
 /site-packages/genshi/core.py", line 288, in _ensure
     for event in stream:
   File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
 /site-packages/genshi/core.py", line 288, in _ensure
     for event in stream:
   File "/Users/jure/src/bloodhound/trac/trac/web/chrome.py", line 1137, in
 _strip_accesskeys
     for kind, data, pos in stream:
   File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
 /site-packages/genshi/core.py", line 288, in _ensure
     for event in stream:
   File "/Users/jure/src/bloodhound/trac/trac/web/chrome.py", line 1126, in
 _generate
     for kind, data, pos in stream:
   File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
 /site-packages/genshi/core.py", line 288, in _ensure
     for event in stream:
   File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
 /site-packages/genshi/core.py", line 288, in _ensure
     for event in stream:
   File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
 /site-packages/genshi/filters/transform.py", line 686, in _unmark
     for mark, event in stream:
   File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
 /site-packages/genshi/filters/transform.py", line 1175, in __call__
     for mark, (kind, data, pos) in stream:
   File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
 /site-packages/genshi/filters/transform.py", line 714, in __call__
     for mark, event in stream:
   File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
 /site-packages/genshi/filters/transform.py", line 779, in __call__
     for mark, event in stream:
   File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
 /site-packages/genshi/filters/transform.py", line 726, in __call__
     mark, subevent = next()
   File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
 /site-packages/genshi/filters/transform.py", line 682, in _mark
     for event in stream:
   File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
 /site-packages/genshi/template/base.py", line 605, in _include
     for event in stream:
   File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
 /site-packages/genshi/template/markup.py", line 378, in _match
     ctxt, start=idx + 1, **vars):
   File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
 /site-packages/genshi/template/markup.py", line 378, in _match
     ctxt, start=idx + 1, **vars):
   File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
 /site-packages/genshi/template/markup.py", line 327, in _match
     for event in stream:
   File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
 /site-packages/genshi/template/base.py", line 545, in _flatten
     for kind, data, pos in stream:
   File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
 /site-packages/genshi/core.py", line 288, in _ensure
     for event in stream:
   File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
 /site-packages/genshi/path.py", line 588, in _generate
     subevent = next()
   File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
 /site-packages/genshi/template/base.py", line 605, in _include
     for event in stream:
   File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
 /site-packages/genshi/template/markup.py", line 316, in _strip
     event = next()
   File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
 /site-packages/genshi/template/base.py", line 545, in _flatten
     for kind, data, pos in stream:
   File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
 /site-packages/genshi/core.py", line 288, in _ensure
     for event in stream:
   File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
 /site-packages/genshi/path.py", line 588, in _generate
     subevent = next()
   File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
 /site-packages/genshi/template/base.py", line 605, in _include
     for event in stream:
   File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
 /site-packages/genshi/template/markup.py", line 316, in _strip
     event = next()
   File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
 /site-packages/genshi/template/base.py", line 545, in _flatten
     for kind, data, pos in stream:
   File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
 /site-packages/genshi/template/directives.py", line 359, in __call__
     iterable = _eval_expr(self.expr, ctxt, vars)
   File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
 /site-packages/genshi/template/base.py", line 277, in _eval_expr
     retval = expr.evaluate(ctxt)
   File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
 /site-packages/genshi/template/eval.py", line 178, in evaluate
     return eval(self.code, _globals, {'__data__': data})
   File
 "/Users/jure/src/bloodhound/bloodhound_theme/bhtheme/templates/bh_ticket_box.html",
 line 114, in <Expression u"iter([(text_fields, 'span4', colcount / 2,
 None, False),            (area_fields, colspan, 1, None, False)])">
     <py:for each="_fields, csscls, count, fontsize, is_inline in
 TypeError: unsupported operand type(s) for /: 'Undefined' and 'int'
 }}}

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

Re: [Apache Bloodhound] #244: Apps/New Ticket (/newticket) fails with an internal error

Posted by Apache Bloodhound <bl...@incubator.apache.org>.
#244: Apps/New Ticket (/newticket) fails with an internal error
------------------------+-----------------------
  Reporter:  jure       |      Owner:  jure
      Type:  defect     |     Status:  new
  Priority:  major      |  Milestone:  Release 3
 Component:  dashboard  |    Version:
Resolution:             |   Keywords:
------------------------+-----------------------
Changes (by gjm):

 * status:  closed => new
 * resolution:  fixed =>
 * milestone:   => Release 3


Comment:

 This was not actually fixed.. just a patch provided. We definitely need to
 finish this off!

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

Re: [Apache Bloodhound] #244: Apps/New Ticket (/newticket) fails with an internal error

Posted by Apache Bloodhound <bl...@incubator.apache.org>.
#244: Apps/New Ticket (/newticket) fails with an internal error
------------------------+-----------------------
  Reporter:  jure       |      Owner:  gjm
      Type:  defect     |     Status:  closed
  Priority:  major      |  Milestone:  Release 3
 Component:  dashboard  |    Version:
Resolution:  fixed      |   Keywords:
------------------------+-----------------------
Changes (by gjm):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 r1404951 fixes this - thanks jure!

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

Re: [Apache Bloodhound] #244: Apps/New Ticket (/newticket) fails with an internal error

Posted by Jure Žitnik <ju...@digiverse.si>.
Hi,

On 10/23/12 5:36 PM, Gary Martin wrote:
> Hi Jure,
>
> Thanks for spotting that. I am not sure whether I can replicate it 
> but, at first glance,  it looks to me that we should be using 
> _colcount rather than colcount on line 115 of 
> bloodhound_theme/bhtheme/templates/bh_ticket_box.html
> Does that make sense/help?
>
Yup, that solves the issue, will attach a patch to the ticket.
Thanks,
Jure

> Cheers,
>     Gary
>
>
> On 23/10/12 15:30, Apache Bloodhound wrote:
>> #244: Apps/New Ticket (/newticket) fails with an internal error
>> -----------------------+--------------------
>>   Reporter:  jure       |      Owner:  nobody
>>       Type:  defect     |     Status:  new
>>   Priority:  major      |  Milestone:
>> Component:  dashboard  |    Version:
>>   Keywords:             |
>> -----------------------+--------------------
>>   Might be connected with trac update, fails in bh theme, r1401301, 
>> was able
>>   to reproduce on osx and linux. Error looks like this:
>>
>>   TypeError: unsupported operand type(s) for /: 'Undefined' and 'int'
>>
>>   ==== How to Reproduce ====
>>
>>   While doing a GET operation on `/newticket`, Trac issued an internal
>>   error.
>>
>>   ''(please provide additional details here)''
>>
>>   Request parameters:
>>   {{{
>>   {}
>>   }}}
>>
>>   User agent: `Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5)
>>   AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 
>> Safari/537.4`
>>
>>   ==== System Information ====
>>   ''System information not available''
>>
>>   ==== Enabled Plugins ====
>>   ''Plugin information not available''
>>
>>   ==== Python Traceback ====
>>   {{{
>>   Traceback (most recent call last):
>>     File "/Users/jure/src/bloodhound/trac/trac/web/main.py", line 
>> 497, in
>>   _dispatch_request
>>       dispatcher.dispatch(req)
>>     File "/Users/jure/src/bloodhound/trac/trac/web/main.py", line 
>> 233, in
>>   dispatch
>>       content_type)
>>     File "/Users/jure/src/bloodhound/trac/trac/web/chrome.py", line 
>> 1000, in
>>   render_template
>>       encoding='utf-8')
>>     File "/Users/jure/src/bloodhound/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/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>>   /site-packages/genshi/output.py", line 58, in encode
>>       for chunk in iterator:
>>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>>   /site-packages/genshi/output.py", line 339, in __call__
>>       for kind, data, pos in stream:
>>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>>   /site-packages/genshi/output.py", line 826, in __call__
>>       for kind, data, pos in stream:
>>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>>   /site-packages/genshi/output.py", line 670, in __call__
>>       for kind, data, pos in stream:
>>     File "/Users/jure/src/bloodhound/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/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>>   /site-packages/genshi/output.py", line 586, in __call__
>>       for ev in stream:
>>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>>   /site-packages/genshi/core.py", line 288, in _ensure
>>       for event in stream:
>>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>>   /site-packages/genshi/core.py", line 288, in _ensure
>>       for event in stream:
>>     File "/Users/jure/src/bloodhound/trac/trac/web/chrome.py", line 
>> 1137, in
>>   _strip_accesskeys
>>       for kind, data, pos in stream:
>>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>>   /site-packages/genshi/core.py", line 288, in _ensure
>>       for event in stream:
>>     File "/Users/jure/src/bloodhound/trac/trac/web/chrome.py", line 
>> 1126, in
>>   _generate
>>       for kind, data, pos in stream:
>>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>>   /site-packages/genshi/core.py", line 288, in _ensure
>>       for event in stream:
>>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>>   /site-packages/genshi/core.py", line 288, in _ensure
>>       for event in stream:
>>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>>   /site-packages/genshi/filters/transform.py", line 686, in _unmark
>>       for mark, event in stream:
>>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>>   /site-packages/genshi/filters/transform.py", line 1175, in __call__
>>       for mark, (kind, data, pos) in stream:
>>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>>   /site-packages/genshi/filters/transform.py", line 714, in __call__
>>       for mark, event in stream:
>>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>>   /site-packages/genshi/filters/transform.py", line 779, in __call__
>>       for mark, event in stream:
>>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>>   /site-packages/genshi/filters/transform.py", line 726, in __call__
>>       mark, subevent = next()
>>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>>   /site-packages/genshi/filters/transform.py", line 682, in _mark
>>       for event in stream:
>>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>>   /site-packages/genshi/template/base.py", line 605, in _include
>>       for event in stream:
>>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>>   /site-packages/genshi/template/markup.py", line 378, in _match
>>       ctxt, start=idx + 1, **vars):
>>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>>   /site-packages/genshi/template/markup.py", line 378, in _match
>>       ctxt, start=idx + 1, **vars):
>>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>>   /site-packages/genshi/template/markup.py", line 327, in _match
>>       for event in stream:
>>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>>   /site-packages/genshi/template/base.py", line 545, in _flatten
>>       for kind, data, pos in stream:
>>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>>   /site-packages/genshi/core.py", line 288, in _ensure
>>       for event in stream:
>>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>>   /site-packages/genshi/path.py", line 588, in _generate
>>       subevent = next()
>>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>>   /site-packages/genshi/template/base.py", line 605, in _include
>>       for event in stream:
>>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>>   /site-packages/genshi/template/markup.py", line 316, in _strip
>>       event = next()
>>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>>   /site-packages/genshi/template/base.py", line 545, in _flatten
>>       for kind, data, pos in stream:
>>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>>   /site-packages/genshi/core.py", line 288, in _ensure
>>       for event in stream:
>>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>>   /site-packages/genshi/path.py", line 588, in _generate
>>       subevent = next()
>>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>>   /site-packages/genshi/template/base.py", line 605, in _include
>>       for event in stream:
>>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>>   /site-packages/genshi/template/markup.py", line 316, in _strip
>>       event = next()
>>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>>   /site-packages/genshi/template/base.py", line 545, in _flatten
>>       for kind, data, pos in stream:
>>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>>   /site-packages/genshi/template/directives.py", line 359, in __call__
>>       iterable = _eval_expr(self.expr, ctxt, vars)
>>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>>   /site-packages/genshi/template/base.py", line 277, in _eval_expr
>>       retval = expr.evaluate(ctxt)
>>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>>   /site-packages/genshi/template/eval.py", line 178, in evaluate
>>       return eval(self.code, _globals, {'__data__': data})
>>     File
>> "/Users/jure/src/bloodhound/bloodhound_theme/bhtheme/templates/bh_ticket_box.html",
>>   line 114, in <Expression u"iter([(text_fields, 'span4', colcount / 2,
>>   None, False),            (area_fields, colspan, 1, None, False)])">
>>       <py:for each="_fields, csscls, count, fontsize, is_inline in
>>   TypeError: unsupported operand type(s) for /: 'Undefined' and 'int'
>>   }}}
>>
>


-- 
Jure Žitnik
email: jure@digiverse.si
skype: jzitnik
mobile: +386 41 378 597

Digiverse d.o.o.
Dolenjska cesta 318
1291 Škofljica
www.digiverse.si


Re: [Apache Bloodhound] #244: Apps/New Ticket (/newticket) fails with an internal error

Posted by Gary Martin <ga...@wandisco.com>.
Hi Jure,

Thanks for spotting that. I am not sure whether I can replicate it but, 
at first glance,  it looks to me that we should be using _colcount 
rather than colcount on line 115 of 
bloodhound_theme/bhtheme/templates/bh_ticket_box.html

Does that make sense/help?

Cheers,
     Gary


On 23/10/12 15:30, Apache Bloodhound wrote:
> #244: Apps/New Ticket (/newticket) fails with an internal error
> -----------------------+--------------------
>   Reporter:  jure       |      Owner:  nobody
>       Type:  defect     |     Status:  new
>   Priority:  major      |  Milestone:
> Component:  dashboard  |    Version:
>   Keywords:             |
> -----------------------+--------------------
>   Might be connected with trac update, fails in bh theme, r1401301, was able
>   to reproduce on osx and linux. Error looks like this:
>
>   TypeError: unsupported operand type(s) for /: 'Undefined' and 'int'
>
>   ==== How to Reproduce ====
>
>   While doing a GET operation on `/newticket`, Trac issued an internal
>   error.
>
>   ''(please provide additional details here)''
>
>   Request parameters:
>   {{{
>   {}
>   }}}
>
>   User agent: `Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5)
>   AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4`
>
>   ==== System Information ====
>   ''System information not available''
>
>   ==== Enabled Plugins ====
>   ''Plugin information not available''
>
>   ==== Python Traceback ====
>   {{{
>   Traceback (most recent call last):
>     File "/Users/jure/src/bloodhound/trac/trac/web/main.py", line 497, in
>   _dispatch_request
>       dispatcher.dispatch(req)
>     File "/Users/jure/src/bloodhound/trac/trac/web/main.py", line 233, in
>   dispatch
>       content_type)
>     File "/Users/jure/src/bloodhound/trac/trac/web/chrome.py", line 1000, in
>   render_template
>       encoding='utf-8')
>     File "/Users/jure/src/bloodhound/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/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>   /site-packages/genshi/output.py", line 58, in encode
>       for chunk in iterator:
>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>   /site-packages/genshi/output.py", line 339, in __call__
>       for kind, data, pos in stream:
>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>   /site-packages/genshi/output.py", line 826, in __call__
>       for kind, data, pos in stream:
>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>   /site-packages/genshi/output.py", line 670, in __call__
>       for kind, data, pos in stream:
>     File "/Users/jure/src/bloodhound/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/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>   /site-packages/genshi/output.py", line 586, in __call__
>       for ev in stream:
>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>   /site-packages/genshi/core.py", line 288, in _ensure
>       for event in stream:
>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>   /site-packages/genshi/core.py", line 288, in _ensure
>       for event in stream:
>     File "/Users/jure/src/bloodhound/trac/trac/web/chrome.py", line 1137, in
>   _strip_accesskeys
>       for kind, data, pos in stream:
>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>   /site-packages/genshi/core.py", line 288, in _ensure
>       for event in stream:
>     File "/Users/jure/src/bloodhound/trac/trac/web/chrome.py", line 1126, in
>   _generate
>       for kind, data, pos in stream:
>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>   /site-packages/genshi/core.py", line 288, in _ensure
>       for event in stream:
>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>   /site-packages/genshi/core.py", line 288, in _ensure
>       for event in stream:
>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>   /site-packages/genshi/filters/transform.py", line 686, in _unmark
>       for mark, event in stream:
>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>   /site-packages/genshi/filters/transform.py", line 1175, in __call__
>       for mark, (kind, data, pos) in stream:
>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>   /site-packages/genshi/filters/transform.py", line 714, in __call__
>       for mark, event in stream:
>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>   /site-packages/genshi/filters/transform.py", line 779, in __call__
>       for mark, event in stream:
>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>   /site-packages/genshi/filters/transform.py", line 726, in __call__
>       mark, subevent = next()
>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>   /site-packages/genshi/filters/transform.py", line 682, in _mark
>       for event in stream:
>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>   /site-packages/genshi/template/base.py", line 605, in _include
>       for event in stream:
>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>   /site-packages/genshi/template/markup.py", line 378, in _match
>       ctxt, start=idx + 1, **vars):
>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>   /site-packages/genshi/template/markup.py", line 378, in _match
>       ctxt, start=idx + 1, **vars):
>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>   /site-packages/genshi/template/markup.py", line 327, in _match
>       for event in stream:
>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>   /site-packages/genshi/template/base.py", line 545, in _flatten
>       for kind, data, pos in stream:
>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>   /site-packages/genshi/core.py", line 288, in _ensure
>       for event in stream:
>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>   /site-packages/genshi/path.py", line 588, in _generate
>       subevent = next()
>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>   /site-packages/genshi/template/base.py", line 605, in _include
>       for event in stream:
>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>   /site-packages/genshi/template/markup.py", line 316, in _strip
>       event = next()
>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>   /site-packages/genshi/template/base.py", line 545, in _flatten
>       for kind, data, pos in stream:
>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>   /site-packages/genshi/core.py", line 288, in _ensure
>       for event in stream:
>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>   /site-packages/genshi/path.py", line 588, in _generate
>       subevent = next()
>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>   /site-packages/genshi/template/base.py", line 605, in _include
>       for event in stream:
>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>   /site-packages/genshi/template/markup.py", line 316, in _strip
>       event = next()
>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>   /site-packages/genshi/template/base.py", line 545, in _flatten
>       for kind, data, pos in stream:
>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>   /site-packages/genshi/template/directives.py", line 359, in __call__
>       iterable = _eval_expr(self.expr, ctxt, vars)
>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>   /site-packages/genshi/template/base.py", line 277, in _eval_expr
>       retval = expr.evaluate(ctxt)
>     File "/Users/jure/src/bloodhound/installer/bloodhound/lib/python2.7
>   /site-packages/genshi/template/eval.py", line 178, in evaluate
>       return eval(self.code, _globals, {'__data__': data})
>     File
>   "/Users/jure/src/bloodhound/bloodhound_theme/bhtheme/templates/bh_ticket_box.html",
>   line 114, in <Expression u"iter([(text_fields, 'span4', colcount / 2,
>   None, False),            (area_fields, colspan, 1, None, False)])">
>       <py:for each="_fields, csscls, count, fontsize, is_inline in
>   TypeError: unsupported operand type(s) for /: 'Undefined' and 'int'
>   }}}
>


Re: [Apache Bloodhound] #244: Apps/New Ticket (/newticket) fails with an internal error

Posted by Apache Bloodhound <bl...@incubator.apache.org>.
#244: Apps/New Ticket (/newticket) fails with an internal error
------------------------+----------------------
  Reporter:  jure       |      Owner:  jure
      Type:  defect     |     Status:  assigned
  Priority:  major      |  Milestone:
 Component:  dashboard  |    Version:
Resolution:             |   Keywords:
------------------------+----------------------
Changes (by jure):

 * owner:  nobody => jure
 * status:  new => assigned


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

Re: [Apache Bloodhound] #244: Apps/New Ticket (/newticket) fails with an internal error

Posted by Apache Bloodhound <bl...@incubator.apache.org>.
#244: Apps/New Ticket (/newticket) fails with an internal error
------------------------+-----------------------
  Reporter:  jure       |      Owner:  gjm
      Type:  defect     |     Status:  accepted
  Priority:  major      |  Milestone:  Release 3
 Component:  dashboard  |    Version:
Resolution:             |   Keywords:
------------------------+-----------------------
Changes (by gjm):

 * status:  new => accepted
 * owner:  jure => gjm


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

Re: [Apache Bloodhound] #244: Apps/New Ticket (/newticket) fails with an internal error

Posted by Apache Bloodhound <bl...@incubator.apache.org>.
#244: Apps/New Ticket (/newticket) fails with an internal error
------------------------+----------------------
  Reporter:  jure       |      Owner:  jure
      Type:  defect     |     Status:  accepted
  Priority:  major      |  Milestone:
 Component:  dashboard  |    Version:
Resolution:             |   Keywords:
------------------------+----------------------
Changes (by jure):

 * status:  assigned => accepted


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

Re: [Apache Bloodhound] #244: Apps/New Ticket (/newticket) fails with an internal error

Posted by Apache Bloodhound <bl...@incubator.apache.org>.
#244: Apps/New Ticket (/newticket) fails with an internal error
------------------------+--------------------
  Reporter:  jure       |      Owner:  jure
      Type:  defect     |     Status:  closed
  Priority:  major      |  Milestone:
 Component:  dashboard  |    Version:
Resolution:  fixed      |   Keywords:
------------------------+--------------------
Changes (by jure):

 * status:  accepted => closed
 * resolution:   => fixed


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