Ticket #7155 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

need content length for .12

Reported by: srl@icu-project.org Assigned to: robm
Priority: normal Component: MathCaptchaPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description

I got an internal error

2010-05-20 19:54:53,682 Trac[main] ERROR: Internal Server Error: 
Traceback (most recent call last):
  File "/home/srl/src/trac/trac/web/main.py", line 512, in _dispatch_request
    dispatcher.dispatch(req)
  File "/home/srl/src/trac/trac/web/main.py", line 233, in dispatch
    resp = chosen_handler.process_request(req)
  File "/home/srl/src/trac-plugins/mathcaptcha/mathcaptcha/MathCaptcha.py", line 435, in process_request
    self.process_attempts(req)
  File "/home/srl/src/trac-plugins/mathcaptcha/mathcaptcha/MathCaptcha.py", line 456, in process_attempts
    req.write(html)
  File "/home/srl/src/trac/trac/web/api.py", line 528, in write
    raise RuntimeError("No Content-Length header set")
RuntimeError: No Content-Length header set

Attachments

7155mathcaptcha.patch (1.5 kB) - added by srl@icu-project.org on 05/21/10 05:02:21.
7155mathcaptcha.patch
7155mathcaptcha2.patch (1.7 kB) - added by Srl295 on 06/22/10 23:20:40.
7155mathcaptcha2.patch

Change History

05/21/10 05:02:21 changed by srl@icu-project.org

  • attachment 7155mathcaptcha.patch added.

7155mathcaptcha.patch

06/22/10 23:20:19 changed by Srl295

Also, I was getting errors about a missing function prepare_wiki_page

see attached 7155mathcaptcha2.patch for a fix

06/22/10 23:20:40 changed by Srl295

  • attachment 7155mathcaptcha2.patch added.

7155mathcaptcha2.patch

07/15/10 17:27:50 changed by robm

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

(In [8267]) Fixed #7155: added patches to support 0.12


Add/Change #7155 (need content length for .12)




Change Properties
Action