spesmilo / electrum

Electrum Bitcoin Wallet
https://electrum.org
MIT License
7.35k stars 3.06k forks source link

qt channel details: KeyError for self.keyname_rows[fro].pop(payment_hash) #5728

Open TARS-bot opened 4 years ago

TARS-bot commented 4 years ago

Crash Report

This crash report was reported through the automatic crash reporting system 🤖

Traceback

  File "electrum\gui\qt\channel_details.py", line 87, in do_ln_payment_completed
  File "electrum\gui\qt\channel_details.py", line 70, in move

KeyError: b'\x95V\xe5\xd3\xbb\xf6\x17z$\x05\xb7\xd3.\x10B\xee0\x04:\xfe\xa6\xff\x86ip\xc9\xabg\xfb_\x86d'

Reporter

This issue was reported by 101 user(s):

Electrum Version Python Version Operating System Wallet Type Locale Stack
4.0.0a0 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 23 2018, 23:31:17) [MSC v.1916 32 bit (Intel)] Windows-8.1-6.3.9600-SP0 standard de_DE ℹ
4.0.0a0 3.7.4 (default, Oct 4 2019, 06:57:26) [GCC 9.2.0] Linux-5.2.9-arch1-1-ARCH-x86_64-with-arch standard en_AU ℹ
4.0.0a0 3.7.4 (default, Oct 4 2019, 06:57:26) [GCC 9.2.0] Linux-5.2.9-arch1-1-ARCH-x86_64-with-arch standard en_AU ℹ
3.3.8-1196-gccccaf09-dirty 3.7.5 (default, Nov 1 2019, 02:16:38) [Clang 10.0.0 (clang-1000.11.45.5)] Darwin-17.7.0-x86_64-i386-64bit standard en_US ℹ
4.0.0a0 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 23 2018, 23:31:17) [MSC v.1916 32 bit (Intel)] Windows-8.1-6.3.9600-SP0 standard de_DE ℹ
3.3.8-1317-gcee20831 3.6.8 (default, Oct 7 2019, 12:59:55) [GCC 8.3.0] Linux-4.15.0-70-generic-x86_64-with-Ubuntu-18.04-bionic standard de_DE ℹ
4.0.0a0 3.7.4 (default, Oct 4 2019, 06:57:26) [GCC 9.2.0] Linux-4.19.85-1-MANJARO-x86_64-with-arch-Manjaro-Linux standard en_AU ℹ
4.0.0a0 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 23 2018, 23:31:17) [MSC v.1916 32 bit (Intel)] Windows-10-10.0.18362-SP0 standard en_NZ ℹ
3.3.8-1485-gc61e5db6a 3.8.1 (default, Jan 22 2020, 06:38:00) [GCC 9.2.0] Linux-5.5.2-arch1-1-x86_64-with-glibc2.2.5 standard en_US ℹ
4.0.0a0 3.8.1 (default, Jan 22 2020, 06:38:00) [GCC 9.2.0] Linux-5.4.24-1-MANJARO-x86_64-with-glibc2.2.5 standard en_AU ℹ
4.0.0a0 3.8.1 (default, Jan 22 2020, 06:38:00) [GCC 9.2.0] Linux-5.4.24-1-MANJARO-x86_64-with-glibc2.2.5 standard en_AU ℹ
3.3.8-2284-g0f5b58851-dirty 3.8.3 (tags/v3.8.3:6f8c832, May 13 2020, 22:37:02) [MSC v.1924 64 bit (AMD64)] Windows-10-10.0.18362-SP0 standard en_GB ℹ
4.0.0b1 3.6.9 (default, Apr 18 2020, 01:56:04) [GCC 8.4.0] Linux-5.3.0-61-generic-x86_64-with-Ubuntu-18.04-bionic standard en_US ℹ
4.0.1 3.7.7 (tags/v3.7.7:d7c567b08f, Mar 10 2020, 09:44:33) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.18362-SP0 standard es_ES ℹ
4.0.1 3.7.7 (tags/v3.7.7:d7c567b08f, Mar 10 2020, 09:44:33) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.18362-SP0 standard es_ES ℹ
4.0.1 3.7.7 (tags/v3.7.7:d7c567b08f, Mar 10 2020, 09:44:33) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.17763-SP0 standard de_CH ℹ
4.0.1 3.7.7 (tags/v3.7.7:d7c567b08f, Mar 10 2020, 09:44:33) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.17763-SP0 standard de_CH ℹ
4.0.1 3.7.7 (tags/v3.7.7:d7c567b08f, Mar 10 2020, 09:44:33) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.17763-SP0 standard de_CH ℹ
4.0.1 3.7.7 (tags/v3.7.7:d7c567b08f, Mar 10 2020, 09:44:33) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.17763-SP0 standard de_CH ℹ
4.0.2 3.7.7 (default, Jun 23 2020, 16:29:54) [Clang 11.0.0 (clang-1100.0.33.17)] Darwin-19.5.0-x86_64-i386-64bit standard ? ℹ
4.0.2 3.7.7 (default, Jun 23 2020, 16:29:54) [Clang 11.0.0 (clang-1100.0.33.17)] Darwin-19.5.0-x86_64-i386-64bit standard ? ℹ
4.0.2 3.7.7 (tags/v3.7.7:d7c567b08f, Mar 10 2020, 09:44:33) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard en_NZ ℹ
4.0.2 3.7.7 (tags/v3.7.7:d7c567b08f, Mar 10 2020, 09:44:33) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard en_NZ ℹ
4.0.2 3.7.7 (default, Jun 28 2018, 19:01:02) [GCC 5.4.0 20160609] Linux-5.4.0-7634-generic-x86_64-with-debian-bullseye-sid standard en_US ℹ
4.0.2 3.7.7 (default, Jun 28 2018, 19:01:02) [GCC 5.4.0 20160609] Linux-5.4.0-7634-generic-x86_64-with-debian-bullseye-sid standard en_US ℹ
4.0.2 3.7.7 (tags/v3.7.7:d7c567b08f, Mar 10 2020, 09:44:33) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.17763-SP0 imported,standard ru_RU ℹ
4.0.2 3.7.7 (tags/v3.7.7:d7c567b08f, Mar 10 2020, 09:44:33) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard sk_SK ℹ
4.0.2 3.7.7 (tags/v3.7.7:d7c567b08f, Mar 10 2020, 09:44:33) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard pt_BR ℹ
4.0.2 3.7.7 (tags/v3.7.7:d7c567b08f, Mar 10 2020, 09:44:33) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard pt_BR ℹ
4.0.2 3.7.7 (tags/v3.7.7:d7c567b08f, Mar 10 2020, 09:44:33) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard pt_BR ℹ
4.0.2 3.7.7 (tags/v3.7.7:d7c567b08f, Mar 10 2020, 09:44:33) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 imported,standard pt_BR ℹ
4.0.2 3.7.7 (tags/v3.7.7:d7c567b08f, Mar 10 2020, 09:44:33) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 imported,standard pt_BR ℹ
4.0.2 3.7.7 (default, Jun 28 2018, 19:01:02) [GCC 5.4.0 20160609] Linux-5.3.0-62-generic-x86_64-with-debian-buster-sid standard en_US ℹ
4.0.2 3.7.7 (tags/v3.7.7:d7c567b08f, Mar 10 2020, 09:44:33) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard en_GB ℹ
4.0.2 3.7.7 (tags/v3.7.7:d7c567b08f, Mar 10 2020, 09:44:33) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard en_GB ℹ
4.0.2 3.7.7 (tags/v3.7.7:d7c567b08f, Mar 10 2020, 09:44:33) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard en_GB ℹ
4.0.2 3.7.7 (tags/v3.7.7:d7c567b08f, Mar 10 2020, 09:44:33) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard en_GB ℹ
4.0.3 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard de_DE ℹ
4.0.3 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.18362-SP0 standard pt_BR ℹ
4.0.4 3.7.9 (default, Jun 28 2018, 19:01:02) [GCC 5.4.0 20160609] Linux-5.4.0-51-generic-x86_64-with-debian-bullseye-sid standard en_NZ ℹ
4.0.4 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard en_US ℹ
4.0.4 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard en_US ℹ
4.0.4 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard en_US ℹ
4.0.4 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard en_US ℹ
4.0.4 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.18362-SP0 standard pt_BR ℹ
4.0.4 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard en_US ℹ
4.0.4 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard en_US ℹ
4.0.5 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.20262-SP0 standard ja_JP ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.18362-SP0 standard en_US ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.18362-SP0 standard en_US ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard en_SI ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard en_SI ℹ
4.0.9 3.7.9 (default, Jun 28 2018, 19:01:02) [GCC 5.4.0 20160609] Linux-4.19.0-13-amd64-x86_64-with-debian-10.7 standard pt_BR ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard en_US ℹ
4.0.6 3.9.1 (default, Dec 13 2020, 11:55:53) [GCC 10.2.0] Linux-5.10.9-arch1-1-x86_64-with-glibc2.32 standard en_US ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard en_US ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard en_US ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard en_US ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard en_US ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.18362-SP0 standard cs_CZ ℹ
4.0.9 3.7.9 (default, Jun 28 2018, 19:01:02) [GCC 5.4.0 20160609] Linux-5.4.0-66-generic-x86_64-with-debian-buster-sid standard en_US ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard en_US ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.18362-SP0 standard en_US ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.18362-SP0 standard en_US ℹ
4.1.2 3.8.5 (default, Jan 27 2021, 15:41:15) [GCC 9.3.0] Linux-5.8.0-53-generic-x86_64-with-glibc2.29 standard cs_CZ ℹ
4.1.5 3.8.10 (default, Sep 28 2021, 16:10:42) [GCC 9.3.0] Linux-5.4.0-91-generic-x86_64-with-glibc2.29 standard cs_CZ ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-7-6.1.7601-SP1 standard ru_RU ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-7-6.1.7601-SP1 standard ru_RU ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-7-6.1.7601-SP1 standard ru_RU ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-7-6.1.7601-SP1 standard ru_RU ℹ
4.1.5 3.8.8 (tags/v3.8.8:024d805, Feb 19 2021, 13:08:11) [MSC v.1928 32 bit (Intel)] Windows-7-6.1.7601-SP1 standard en_CA ℹ
4.1.5 3.8.10 (default, Nov 26 2021, 20:14:08) [GCC 9.3.0] Linux-5.11.0-46-generic-x86_64-with-glibc2.29 standard en_US ℹ
4.0.9 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110] Linux-4.19.0-6-amd64-x86_64-with-glibc2.31 standard en_US ℹ
4.2.2 3.9.11 (v3.9.11:2de452f8bf, Mar 16 2022, 10:34:36) [Clang 6.0 (clang-600.0.57)] macOS-10.16-x86_64-i386-64bit standard ? ℹ
4.2.2 3.9.11 (v3.9.11:2de452f8bf, Mar 16 2022, 10:34:36) [Clang 6.0 (clang-600.0.57)] macOS-10.16-x86_64-i386-64bit standard ? ℹ
4.3.2 3.9.11 (main, Jun 28 2018, 19:01:02) [GCC 8.3.0] Linux-5.4.0-132-generic-x86_64-with-glibc2.31 standard it_IT ℹ
4.3.2 3.10.6 (main, Nov 2 2022, 18:53:38) [GCC 11.3.0] Linux-5.15.0-56-generic-x86_64-with-glibc2.35 standard pt_BR ℹ
4.0.9 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110] Linux-5.10.0-18-amd64-x86_64-with-glibc2.31 standard en_US ℹ
4.0.9 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110] Linux-6.0.0-0.deb11.6-amd64-x86_64-with-glibc2.31 standard en_US ℹ
4.3.2 3.10.6 (main, Mar 10 2023, 10:55:28) [GCC 11.3.0] Linux-5.19.0-38-generic-x86_64-with-glibc2.35 standard en_US ℹ
4.3.2 3.10.6 (main, Mar 10 2023, 10:55:28) [GCC 11.3.0] Linux-5.19.0-38-generic-x86_64-with-glibc2.35 standard en_US ℹ
4.4.5 3.11.4 (main, Jun 7 2023, 10:13:09) [GCC 12.2.0] Linux-6.4.0-1-amd64-x86_64-with-glibc2.37 standard en_US ℹ
4.5.0b1 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.49-Unraid-x86_64-with-glibc2.36 standard en_US ℹ
4.5.2 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] Linux-6.5.0-14-generic-x86_64-with-glibc2.35 standard en_US ℹ
4.5.2 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.62-1.qubes.fc32.x86_64-x86_64-with-glibc2.36 standard en_US ℹ
4.5.2 3.10.13 (main, Jun 28 2018, 19:01:02) [GCC 8.3.0] Linux-6.7.0-0-MANJARO-x86_64-with-glibc2.38 standard en_GB ℹ
4.5.2 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.62-1.qubes.fc32.x86_64-x86_64-with-glibc2.36 standard en_US ℹ
4.5.2 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.62-1.qubes.fc32.x86_64-x86_64-with-glibc2.36 standard en_US ℹ
4.5.2 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.62-1.qubes.fc32.x86_64-x86_64-with-glibc2.36 standard en_US ℹ
4.5.2 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.62-1.qubes.fc32.x86_64-x86_64-with-glibc2.36 standard en_US ℹ
4.5.3 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.23620-SP0 standard en_US ℹ
4.5.4 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22621-SP0 standard fr_FR ℹ
4.5.4 3.10.13 (main, Jun 28 2018, 19:01:02) [GCC 8.3.0] Linux-6.7.9-200.fc39.x86_64-x86_64-with-glibc2.38 standard en_US ℹ
4.5.4 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.75-1.qubes.fc32.x86_64-x86_64-with-glibc2.36 standard en_US ℹ
4.5.5 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.75-1.qubes.fc32.x86_64-x86_64-with-glibc2.36 standard en_US ℹ
4.5.5 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.75-1.qubes.fc32.x86_64-x86_64-with-glibc2.36 standard en_US ℹ
4.5.5 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.75-1.qubes.fc32.x86_64-x86_64-with-glibc2.36 standard en_US ℹ
4.5.5 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.75-1.qubes.fc32.x86_64-x86_64-with-glibc2.36 standard en_US ℹ
4.5.5 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.19045-SP0 standard ru_RU ℹ
4.5.5 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.19045-SP0 standard de_DE ℹ
4.5.5 3.10.13 (main, Jun 28 2018, 19:01:02) [GCC 8.3.0] Linux-6.6.29-1.qubes.fc37.x86_64-x86_64-with-glibc2.36 standard en_US ℹ

