Modify

Opened 15 years ago

Closed 15 years ago

#6026 closed defect (fixed)

Error while try to get Detail View '/hours/#TicketID#'

Reported by: anonymous Owned by: Russ Tyndall
Priority: normal Component: TimingAndEstimationPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

How to Reproduce

While doing a GET operation on /hours/264, Trac issued an internal error.

(please provide additional details here)

User Agent was: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.0.4) Gecko/2008103100 SUSE/3.0.4-3.1 Firefox/3.0.4

System Information

Trac 0.11.1
Python 2.5.2 (r252:60911, Jan 4 2009, 22:17:10)
[GCC 4.3.2]
setuptools 0.6c9
SQLite 3.5.9
pysqlite 2.4.1
Genshi 0.5.1
mod_python 3.3.1
Bitten 0.7dev-r756
Pygments 0.10
Subversion 1.5.1 (r32289)
RPC 1.0.6
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 423, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 219, in dispatch
    data, content_type)
  File "/usr/lib/python2.5/site-packages/trac/web/chrome.py", line 715, in render_template
    return stream.render(method, doctype=doctype)
  File "/var/lib/python-support/python2.5/genshi/core.py", line 179, in render
    return encode(generator, method=method, encoding=encoding, out=out)
  File "/var/lib/python-support/python2.5/genshi/output.py", line 60, in encode
    return _encode(u''.join(list(iterator)))
  File "/var/lib/python-support/python2.5/genshi/output.py", line 311, in __call__
    for kind, data, pos in stream:
  File "/var/lib/python-support/python2.5/genshi/output.py", line 753, in __call__
    for kind, data, pos in stream:
  File "/var/lib/python-support/python2.5/genshi/output.py", line 592, in __call__
    for kind, data, pos in stream:
  File "/var/lib/python-support/python2.5/genshi/output.py", line 698, in __call__
    for kind, data, pos in chain(stream, [(None, None, None)]):
  File "/var/lib/python-support/python2.5/genshi/output.py", line 532, in __call__
    for ev in stream:
  File "/var/lib/python-support/python2.5/genshi/core.py", line 283, in _ensure
    for event in stream:
  File "/var/lib/python-support/python2.5/genshi/core.py", line 283, in _ensure
    for event in stream:
  File "/usr/lib/python2.5/site-packages/trac/web/chrome.py", line 767, in _strip_accesskeys
    for kind, data, pos in stream:
  File "/var/lib/python-support/python2.5/genshi/core.py", line 283, in _ensure
    for event in stream:
  File "/usr/lib/python2.5/site-packages/trac/web/chrome.py", line 756, in _generate
    for kind, data, pos in stream:
  File "/var/lib/python-support/python2.5/genshi/core.py", line 283, in _ensure
    for event in stream:
  File "/var/lib/python-support/python2.5/genshi/core.py", line 283, in _ensure
    for event in stream:
  File "/var/lib/python-support/python2.5/genshi/filters/transform.py", line 686, in _unmark
    for mark, event in stream:
  File "build/bdist.linux-x86_64/egg/timingandestimationplugin/tande_filters.py", line 63, in __call__
    for mark, event in stream:
  File "/var/lib/python-support/python2.5/genshi/filters/transform.py", line 713, in __call__
    for mark, event in stream:
  File "/var/lib/python-support/python2.5/genshi/filters/transform.py", line 682, in _mark
    for event in stream:
  File "/var/lib/python-support/python2.5/genshi/core.py", line 283, in _ensure
    for event in stream:
  File "/var/lib/python-support/python2.5/genshi/filters/transform.py", line 686, in _unmark
    for mark, event in stream:
  File "build/bdist.linux-x86_64/egg/timingandestimationplugin/tande_filters.py", line 67, in __call__
    for e in flush(queue):
  File "build/bdist.linux-x86_64/egg/timingandestimationplugin/tande_filters.py", line 58, in flush
    for event in self.filter(queue):
  File "build/bdist.linux-x86_64/egg/timingandestimationplugin/tande_filters.py", line 32, in __call__
    id = int(report_url.split('/')[-1])
ValueError: invalid literal for int() with base 10: ''

Attachments (0)

Change History (4)

comment:1 Changed 15 years ago by anonymous

After I had added

if report_url != :

in line 34 in file tande_filters.py the exception disapiers, but there are no detail Informations....

regards

Marcus

comment:2 Changed 15 years ago by Russ Tyndall

(In [6826]) fixed bug when other plugins are using the report view template re #6026

comment:3 Changed 15 years ago by Russ Tyndall

  • What is supplying the "hours" screen mentioned?

I have swallowed and logged any exceptions thrown from that location so this shouldn't cause any future problems.

comment:4 Changed 15 years ago by Russ Tyndall

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Russ Tyndall.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.