Traceback (most recent call last):


 "/usr/lib64/python3.5/threading.py", line 914, in _bootstrap_inner

self.run()


 "/home/user/electrum-master/lib/python3.5/site-packages/electrum/daemon.py", line 272, in run

wallet.stop_threads()


 "/home/user/electrum-master/lib/python3.5/site-packages/electrum/wallet.py", line 976, in stop_threads

self.storage.write()


 "/home/user/electrum-master/lib/python3.5/site-packages/electrum/util.py", line 213, in <lambda>

return lambda *args, **kw_args: do_profile(func, args, kw_args)


 "/home/user/electrum-master/lib/python3.5/site-packages/electrum/util.py", line 209, in do_profile

o = func(*args, **kw_args)


 "/home/user/electrum-master/lib/python3.5/site-packages/electrum/storage.py", line 161, in write

self._write()


 "/home/user/electrum-master/lib/python3.5/site-packages/electrum/storage.py", line 169, in _write

s = json.dumps(self.data, indent=4, sort_keys=True)


 "/usr/lib64/python3.5/json/__init__.py", line 237, in dumps

**kw).encode(obj)


 "/usr/lib64/python3.5/json/encoder.py", line 200, in encode

chunks = list(chunks)


 "/usr/lib64/python3.5/json/encoder.py", line 429, in _iterencode

yield from _iterencode_dict(o, _current_indent_level)


 "/usr/lib64/python3.5/json/encoder.py", line 403, in _iterencode_dict

yield from chunks


 "/usr/lib64/python3.5/json/encoder.py", line 352, in _iterencode_dict

items = sorted(dct.items(), key=lambda kv: kv[0])
TypeError: unorderable types: NoneType() < str()

Traceback (most recent call last):


 "/usr/local/lib/python3.8/runpy.py", line 193, in _run_module_as_main

return _run_code(code, main_globals, None,


 "/usr/local/lib/python3.8/runpy.py", line 86, in _run_code

exec(code, run_globals)


 "/src/consumer.py", line 32, in <module>

from common.pubsub import Subscriber


 "/src/common/pubsub.py", line 15, in <module>

from kafka import KafkaProducer, KafkaConsumer


 "/usr/local/lib/python3.8/site-packages/kafka/__init__.py", line 22, in <module>

from kafka.consumer import KafkaConsumer


 "/usr/local/lib/python3.8/site-packages/kafka/consumer/__init__.py", line 5, in <module>

from kafka.consumer.group import KafkaConsumer


 "/usr/local/lib/python3.8/site-packages/kafka/consumer/group.py", line 13, in <module>

from kafka.consumer.fetcher import Fetcher


 "/usr/local/lib/python3.8/site-packages/kafka/consumer/fetcher.py", line 19, in <module>

from kafka.record import MemoryRecords


 "/usr/local/lib/python3.8/site-packages/kafka/record/__init__.py", line 1, in <module>

from kafka.record.memory_records import MemoryRecords, MemoryRecordsBuilder


 "/usr/local/lib/python3.8/site-packages/kafka/record/memory_records.py", line 27, in <module>

from kafka.record.legacy_records import LegacyRecordBatch, LegacyRecordBatchBuilder


 "/usr/local/lib/python3.8/site-packages/kafka/record/legacy_records.py", line 48, in <module>

from kafka.record.util import calc_crc32


 "/usr/local/lib/python3.8/site-packages/kafka/record/util.py", line 5, in <module>

from crc32c import crc32 as crc32c_c


 "/usr/local/lib/python3.8/site-packages/crc32c/__init__.py", line 29, in <module>

warnings.warn(RuntimeWarning, "_SLOW_CRC32C_WARNING",)
TypeError: category must be a Warning subclass, not 'str'