Additional Information

Just when I receive a lightning payment this error appears.


receiving payment for the invoice lntb2m1pwme7z7pp5436d2pp67gn2twrgg38mte2z9rasmxh5ukhuty6dwee0dd99vhkqdqvdp6xccewd4jscqzynxqrrssrzjqfcxsh9gr28y6ngphmk90q05ejfydpq89tjjc5rl36lfmtcv424hkxrulyqqqtsqqyqqqqlgqqqqqqgq9qwf85c9vmrm2hpwzs54835z6d48zv37h2rgadlg6rwlnc4h66yfrzdjv0jmnazfvkevkphzcndw2zu7dm3ve2sgvmur5hf5c084k6xjsp2s9ru6


Received a lightning network transaction while having the receive tab selected.


sending a lightning payment to myself


Sending to this invoice: lnbc65u1p0suascpp53f7w08nsc0a0kugy4wfhpq2wfhdkryw8sw6z8ej2z9lqek597h3sdz5f35kw6r5de5kueew2ashgcmgypnx7u3qxqenqv33vv6kvdtxx5mnxv3jxu6rqef5yq5rwvf5xuurgd3hx55scqzp2xqr8pqsp5cszyf6f9xml8l3dtr56fmrkq6xmmqa9mkmptxnlhx4tma7udhhxq9qy9qsqclemj0csav24en6x59ytfv69m9rka62q5r8y25nx7hzf4sm7z4pyd59apkajd7ayqggtzk7ztzeqclfnheqtqaenf5c9820rn23elusq39waj8


