Traceback (most recent call last):


 "make_bu_data.py", line 46, in <module>

item[field] = np.frombuffer(base64.decodebytes(item[field].encode('utf-8')), 


 "/home/jwt/anaconda3/lib/python3.7/base64.py", line 546, in decodebytes

return binascii.a2b_base64(s)
binascii.Error: Incorrect padding

Traceback (most recent call last):

 "/home/[redacted]/venv/local/lib/python2.7/site-packages/netlib/tcp.py", line 376, in request_thread
self.handle_connection(request, client_address)

 "/home/[redacted]/venv/local/lib/python2.7/site-packages/libmproxy/proxy.py", line 545, in handle_connection
h.handle()

 "/home/[redacted]/venv/local/lib/python2.7/site-packages/libmproxy/proxy.py", line 192, in handle
while self.handle_request(cc) and not cc.close:

 "/home/[redacted]/venv/local/lib/python2.7/site-packages/libmproxy/proxy.py", line 208, in handle_request
request = self.read_request(cc)

 "/home/[redacted]/venv/local/lib/python2.7/site-packages/libmproxy/proxy.py", line 355, in read_request
return self.read_request_proxy(client_conn)

 "/home/[redacted]/venv/local/lib/python2.7/site-packages/libmproxy/proxy.py", line 386, in read_request_proxy
return self._read_request_origin_form(client_conn, "https", host, port)

 "/home/[redacted]/venv/local/lib/python2.7/site-packages/libmproxy/proxy.py", line 447, in _read_request_origin_form
self.establish_ssl(client_conn, host, port)

 "/home/[redacted]/venv/local/lib/python2.7/site-packages/libmproxy/proxy.py", line 335, in establish_ssl
self.convert_to_ssl(dummycert, self.config.certfile or self.config.cacert, handle_sni=sni)

 "/home/[redacted]/venv/local/lib/python2.7/site-packages/netlib/tcp.py", line 302, in convert_to_ssl
ctx.set_tlsext_servername_callback(handle_sni)

 "/home/[redacted]/venv/local/lib/python2.7/site-packages/OpenSSL/SSL.py", line 776, in set_tlsext_servername_callback
@wraps(callback)

 "/usr/lib/python2.7/functools.py", line 33, in update_wrapper
setattr(wrapper, attr, getattr(wrapped, attr))AttributeError: HandleSNI instance has no attribute '__name__'