Ticket #7354 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

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

Reported by: meetra Assigned to: 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

Change History

07/08/10 19:49:52 changed by bobbysmith007

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

Russ

07/12/10 23:47:12 changed by bobbysmith007

  • status changed from new to closed.
  • resolution set to fixed.

(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

07/12/10 23:48:22 changed by bobbysmith007

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

07/13/10 20:43:39 changed by juliaPjulia

  • cc set to Russia.

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

07/31/10 12:22:31 changed by loco_dempsey

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


Add/Change #7354 (Exporting to CSV doesn't work, Content-Lenght not set)




Change Properties
Action