lnbc276n1p0savlwpp5kcv9unad73mpcghkx6t40ycsfg2h5ak52fn4gd9arvxhyzg7j75qdphgfkx7cmtwd68yetpd5s9xct5v4kxc6t5v5s9gunpdeek66tnwd5k7mscqp2sp50pnvl7dzl02cca9axga6v5tp6eut49gespmktw4cumfcrtw6wk4srzjqfcceka2q32z4ng9h63t7e4em8cvmyhfq6862mpah7zytc677kqzgz2qasqqy2qqqqqqqqlgqqqqqqgq9q9qy9qsqt9t6wp5d4rr4m596n4374atythle08kngj38xsu7fja6jtg04pf9uzv0atn32e5p7rgjfuhfaqfhrzn2geey8t2vtxvfge92dgxuj7cqh75q2g


Sending lightning payment


Sending ln payment


Crash of Electrum while receiving an incoming Lightning payment.


when paying lightning transaction


when sending a lighting payment after restarting with another lightning payment already in progress (or lost in a blackhole)


send lightning payment (payment succeeded on 1 or 2 attempt)


received lightning payment (successfully)


Attempting to swap electrum funds to increase receiving capacity.


i opened a channel with electrun trampoline and tried to make the first payment using LN invoice


was making a lightning transaction


I just sent a Lightning payment.


using robosats, this popped up when the hold invoice resolved.


got this error when the hold invoice from robosats resolved


sending over LN, payment went thru but got this error


SomberNight commented 4 years ago
E | gui.qt.exception_window.Exception_Hook | exception caught by crash reporter
Traceback (most recent call last):
  File "...\electrum\electrum\gui\qt\channel_details.py", line 103, in do_ln_payment_completed
    self.move('inflight', 'settled', payment_hash)
  File "...\electrum\electrum\gui\qt\channel_details.py", line 75, in move
    row_idx = self.keyname_rows[fro].pop(payment_hash)
KeyError: [... some RHASH here ...]
TARS-bot commented 4 years ago

Good morning @SomberNight,

I just received another crash report related to this issue. The crash occured on Electrum 4.0.0b1. I'm not sure which versions of Electrum include the fix but this is the first report from anything newer than 4.0.0a0 since you closed the issue.

Could you please check if this issue really is resolved? Here is the traceback that I just collected:

  File "/home/pv/Desktop/1/Electrum-4.0.0b1/electrum/gui/qt/channel_details.py", line 109, in do_ln_payment_completed
    self.move('inflight', 'settled', payment_hash)
  File "/home/pv/Desktop/1/Electrum-4.0.0b1/electrum/gui/qt/channel_details.py", line 79, in move
    row_idx = self.keyname_rows[fro].pop(payment_hash)

KeyError: b"\xb1n\xd3Oj\xd2i'\xc7\x16\xea=F\xedx\xf2t\xc5o\xa3\xc4\x9c\xb3\xe5\xcfC\x16\xb3XL\xa40"

~ With robotic wishes

TARS-bot commented 4 years ago

Good evening @SomberNight,

