Roundup Tracker - Issues

Issue 2551011

classification
Title: problem with wsgi
Type: crash Severity: normal
Components: Versions: devel
process
Status: fixed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: gabi, joseph_myers
Priority: Keywords: patch, python2, python3

Created on 2018-10-18 16:40 by gabi, last changed 2018-11-11 17:10 by joseph_myers.

Files
File name Uploaded Description Edit Remove
patch gabi, 2018-10-18 16:40
Messages
msg6288 Author: [hidden] (gabi) Date: 2018-10-18 16:40
This is probably analogous to Issue2551010.

Calling
from roundup.cgi.wsgi_handler import RequestDispatcher
gives me the following traceback:

  File "<stdin>", line 1, in <module>
  File
"/usr/local/lib/python2.7/dist-packages/roundup/cgi/wsgi_handler.py",
line 16, in <module>
    DEFAULT_ERROR_MESSAGE = http_.server.DEFAULT_ERROR_MESSAGE
AttributeError: 'module' object has no attribute 'DEFAULT_ERROR_MESSAGE'

I resolved this with the attached patch.
msg6298 Author: [hidden] (joseph_myers) Date: 2018-11-11 17:10
I've now committed this patch.
History
Date User Action Args
2018-11-11 17:10:14joseph_myerssetstatus: new -> fixed
resolution: fixed
messages: + msg6298
nosy: + joseph_myers
2018-10-18 21:44:54rouiljsetkeywords: + patch, python3, python2
2018-10-18 16:40:44gabicreate