Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: bad operand type for abs(): 'NoneType' #9282

Open
TARS-bot opened this issue Oct 27, 2024 · 0 comments
Open

TypeError: bad operand type for abs(): 'NoneType' #9282

TARS-bot opened this issue Oct 27, 2024 · 0 comments

Comments

@TARS-bot
Copy link

TARS-bot commented Oct 27, 2024

Crash Report

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

Traceback

Traceback (most recent call last):
  File "/tmp/.mount_electryqfzaJ/usr/lib/python3.10/site-packages/electrum/gui/qt/main_window.py", line 2195, in do_process_from_file
    self.show_transaction(tx)
  File "/tmp/.mount_electryqfzaJ/usr/lib/python3.10/site-packages/electrum/gui/qt/main_window.py", line 1109, in show_transaction
    show_transaction(tx, parent=self, external_keypairs=external_keypairs, payment_identifier=payment_identifier)
  File "/tmp/.mount_electryqfzaJ/usr/lib/python3.10/site-packages/electrum/gui/qt/transaction_dialog.py", line 420, in show_transaction
    d = TxDialog(
  File "/tmp/.mount_electryqfzaJ/usr/lib/python3.10/site-packages/electrum/gui/qt/transaction_dialog.py", line 565, in __init__
    self.update()
  File "/tmp/.mount_electryqfzaJ/usr/lib/python3.10/site-packages/electrum/gui/qt/transaction_dialog.py", line 909, in update
    invoice_amt = abs(amount) or self.tx.output_value()
TypeError: bad operand type for abs(): 'NoneType'

TypeError: bad operand type for abs(): 'NoneType'

Reporter

This issue was reported by 9 user(s):

Electrum Version Python Version Operating System Wallet Type Locale Stack
4.5.8 3.10.13 (main, Jun 28 2018, 19:01:02) [GCC 8.3.0] Linux-6.8.0-47-generic-x86_64-with-glibc2.39 standard de_AT
4.5.8 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-15.0.1-x86_64-i386-64bit standard ?
4.5.8 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22631-SP0 standard en_US
4.5.8 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22631-SP0 standard en_US
4.5.8 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22631-SP0 standard en_US
4.5.8 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 imported,standard zh_CN
4.5.8 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,imported en_GB
4.5.8 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,imported en_GB
4.5.8 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 en_GB

Additional Information

cHNidP8BAHcCAAAAAegEF8HU1CZGr/uNxrPwY9t5RfH3d/IwN8ziq0IOAkdyAAAAAAD9////AuTIAgAAAAAAGXapFC+DSUpq5xpmYO+YV5JTMKsLQoWpiKwAG7cAAAAAABl2qRS/PDmbBvTE3MN/zxlc5ONujJumxYisOEANAAABAP0CAQEAAAABYJIDjNANClC3GfOpGIBVEEFs9oDnB0lebgQj+GazhTMMAAAAi0gwRQIhAO6IVmXFz3guAS8hPd4xKYnawTqaMigoacb8zPLr7OrVAiA5amGrdyKdk1GecnknNBp+bK6hcMjb/pKapWQKaD0EcgFBBPRcSl4GqWjYiwJYCjsdxBbRhktv5zgFPaX2WvLAR0QvJ3v8Vdcnb1JlHj790zaHKo6SwO8FGY0mpbL5nZwfB7P/////AqfouQAAAAAAGXapFM0bG4WPP7moeOMnecxaJpAYoJsfiKyztB8IAAAAABl2qRT5Qt0CchZF8VPYLHp8O96BzWJNOYisAAAAACIGAg72coICUXDGQGXOgyaTmQadH+AalVqRYqVdmZtdLJcnDEMjyEgAAAAAPwAAAAAiAgLeoyKl2MsDL9rxHeqjRYUjk/3oJ+kIvrgYr9j+qmY/ygxDI8hIAQAAAAIAAAAAIgICWe/tkxBK1RH2UGczYhvilwrJNChkWf0W3TG0GzXMbboMQyPISAAAAAALAAAAAA==


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant