[issue2551137] roundup-server won't run with ssl under python3 (unusual config)

John Rouillard <[email protected]>
Newsgroups gmane.comp.bug-tracking.roundup.devel
Message-ID <[email protected]>
New submission from John Rouillard:

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'
----------------------------------------

----------
components: Web interface
messages: 7242
nosy: rouilj
priority: low
severity: normal
status: new
title: roundup-server won't run with ssl under python3 (unusual config)
type: crash
versions: 2.0.0

_________________________________________________
Roundup tracker <[email protected]>
<https://issues.roundup-tracker.org/issue2551137>
_________________________________________________
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.