Roundup Tracker - Issues

Issue 2551137

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

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

Messages
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/roundup_server.py -s t=demo
WARNING: generating temporary SSL certificate
Roundup server started on localhost:8080
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 
40976)
Traceback (most recent call last):
  File "/usr/lib/python3.6/socketserver.py", line 620, in 
process_request
    self.finish_request(request, client_address)
  File "/usr/lib/python3.6/socketserver.py", line 364, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python3.6/socketserver.py", line 722, in __init__
    self.setup()
  File "roundup/scripts/roundup_server.py", line 722, in setup
    RoundupRequestHandler.setup(self)
  File "/usr/lib/python3.6/socketserver.py", line 774, in setup
    self.rfile = self.connection.makefile('rb', self.rbufsize)
  File "roundup/scripts/roundup_server.py", 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
History
Date User Action Args
2022-08-18 18:45:36rouiljsetstatus: new -> fixed
resolution: fixed
messages: + msg7638
2021-05-23 18:29:50rouiljcreate