Message13166

Author hariprasadbrungi
Recipients hariprasadbrungi, jeff.allen, r_walter, zyasoft
Date 2021-09-01.10:28:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1630492105.31.0.494694053664.issue2840@roundup.psfhosted.org>
In-reply-to
Content
Hi,

I have been following this bug and I have tried the solution provided.

Now a simple email without the attachments is failing with below error after updating the _socket.py 

 File "E:\lib\Lib\urllib2.py", line 154, in urlopen
    return opener.open(url, data, timeout)
  File "E:\lib\Lib\urllib2.py", line 429, in open
    response = self._open(req, data)
  File "E:\lib\Lib\urllib2.py", line 446, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
  File "E:\lib\Lib\urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "E:\lib\Lib\urllib2.py", line 1228, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "E:\lib\Lib\urllib2.py", line 1195, in do_open
    h.request(req.get_method(), req.get_selector(), req.data, headers)
  File "E:\lib\Lib\urllib2.py", line 1195, in do_open
    h.request(req.get_method(), req.get_selector(), req.data, headers)
  File "E:\lib\Lib\httplib.py", line 1042, in request
    self._send_request(method, url, body, headers)
  File "E:\lib\Lib\httplib.py", line 1082, in _send_request
    self.endheaders(body)
  File "E:\lib\Lib\httplib.py", line 1038, in endheaders
    self._send_output(message_body)
  File "E:\lib\Lib\httplib.py", line 882, in _send_output
    self.send(msg)
  File "E:\lib\Lib\httplib.py", line 858, in send
    self.sock.sendall(data)
  File "E:\lib\Lib\_socket.py", line 1464, in meth
    return getattr(self._sock,name)(*args)
  File "E:\lib\Lib\_socket.py", line 1224, in sendall
    data_view = memoryview(data)
TypeError: cannot make memory view because object does not have the buffer interface
History
Date User Action Args
2021-09-01 10:28:25hariprasadbrungisetmessageid: <1630492105.31.0.494694053664.issue2840@roundup.psfhosted.org>
2021-09-01 10:28:25hariprasadbrungisetrecipients: + hariprasadbrungi, r_walter, zyasoft, jeff.allen
2021-09-01 10:28:25hariprasadbrungilinkissue2840 messages
2021-09-01 10:28:25hariprasadbrungicreate