Traceback (most recent call last):


 "c:\users\thoma\lbry\lbrynet\peer.py", line 196, in ping

return await self._send_kademlia_rpc(RequestDatagram.make_ping(self.peer_manager.dht_protocol.node_id))


 "c:\users\thoma\lbry\lbrynet\peer.py", line 184, in _send_kademlia_rpc

self.update_last_failed()


 "c:\users\thoma\lbry\lbrynet\peer.py", line 162, in update_last_failed

self.peer_manager.dht_protocol.routing_table.remove_peer(self)


 "c:\users\thoma\lbry\lbrynet\dht\routing\routing_table.py", line 161, in remove_peer

bucket_index = self._kbucket_index(peer.node_id)


 "c:\users\thoma\lbry\lbrynet\dht\routing\routing_table.py", line 176, in _kbucket_index

if bucket.key_in_range(key):


 "c:\users\thoma\lbry\lbrynet\dht\routing\kbucket.py", line 135, in key_in_range

return self.range_min <= int.from_bytes(key, 'big') < self.range_max
TypeError: cannot convert 'NoneType' object to bytes

Traceback (most recent call last):


 "/app/kuma/users/tests/test_views.py", line 958, in test_user_edit_websites

response = user_client.post(url, form, follow=True)


 "/usr/local/lib/python3.8/site-packages/django/test/client.py", line 543, in post

response = super().post(path, data=data, content_type=content_type, secure=secure, **extra)


 "/usr/local/lib/python3.8/site-packages/django/test/client.py", line 354, in post

post_data = self._encode_data(data, content_type)


 "/usr/local/lib/python3.8/site-packages/django/test/client.py", line 313, in _encode_data

return encode_multipart(BOUNDARY, data)


 "/usr/local/lib/python3.8/site-packages/django/test/client.py", line 196, in encode_multipart

raise TypeError(
TypeError: Cannot encode None as POST data. Did you mean to pass an empty string or omit the value?
