Roundup Tracker - Issues

Issue 2551137

Title: roundup-server won't run with ssl under python3 (unusual config)
Type: crash Severity: normal
Components: Web interface Versions: 2.0.0
Status: new Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: rouilj
Priority: low Keywords:

Created on 2021-05-23 18:29 by rouilj, last changed 2021-05-23 18:29 by rouilj.

msg7242 Author: [hidden] (rouilj) Date: 2021-05-23 18:29
The makefile method uses socket_fileobject which doesn't exist.
Most people run roundup behind a real web server apache, nginx etc.
So this is a low priority issue at the moment.

$ python3 roundup/scripts/ -s t=demo
WARNING: generating temporary SSL certificate
Roundup server started on localhost:8080
Exception happened during processing of request from ('', 
Traceback (most recent call last):
  File "/usr/lib/python3.6/", line 620, in 
    self.finish_request(request, client_address)
  File "/usr/lib/python3.6/", line 364, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python3.6/", line 722, in __init__
  File "roundup/scripts/", line 722, in setup
  File "/usr/lib/python3.6/", line 774, in setup
    self.rfile = self.connection.makefile('rb', self.rbufsize)
  File "roundup/scripts/", line 183, in makefile
    fo = socket._fileobject(self.__conn, mode, bufsize)
AttributeError: module 'socket' has no attribute '_fileobject'
Date User Action Args
2021-05-23 18:29:50rouiljcreate