I just received another crash report related to this issue. The crash occured on Electrum 4.0.1. I'm not sure which versions of Electrum include the fix but this is the first report from anything newer than 4.0.0b1 since you closed the issue.

Could you please check if this issue really is resolved? Here is the traceback that I just collected:

  File "electrum\gui\qt\channel_details.py", line 109, in do_ln_payment_completed
  File "electrum\gui\qt\channel_details.py", line 79, in move

KeyError: b'\x08\x89\xa0\x11R=9\x07\xa8\x87\x80f\xe0\xae\x0b\xa5\xd5,\xc7\xc6\xc8\xfc\xdc\xae\x9a\xf5\x1c\xa1\x08\xef\xf0\xfa'

~ With robotic wishes

TARS-bot commented 4 years ago

Good morning @SomberNight,

I just received another crash report related to this issue. The crash occured on Electrum 4.0.2. I'm not sure which versions of Electrum include the fix but this is the first report from anything newer than 4.0.1 since you closed the issue.

Could you please check if this issue really is resolved? Here is the traceback that I just collected:

  File "electrum/gui/qt/channel_details.py", line 109, in do_ln_payment_completed
  File "electrum/gui/qt/channel_details.py", line 79, in move

KeyError: b'~ \x0c\xa7\xbd\xe8\xcb\xfe\x1d`\x03b\x1f}\xa3\nH>\xf98\x97\x01\xc8z\xe3g^\xd3\xeby\xef\xde'

~ With robotic wishes

TARS-bot commented 3 years ago

Good afternoon @SomberNight,

I just received another crash report related to this issue. The crash occured on Electrum 4.0.3. I'm not sure which versions of Electrum include the fix but this is the first report from anything newer than 4.0.2 since you closed the issue.

Could you please check if this issue really is resolved? Here is the traceback that I just collected:

  File "electrum\gui\qt\channel_details.py", line 109, in do_ln_payment_completed
  File "electrum\gui\qt\channel_details.py", line 79, in move

KeyError: b'\x83}VQ\xfc\xc3\xea\xf1\x0cGm6v\x13V\xaa\xf33\xf8\x9a\x1ax\x82\xb0\xdeB\x88\xede\x05\xf6\xfd'

~ With robotic wishes

TARS-bot commented 3 years ago

Good morning @SomberNight,

I just received another crash report related to this issue. The crash occured on Electrum 4.0.4. I'm not sure which versions of Electrum include the fix but this is the first report from anything newer than 4.0.3 since you closed the issue.

Could you please check if this issue really is resolved? Here is the traceback that I just collected:

  File "/tmp/.mount_electrBlc5pZ/usr/lib/python3.7/site-packages/electrum/gui/qt/channel_details.py", line 116, in do_ln_payment_failed
    self.move('inflight', 'failed', payment_hash)
  File "/tmp/.mount_electrBlc5pZ/usr/lib/python3.7/site-packages/electrum/gui/qt/channel_details.py", line 79, in move
    row_idx = self.keyname_rows[fro].pop(payment_hash)

KeyError: b'\xb9f\xbd`\x1e\xa2\xec}\x1doq\xa4C\x0c\xe8\x1bF\xc0\xbe\xe8gm\xed>\xfa\xa2\xd5\xea\x01M\x91\x0f'

~ With robotic wishes

TARS-bot commented 3 years ago

Good afternoon @SomberNight,

I just received another crash report related to this issue. The crash occured on Electrum 4.0.5. I'm not sure which versions of Electrum include the fix but this is the first report from anything newer than 4.0.4 since you closed the issue.

Could you please check if this issue really is resolved? Here is the traceback that I just collected:

  File "electrum\gui\qt\channel_details.py", line 109, in do_ln_payment_completed
  File "electrum\gui\qt\channel_details.py", line 79, in move

KeyError: b'\xcdU\xb8a\x17\x9c\x08\x8d\xa9&A\xd3\xfd0\xe2f\x0f{\xc3\xd0\x0b\xc5Dt\xfb\xcb\xc9\xa6\xcaz\xc4\xbc'

~ With robotic wishes

ecdsa commented 3 years ago

I can reproduce. it occurs when the channel details window has been open earlier, and is closed when the payment occurs

TARS-bot commented 3 years ago

Good morning @SomberNight,

I just received another crash report related to this issue. The crash occured on Electrum 4.0.9. I'm not sure which versions of Electrum include the fix but this is the first report from anything newer than 4.0.5 since you closed the issue.

Could you please check if this issue really is resolved? Here is the traceback that I just collected:

  File "electrum\gui\qt\channel_details.py", line 109, in do_ln_payment_completed
  File "electrum\gui\qt\channel_details.py", line 79, in move

KeyError: b'\xf8\xe8\xca\x9a\x86\x98\xc4\xd0\x1b\xe8j?9\xde\xebt\x0c\x8f\xfb\xa7\xc8\x83m\xeb5\xa0RY\x95\xb3\xe0\x0c'

