Roundup Tracker - Issues

Issue 2551137

roundup-server won't run with ssl under python3 (unusual config)
Type: crash Severity: normal
Components: Web interface Versions: 2.0.0
Status: fixed fixed
: : rouilj
Priority: low :

Created on 2021-05-23 18:29 by rouilj, last changed 2022-08-18 18:45 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'
msg7638 Author: [hidden] (rouilj) Date: 2022-08-18 18:45
fixed in changeset:   6834:5129fc03dc1f
Date User Action Args
2022-08-18 18:45:36rouiljsetstatus: new -> fixed
resolution: fixed
messages: + msg7638
2021-05-23 18:29:50rouiljcreate