Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#7354 closed defect (fixed)

Exporting to CSV doesn't work, Content-Lenght not set

Reported by: meetra Owned by: bobbysmith007
Priority: normal Component: TimingAndEstimationPlugin
Severity: normal Keywords:
Cc: Russia Trac Release: 0.12

Description

File "build/bdist.win32/egg/trac/web/main.py", line 513, in _dispatch_request

dispatcher.dispatch(req)

File "build/bdist.win32/egg/trac/web/main.py", line 235, in dispatch

resp = chosen_handler.process_request(req)

File "build/bdist.win32/egg/trac/ticket/report.py", line 118, in process_request

template, data, content_type = self._render_view(req, id)

File "build/bdist.win32/egg/trac/ticket/report.py", line 556, in _render_view

filename=filename)

File "build/bdist.win32/egg/timingandestimationplugin/reports_filter.py", line 215, in _send_csv

writer.writerow([unicode(c).encode('utf-8') for c in cols])

File "build/bdist.win32/egg/trac/web/api.py", line 528, in write

raise RuntimeError("No Content-Length header set")

System Information:

User Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4

Trac 0.12
Babel 0.9.5
CustomFieldAdmin 0.2.2
Genshi 0.6
mod_wsgi 3.0 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL})
Pygments 1.3.1
pysqlite 2.4.1
Python 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)]
pytz 2010h
setuptools 0.6c11
SQLite 3.5.9
Subversion 1.6.12 (r955767)
jQuery 1.4.2
Enabled Plugins:

ticketimport 0.8 d:\program files\python26\lib\site-packages\ticketimport-0.8-py2.6.egg
timingandestimationplugin 1.0.2b d:\program files\python26\lib\site-packages\timingandestimationplugin-1.0.2b-py2.6.egg
tracaccountmanager 0.2.1dev d:\program files\python26\lib\site-packages\tracaccountmanager-0.2.1dev-py2.6.egg
tracburndown 1.9.2 d:\program files\python26\lib\site-packages\tracburndown-1.9.2-py2.6.egg
traccustomfieldadmin 0.2.2 d:\program files\python26\lib\site-packages\traccustomfieldadmin-0.2.2-py2.6.egg
tracmastertickets 2.1.3 d:\program files\python26\lib\site-packages\tracmastertickets-2.1.3-py2.6.egg
tracticketdelete 2.0 d:\program files\python26\lib\site-packages\tracticketdelete-2.0-py2.6.egg
tractickettemplate 0.7 d:\program files\python26\lib\site-packages\tractickettemplate-0.7-py2.6.egg

Attachments (0)

Change History (5)

comment:1 Changed 4 years ago by bobbysmith007

I will try to fix this soon, Thanks for the bug report.

Russ

comment:2 Changed 4 years ago by bobbysmith007

  • Resolution set to fixed
  • Status changed from new to closed

(In [8262]) Added a whitespace cleaner (from Josh Godsiff - thanks!) to the ticket page to remove extra whitespace, and fixed csv exports in permissions branch. ver 1.0.5 - fix #7354 and #7025

comment:3 Changed 4 years ago by bobbysmith007

This should be fixed now, feel free to reopen if you experience further errors

comment:4 Changed 4 years ago by juliaPjulia

  • Cc Russia added

I want to quote your post in my blog. It can?
And you et an account on Twitter?

comment:5 Changed 4 years ago by loco_dempsey

I would like to exchange links with your site trac-hacks.org
Is this possible?

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.