~ With robotic wishes

TARS-bot commented 3 years ago

Good evening @SomberNight,

I just received another crash report related to this issue. The crash occured on Electrum 4.1.2. I'm not sure which versions of Electrum include the fix but this is the first report from anything newer than 4.0.9 since you closed the issue.

Could you please check if this issue really is resolved? Here is the traceback that I just collected:

  File "/home/ondra/Electrum-4.1.2/electrum/gui/qt/channel_details.py", line 117, in on_htlc_failed
    self.move('inflight', 'failed', payment_hash)
  File "/home/ondra/Electrum-4.1.2/electrum/gui/qt/channel_details.py", line 80, in move
    row_idx = self.keyname_rows[fro].pop(payment_hash)

KeyError: b'g\xe44\xbf\xd7j\xc0\x1cc\x02S\x18\xe7[\xca\xa5F\x13\xca\x7f\xe1\x18*\xf37\xc4q\xf6V<\x00#'

~ With robotic wishes

TARS-bot commented 2 years ago

Good afternoon @SomberNight,

I just received another crash report related to this issue. The crash occured on Electrum 4.1.5. I'm not sure which versions of Electrum include the fix but this is the first report from anything newer than 4.1.2 since you closed the issue.

Could you please check if this issue really is resolved? Here is the traceback that I just collected:

Traceback (most recent call last):
  File "/home/ondra/.local/lib/python3.8/site-packages/electrum/gui/qt/channel_details.py", line 117, in on_htlc_failed
    self.move('inflight', 'failed', payment_hash)
  File "/home/ondra/.local/lib/python3.8/site-packages/electrum/gui/qt/channel_details.py", line 80, in move
    row_idx = self.keyname_rows[fro].pop(payment_hash)
KeyError: b'\xaeC\x11\xbc\x8b\x7f\'\x06\xd3\xe1\xfc\xce\xeak\x05\x1e\x12T\x0c\xa4\xae"\xe9b0\x10\xb3V\xd9\xcc\xcd\xb7'

KeyError: b'\xaeC\x11\xbc\x8b\x7f\'\x06\xd3\xe1\xfc\xce\xeak\x05\x1e\x12T\x0c\xa4\xae"\xe9b0\x10\xb3V\xd9\xcc\xcd\xb7'

~ With robotic wishes

TARS-bot commented 2 years ago

Good evening @SomberNight,

I just received another crash report related to this issue. The crash occured on Electrum 4.2.2. I'm not sure which versions of Electrum include the fix but this is the first report from anything newer than 4.1.5 since you closed the issue.

Could you please check if this issue really is resolved? Here is the traceback that I just collected:

Traceback (most recent call last):
  File "electrum/gui/qt/channel_details.py", line 117, in on_htlc_failed
  File "electrum/gui/qt/channel_details.py", line 80, in move
KeyError: b"5\xa4\r-\x9d\xb2F\xb8'\xcb\x9b\xc2\xf7\xe1j\x13\xfd\xe3t.\x9d\x9f\n\xd2\x0e'\xdd\xd1`\xc3k\xd0"

KeyError: b"5\xa4\r-\x9d\xb2F\xb8'\xcb\x9b\xc2\xf7\xe1j\x13\xfd\xe3t.\x9d\x9f\n\xd2\x0e'\xdd\xd1`\xc3k\xd0"

~ With robotic wishes

TARS-bot commented 1 year ago

Good morning @SomberNight,

I just received another crash report related to this issue. The crash occured on Electrum 4.3.2. I'm not sure which versions of Electrum include the fix but this is the first report from anything newer than 4.2.2 since you closed the issue.

Could you please check if this issue really is resolved? Here is the traceback that I just collected:

Traceback (most recent call last):
  File "/tmp/.mount_electrZjaNiv/usr/lib/python3.9/site-packages/electrum/gui/qt/util.py", line 1669, in on_qt_callback_signal
    return func(self, *args[1:])
  File "/tmp/.mount_electrZjaNiv/usr/lib/python3.9/site-packages/electrum/gui/qt/channel_details.py", line 149, in on_event_htlc_fulfilled
    self.move('inflight', 'settled', payment_hash)
  File "/tmp/.mount_electrZjaNiv/usr/lib/python3.9/site-packages/electrum/gui/qt/channel_details.py", line 126, in move
    row_idx = self.keyname_rows[fro].pop(payment_hash)
KeyError: b'\xed\xd5y_\x8a*\xdf\xbb\xd3W\xe8\xf0;\x95Z\x1bY\xc1\x1c\xfe4{Hk/\x04\x16\xde\xb0\xac\x94j'

KeyError: b'\xed\xd5y_\x8a*\xdf\xbb\xd3W\xe8\xf0;\x95Z\x1bY\xc1\x1c\xfe4{Hk/\x04\x16\xde\xb0\xac\x94j'

~ With robotic wishes

TARS-bot commented 1 year ago

