Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/electrum/gui/qt/main_window.py", line 508, in load_wallet
    wallet.try_detecting_internal_addresses_corruption()
  File "/usr/lib/python3/dist-packages/electrum/util.py", line 446, in <lambda>
    return lambda *args, **kw_args: do_profile(args, kw_args)
                                    ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/electrum/util.py", line 442, in do_profile
    o = func(*args, **kw_args)
        ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/electrum/wallet.py", line 3203, in try_detecting_internal_addresses_corruption
    self.check_address_for_corruption(addr_found)
  File "/usr/lib/python3/dist-packages/electrum/wallet.py", line 3208, in check_address_for_corruption
    raise InternalAddressCorruption()
electrum.wallet.InternalAddressCorruption: Wallet file corruption detected. Please restore your wallet from seed, and compare the addresses in both files