New submission from Jelte Fennema: I've been developing an application which uses fuse as in interface to an xmlrpc API. I developed it with python 3.4 and it worked fine. When I used python 3.5 it started randomly raising a specific error when requesting info using the xmlrpc API.
The error in question is the RemoteDisconnected error which was added in 3.5. An example stacktrace is: Traceback (most recent call last): File "/home/jelte/fun/easyfuse/easyfuse/utils.py", line 20, in _convert_error_to_fuse_error yield File "/home/jelte/fun/easyfuse/easyfuse/filesystem.py", line 276, in children self.refresh_children() File "dokuwikifuse.py", line 139, in refresh_children pages = dw.pages.list(self.full_path, depth=self.full_depth + 2) File "/home/jelte/fun/dokuwikifuse/venv/src/dokuwiki-master/dokuwiki.py", line 102, in list return self._dokuwiki.send('dokuwiki.getPagelist', namespace, options) File "/home/jelte/fun/dokuwikifuse/venv/src/dokuwiki-master/dokuwiki.py", line 55, in send return method(*args) File "/usr/lib64/python3.5/xmlrpc/client.py", line 1091, in __call__ return self.__send(self.__name, args) File "/usr/lib64/python3.5/xmlrpc/client.py", line 1431, in __request verbose=self.__verbose File "/usr/lib64/python3.5/xmlrpc/client.py", line 1133, in request return self.single_request(host, handler, request_body, verbose) File "/usr/lib64/python3.5/xmlrpc/client.py", line 1146, in single_request resp = http_conn.getresponse() File "/usr/lib64/python3.5/http/client.py", line 1174, in getresponse response.begin() File "/usr/lib64/python3.5/http/client.py", line 282, in begin version, status, reason = self._read_status() File "/usr/lib64/python3.5/http/client.py", line 251, in _read_status raise RemoteDisconnected("Remote end closed connection without" http.client.RemoteDisconnected: Remote end closed connection without response The program in question can be found here: https://github.com/JelteF/dokuwikifuse The bug can be initiated by calling running the program as described in the README and doing a couple of file system operations wich do requests. These are things like `ls wiki/*` or calling `head wiki/*.doku`. ---------- components: IO messages: 260617 nosy: JelteF priority: normal severity: normal status: open title: Regression in Python 3.5 http.client, raises RemoteDisconnected seemingly randomly. type: crash versions: Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26402> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com