Good afternoon @SomberNight,

I just received another crash report related to this issue. The crash occured on Electrum 4.4.5. I'm not sure which versions of Electrum include the fix but this is the first report from anything newer than 4.3.2 since you closed the issue.

Could you please check if this issue really is resolved? Here is the traceback that I just collected:

Traceback (most recent call last):
  File "/home/miernik/.local/pipx/venvs/electrum/lib/python3.11/site-packages/electrum/gui/qt/util.py", line 1283, in on_qt_callback_signal
    return func(self, *args[1:])
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/miernik/.local/pipx/venvs/electrum/lib/python3.11/site-packages/electrum/gui/qt/channel_details.py", line 156, in on_event_htlc_failed
    self.move('inflight', 'failed', payment_hash)
  File "/home/miernik/.local/pipx/venvs/electrum/lib/python3.11/site-packages/electrum/gui/qt/channel_details.py", line 126, in move
    row_idx = self.keyname_rows[fro].pop(payment_hash)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: b'E\xc4\xa6Ra[\xc5\xaa\xdfE\x86R\xe4\x14H.Cl\x0b\x9ed\xe8\x97\x88\xe7\x8a|)\x986\x14\xe2'

KeyError: b'E\xc4\xa6Ra[\xc5\xaa\xdfE\x86R\xe4\x14H.Cl\x0b\x9ed\xe8\x97\x88\xe7\x8a|)\x986\x14\xe2'

~ With robotic wishes

TARS-bot commented 9 months ago

Good evening @SomberNight,

I just received another crash report related to this issue. The crash occured on Electrum 4.5.0b1. I'm not sure which versions of Electrum include the fix but this is the first report from anything newer than 4.4.5 since you closed the issue.

Could you please check if this issue really is resolved? Here is the traceback that I just collected:

Traceback (most recent call last):
  File "/electrum/electrum/gui/qt/util.py", line 1420, in on_qt_callback_signal
    return func(self, *args[1:])
           ^^^^^^^^^^^^^^^^^^^^^
  File "/electrum/electrum/gui/qt/channel_details.py", line 156, in on_event_htlc_failed
    self.move('inflight', 'failed', payment_hash)
  File "/electrum/electrum/gui/qt/channel_details.py", line 126, in move
    row_idx = self.keyname_rows[fro].pop(payment_hash)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: b'\xd7rBM\xdb\x8c\xcf\x1a\xfdyQE\\<TiX\xd3\x08\x04\x08\xe5^\x96zE\xf7\xd1{\xc0\xed@'

KeyError: b'\xd7rBM\xdb\x8c\xcf\x1a\xfdyQE\\<TiX\xd3\x08\x04\x08\xe5^\x96zE\xf7\xd1{\xc0\xed@'

~ With robotic wishes

TARS-bot commented 7 months ago

Good morning @SomberNight,

I just received another crash report related to this issue. The crash occured on Electrum 4.5.2. I'm not sure which versions of Electrum include the fix but this is the first report from anything newer than 4.5.0b1 since you closed the issue.

Could you please check if this issue really is resolved? Here is the traceback that I just collected:

Traceback (most recent call last):
  File "/home/hannes/.local/lib/python3.10/site-packages/electrum/gui/qt/util.py", line 1426, in on_qt_callback_signal
    return func(self, *args[1:])
  File "/home/hannes/.local/lib/python3.10/site-packages/electrum/gui/qt/channel_details.py", line 149, in on_event_htlc_fulfilled
    self.move('inflight', 'settled', payment_hash)
  File "/home/hannes/.local/lib/python3.10/site-packages/electrum/gui/qt/channel_details.py", line 126, in move
    row_idx = self.keyname_rows[fro].pop(payment_hash)
KeyError: b'\x82v\xdb\x00r\x1c\xe9_v40i7\r<V8o\x0b\xf3\\II\x9c\x87\x92\xcb?\xd0\xb9\x80t'

KeyError: b'\x82v\xdb\x00r\x1c\xe9_v40i7\r<V8o\x0b\xf3\\II\x9c\x87\x92\xcb?\xd0\xb9\x80t'

~ With robotic wishes

TARS-bot commented 6 months ago

Good evening @SomberNight,

I just received another crash report related to this issue. The crash occured on Electrum 4.5.3. I'm not sure which versions of Electrum include the fix but this is the first report from anything newer than 4.5.2 since you closed the issue.

Could you please check if this issue really is resolved? Here is the traceback that I just collected:

Traceback (most recent call last):
  File "electrum\gui\qt\util.py", line 1429, in on_qt_callback_signal
  File "electrum\gui\qt\channel_details.py", line 149, in on_event_htlc_fulfilled
  File "electrum\gui\qt\channel_details.py", line 126, in move
KeyError: b'\xab\x9f6\xc0b\xc5\xe3\x9d$U1sx\xdb\xe9O\x0c\xbe_\xe1v\xae\xb7 \x14NSw\x80}\xb1G'

KeyError: b'\xab\x9f6\xc0b\xc5\xe3\x9d$U1sx\xdb\xe9O\x0c\xbe_\xe1v\xae\xb7 \x14NSw\x80}\xb1G'

~ With robotic wishes

ecdsa commented 6 months ago

Although I cannot reproduce this, I think there is no guarantee that qt callbacks are going to be called in the right order. This might result from on_event_htlc_fulfilled being called before on_event_htlc_added, which would explain the bug.

In addition, qt callbacks are not going to be called if the channel details window has not been instantiated. Maybe a htlc_added event might be received after create_htlc_list has been called, but before the window is fully instantiated.

ecdsa commented 6 months ago

note: while investigating this issue, I noted that the channel details window does not update received HTLCs. this can be fixed by adding callbacks:

index bd94eedfa..bd3421a76 100644
--- a/electrum/lnpeer.py
+++ b/electrum/lnpeer.py
@@ -2204,6 +2204,8 @@ class Peer(Logger):
             channel_id=chan.channel_id,
             id=htlc_id,
             payment_preimage=preimage)
+        payment_hash = sha256(preimage)
+        util.trigger_callback('htlc_fulfilled', payment_hash, chan, htlc_id)

     def fail_htlc(self, *, chan: Channel, htlc_id: int, error_bytes: bytes):
         self.logger.info(f"fail_htlc. chan {chan.short_channel_id}. htlc_id {htlc_id}.")
@@ -2216,6 +2218,8 @@ class Peer(Logger):
             id=htlc_id,
             len=len(error_bytes),
             reason=error_bytes)
+        payment_hash = sha256(preimage)
+        util.trigger_callback('htlc_failed', payment_hash, chan, htlc_id)

     def fail_malformed_htlc(self, *, chan: Channel, htlc_id: int, reason: OnionRoutingFailure):
         self.logger.info(f"fail_malformed_htlc. chan {chan.short_channel_id}. htlc_id {htlc_id}.")
@@ -2230,6 +2234,8 @@ class Peer(Logger):
             id=htlc_id,
             sha256_of_onion=reason.data,
             failure_code=reason.code)
+        payment_hash = sha256(preimage)
+        util.trigger_callback('htlc_failed', payment_hash, chan, htlc_id)

     def on_revoke_and_ack(self, chan: Channel, payload):
         if chan.peer_state == PeerState.BAD:
TARS-bot commented 6 months ago

Good evening @SomberNight,

I just received another crash report related to this issue. The crash occured on Electrum 4.5.4. I'm not sure which versions of Electrum include the fix but this is the first report from anything newer than 4.5.3 since you closed the issue.

Could you please check if this issue really is resolved? Here is the traceback that I just collected:

Traceback (most recent call last):
  File "electrum\gui\qt\util.py", line 1429, in on_qt_callback_signal
  File "electrum\gui\qt\channel_details.py", line 156, in on_event_htlc_failed
  File "electrum\gui\qt\channel_details.py", line 126, in move
KeyError: b'[\x8er\\z\x86\x10 \x823\xf9\xf6\xeci\x1d\x07\xe5\xa9\xd9P80\xa1\xcf\xcfH\xb4\xaa\xd6{\xc3\xd4'

KeyError: b'[\x8er\\z\x86\x10 \x823\xf9\xf6\xeci\x1d\x07\xe5\xa9\xd9P80\xa1\xcf\xcfH\xb4\xaa\xd6{\xc3\xd4'

~ With robotic wishes

TARS-bot commented 3 months ago

Good evening @SomberNight,

I just received another crash report related to this issue. The crash occured on Electrum 4.5.5. I'm not sure which versions of Electrum include the fix but this is the first report from anything newer than 4.5.4 since you closed the issue.

Could you please check if this issue really is resolved? Here is the traceback that I just collected:

Traceback (most recent call last):
  File "/home/user/Electrum-4.5.5/electrum/gui/qt/util.py", line 1429, in on_qt_callback_signal
    return func(self, *args[1:])
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/user/Electrum-4.5.5/electrum/gui/qt/channel_details.py", line 156, in on_event_htlc_failed
    self.move('inflight', 'failed', payment_hash)
  File "/home/user/Electrum-4.5.5/electrum/gui/qt/channel_details.py", line 126, in move
    row_idx = self.keyname_rows[fro].pop(payment_hash)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: b'dg>\x98\xa76\x1b\xc9\xf8B\xa1\x1c\x98\xc0\xed\xee\x1a\xb0\xdd\x1c?v\x94\x9e\x0c|I\x80:\xebf>'

KeyError: b'dg>\x98\xa76\x1b\xc9\xf8B\xa1\x1c\x98\xc0\xed\xee\x1a\xb0\xdd\x1c?v\x94\x9e\x0c|I\x80:\xebf>'

~ With robotic wishes