electrum icon indicating copy to clipboard operation
electrum copied to clipboard

IndexError: list index out of range

Open TARS-bot opened this issue 5 years ago • 1 comments

Crash Report

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

Traceback

  File "electrum\gui\qt\transaction_dialog.py", line 319, in save
  File "electrum\gui\qt\main_window.py", line 3238, in save_transaction_into_wallet
  File "electrum\wallet.py", line 831, in add_transaction
  File "electrum\address_synchronizer.py", line 236, in add_transaction

IndexError: list index out of range

Reporter

This issue was reported by 9 user(s):

Electrum Version Python Version Operating System Wallet Type Locale Stack
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.10240-SP0 imported en_US
4.0.7 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_ZA
4.0.7 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_ZA
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_ID
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.1.2 3.8.8 (tags/v3.8.8:024d805, Feb 19 2021, 13:08:11) [MSC v.1928 32 bit (Intel)] Windows-10-10.0.18362-SP0 standard cs_CZ
4.1.2 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_GB
4.0.9 3.9.9 (main, Dec 16 2021, 23:13:29) [GCC 11.2.0] Linux-5.15.0-kali2-amd64-x86_64-with-glibc2.33 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

Additional Information

Unsigned


Traceback (most recent call last): File "electrum\gui\qt\transaction_dialog.py", line 339, in save File "electrum\gui\qt\main_window.py", line 3391, in save_transaction_into_wallet File "electrum\wallet.py", line 902, in add_transaction File "electrum\address_synchronizer.py", line 273, in add_transaction IndexError: list index out of range

Additional information Electrum version: 4.1.2 Python version: 3.8.8 (tags/v3.8.8:024d805, Feb 19 2021, 13:08:11) [MSC v.1928 32 bit (Intel)] Operating system: Windows-10-10.0.18362-SP0 Wallet type: standard Locale: cs_CZ


TARS-bot avatar Oct 06 '20 14:10 TARS-bot

https://github.com/spesmilo/electrum/blob/4.0.3/electrum/address_synchronizer.py#L236

looks like the tx has zero inputs.

SomberNight avatar Oct 06 '20 15:10 SomberNight