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

AttributeError: 'NoneType' object has no attribute '__int__' #7998

Open
TARS-bot opened this issue Oct 4, 2022 · 0 comments
Open

AttributeError: 'NoneType' object has no attribute '__int__' #7998

TARS-bot opened this issue Oct 4, 2022 · 0 comments

Comments

@TARS-bot
Copy link

TARS-bot commented Oct 4, 2022

Crash Report

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

Traceback

Traceback (most recent call last):
  File "/home/sander/projects/electrum/electrum/electrum/gui/qt/util.py", line 1090, in input_qr_from_screenshot
    scan_result = scan_qr_from_image(screen.grabWindow(0).toImage())
  File "/home/sander/projects/electrum/electrum/electrum/gui/qt/qrreader/__init__.py", line 63, in scan_qr_from_image
    image_y800.constBits().__int__(), image_y800.byteCount(),
AttributeError: 'NoneType' object has no attribute '__int__'

AttributeError: 'NoneType' object has no attribute '__int__'

Reporter

This issue was reported by 86 user(s):

Electrum Version Python Version Operating System Wallet Type Locale Stack
4.3.2-34-gc0b4423ef 3.10.7 (main, Sep 8 2022, 14:34:29) [GCC 12.2.0] Linux-5.19.8 -x86_64-with-glibc2.35 standard en_US
4.3.3 3.11.1 (main, Dec 7 2022, 00:00:00) [GCC 12.2.1 20221121 (Red Hat 12.2.1-4)] Linux-6.0.18-300.fc37.x86_64-x86_64-with-glibc2.36 standard ja_JP
4.4.3 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110] Linux-6.2.0-1-librem5-aarch64-with-glibc2.31 standard en_US
4.4.3 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110] Linux-6.2.0-1-librem5-aarch64-with-glibc2.31 standard en_US
4.4.4 3.11.3 (main, Apr 5 2023, 15:52:25) [GCC 12.2.1 20230201] Linux-6.3.5-zen1-1-zen-x86_64-with-glibc2.37 standard,2of2 es_VE
4.3.4 3.11.4 (main, Jun 7 2023, 00:00:00) [GCC 13.1.1 20230511 (Red Hat 13.1.1-2)] Linux-6.3.12-200.fc38.x86_64-x86_64-with-glibc2.37 standard en_US
4.4.5 3.9.15 (main, Jun 28 2018, 19:01:02) [GCC 8.3.0] Linux-6.1.0-9-amd64-x86_64-with-glibc2.36 standard en_US
4.3.4 3.11.4 (main, Jun 7 2023, 00:00:00) [GCC 13.1.1 20230511 (Red Hat 13.1.1-2)] Linux-6.3.12-200.fc38.x86_64-x86_64-with-glibc2.37 standard ja_JP
4.3.4 3.12.1 (main, Dec 18 2023, 00:00:00) [GCC 13.2.1 20231205 (Red Hat 13.2.1-6)] Linux-6.6.9-200.fc39.x86_64-x86_64-with-glibc2.38 imported en_US
4.3.4 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.0-17-amd64-x86_64-with-glibc2.36 pt_BR
4.3.4 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.0-17-amd64-x86_64-with-glibc2.36 standard pt_BR
4.3.4 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.0-17-amd64-x86_64-with-glibc2.36 standard pt_BR
4.3.4 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.0-17-amd64-x86_64-with-glibc2.36 en_US
4.3.4 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.0-17-amd64-x86_64-with-glibc2.36 en_US
4.3.4 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.0-17-amd64-x86_64-with-glibc2.36 pt_PT
4.3.4 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.0-17-amd64-x86_64-with-glibc2.36 standard en_US
4.3.4 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.0-17-amd64-x86_64-with-glibc2.36 2fa en_US
4.3.4 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.0-17-amd64-x86_64-with-glibc2.36 standard it_IT
4.3.4 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.0-17-amd64-x86_64-with-glibc2.36 standard pt_BR
4.3.4 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.0-17-amd64-x86_64-with-glibc2.36 en_US
4.3.4 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.0-17-amd64-x86_64-with-glibc2.36 standard en_US
4.3.4 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.0-18-amd64-x86_64-with-glibc2.36 standard en_US
4.3.4 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.0-17-amd64-x86_64-with-glibc2.36 standard pt_BR
4.3.4 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.0-17-amd64-x86_64-with-glibc2.36 standard en_US
4.3.4 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.0-20-amd64-x86_64-with-glibc2.36 standard de_DE
4.3.4 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1-sunxi64-aarch64-with-glibc2.36 standard en_US
4.3.4 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1-sunxi64-aarch64-with-glibc2.36 standard en_US
4.3.4 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.0-20-amd64-x86_64-with-glibc2.36 es_ES
4.3.4 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.0-17-amd64-x86_64-with-glibc2.36 ru_RU
4.3.4 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.0-20-amd64-x86_64-with-glibc2.36 standard en_US
4.3.4 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.0-21-amd64-x86_64-with-glibc2.36 standard pt_BR
4.3.4 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.0-21-amd64-x86_64-with-glibc2.36 standard pt_PT
4.3.4 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.0-21-amd64-x86_64-with-glibc2.36 standard en_US
4.3.4 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.0-21-amd64-x86_64-with-glibc2.36 en_US
4.3.4 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.0-21-amd64-x86_64-with-glibc2.36 standard en_US
4.3.4 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.0-21-amd64-x86_64-with-glibc2.36 en_US
4.3.4 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.0-20-amd64-x86_64-with-glibc2.36 en_US
4.3.4 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.0-21-amd64-x86_64-with-glibc2.36 standard en_US
4.3.4 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.0-21-amd64-x86_64-with-glibc2.36 standard en_US
4.3.4 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.0-21-amd64-x86_64-with-glibc2.36 standard en_US
4.3.4 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.0-21-amd64-x86_64-with-glibc2.36 standard en_US
4.3.4 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.0-21-amd64-x86_64-with-glibc2.36 standard ru_RU
4.3.4 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.0-21-amd64-x86_64-with-glibc2.36 pt_BR
4.3.4 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.0-21-amd64-x86_64-with-glibc2.36 en_US
4.3.4 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.0-21-amd64-x86_64-with-glibc2.36 standard pt_BR
4.3.4 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.0-21-amd64-x86_64-with-glibc2.36 standard en_US
4.3.4 3.11.2 (main, May 2 2024, 11:59:08) [GCC 12.2.0] Linux-6.1.0-21-amd64-x86_64-with-glibc2.36 standard en_US
4.3.4 3.11.2 (main, May 2 2024, 11:59:08) [GCC 12.2.0] Linux-6.1.0-21-amd64-x86_64-with-glibc2.36 en_US
4.3.4 3.11.2 (main, May 2 2024, 11:59:08) [GCC 12.2.0] Linux-6.1.0-21-amd64-x86_64-with-glibc2.36 standard en_US
4.3.4 3.11.2 (main, May 2 2024, 11:59:08) [GCC 12.2.0] Linux-6.1.0-21-amd64-x86_64-with-glibc2.36 standard ru_RU
4.3.4 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.0-21-amd64-x86_64-with-glibc2.36 standard pt_BR
4.3.4 3.11.2 (main, May 2 2024, 11:59:08) [GCC 12.2.0] Linux-6.1.0-21-amd64-x86_64-with-glibc2.36 ru_RU
4.3.4 3.11.2 (main, May 2 2024, 11:59:08) [GCC 12.2.0] Linux-6.1.0-21-amd64-x86_64-with-glibc2.36 standard ru_RU
4.3.4 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.0-17-amd64-x86_64-with-glibc2.36 standard pt_PT
4.3.4 3.11.2 (main, May 2 2024, 11:59:08) [GCC 12.2.0] Linux-6.1.0-23-amd64-x86_64-with-glibc2.36 standard pt_BR
4.3.4 3.11.2 (main, Aug 26 2024, 07:20:54) [GCC 12.2.0] Linux-6.1.0-23-amd64-x86_64-with-glibc2.36 standard en_US
4.3.4 3.11.2 (main, Aug 26 2024, 07:20:54) [GCC 12.2.0] Linux-6.1.0-23-amd64-x86_64-with-glibc2.36 standard en_US
4.3.4 3.11.2 (main, Aug 26 2024, 07:20:54) [GCC 12.2.0] Linux-6.1.0-23-amd64-x86_64-with-glibc2.36 en_AU
4.3.4 3.11.2 (main, Aug 26 2024, 07:20:54) [GCC 12.2.0] Linux-6.1.0-23-amd64-x86_64-with-glibc2.36 standard en_US
4.3.4 3.11.2 (main, Aug 26 2024, 07:20:54) [GCC 12.2.0] Linux-6.1.0-26-amd64-x86_64-with-glibc2.36 en_US
4.3.4 3.11.2 (main, May 2 2024, 11:59:08) [GCC 12.2.0] Linux-6.1.0-23-amd64-x86_64-with-glibc2.36 standard en_US
4.3.4 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.0-17-amd64-x86_64-with-glibc2.36 standard pt_PT
4.3.4 3.11.2 (main, Aug 26 2024, 07:20:54) [GCC 12.2.0] Linux-6.1.0-26-amd64-x86_64-with-glibc2.36 standard it_IT
4.3.4 3.11.2 (main, Aug 26 2024, 07:20:54) [GCC 12.2.0] Linux-6.1.0-26-amd64-x86_64-with-glibc2.36 standard pt_BR
4.3.4 3.11.2 (main, Aug 26 2024, 07:20:54) [GCC 12.2.0] Linux-6.1.0-26-amd64-x86_64-with-glibc2.36 standard pt_BR
4.3.4 3.11.2 (main, Aug 26 2024, 07:20:54) [GCC 12.2.0] Linux-6.1.0-26-amd64-x86_64-with-glibc2.36 en_US
4.3.4 3.11.2 (main, Aug 26 2024, 07:20:54) [GCC 12.2.0] Linux-6.1.0-26-amd64-x86_64-with-glibc2.36 standard en_US
4.3.4 3.11.2 (main, Aug 26 2024, 07:20:54) [GCC 12.2.0] Linux-6.1.0-26-amd64-x86_64-with-glibc2.36 standard pt_BR
4.3.4 3.11.2 (main, Aug 26 2024, 07:20:54) [GCC 12.2.0] Linux-6.1.0-26-amd64-x86_64-with-glibc2.36 standard ru_RU
4.3.4 3.11.2 (main, Aug 26 2024, 07:20:54) [GCC 12.2.0] Linux-6.1.0-26-amd64-x86_64-with-glibc2.36 2fa en_US
4.3.4 3.11.2 (main, Aug 26 2024, 07:20:54) [GCC 12.2.0] Linux-6.1.0-26-amd64-x86_64-with-glibc2.36 standard en_US
4.3.4 3.11.2 (main, Aug 26 2024, 07:20:54) [GCC 12.2.0] Linux-6.1.0-26-amd64-x86_64-with-glibc2.36 standard pt_BR
4.3.4 3.11.2 (main, Aug 26 2024, 07:20:54) [GCC 12.2.0] Linux-6.1.0-26-amd64-x86_64-with-glibc2.36 standard pt_BR
4.3.4 3.11.2 (main, Sep 14 2024, 03:00:30) [GCC 12.2.0] Linux-6.1.0-26-amd64-x86_64-with-glibc2.36 de_DE
4.3.4 3.11.2 (main, Aug 26 2024, 07:20:54) [GCC 12.2.0] Linux-6.1.0-26-amd64-x86_64-with-glibc2.36 standard en_US
4.3.4 3.11.2 (main, Sep 14 2024, 03:00:30) [GCC 12.2.0] Linux-6.1.0-28-amd64-x86_64-with-glibc2.36 standard en_US
4.3.4 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Linux-6.1.0-17-amd64-x86_64-with-glibc2.36 sv_SE
4.3.4 3.11.2 (main, Sep 14 2024, 03:00:30) [GCC 12.2.0] Linux-6.1.0-28-amd64-x86_64-with-glibc2.36 standard pt_PT
4.3.4 3.11.2 (main, Sep 14 2024, 03:00:30) [GCC 12.2.0] Linux-6.1.0-28-amd64-x86_64-with-glibc2.36 standard pt_PT
4.3.4 3.11.2 (main, Sep 14 2024, 03:00:30) [GCC 12.2.0] Linux-6.1.0-28-amd64-x86_64-with-glibc2.36 standard tr_TR
4.3.4 3.11.2 (main, Sep 14 2024, 03:00:30) [GCC 12.2.0] Linux-6.1.0-28-amd64-x86_64-with-glibc2.36 pt_BR
4.3.4 3.11.2 (main, Sep 14 2024, 03:00:30) [GCC 12.2.0] Linux-6.1.0-28-amd64-x86_64-with-glibc2.36 standard pt_BR
4.3.4 3.11.2 (main, Sep 14 2024, 03:00:30) [GCC 12.2.0] Linux-6.1.0-28-amd64-x86_64-with-glibc2.36 standard pt_BR
4.3.4 3.11.2 (main, Sep 14 2024, 03:00:30) [GCC 12.2.0] Linux-6.1.0-28-amd64-x86_64-with-glibc2.36 standard pt_BR
4.3.4 3.11.2 (main, Sep 14 2024, 03:00:30) [GCC 12.2.0] Linux-6.1.0-28-amd64-x86_64-with-glibc2.36 standard en_US
4.3.4 3.11.2 (main, Sep 14 2024, 03:00:30) [GCC 12.2.0] Linux-6.1.0-28-amd64-x86_64-with-glibc2.36 standard en_US

Additional Information

burg ridge velvet cigar income initial nest olimpic resemble daughter fade shed


send qr code from screen.
running gnome debian


clicked to display qr code to send funds and it crashed


jk,n


Running updated TAILS & tried to screen capture/import an XMR addy, but I don't think it even saw that tab before the errow. Thank you!


não estou conseguindo finalizar tranzações


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