spesmilo / electrum

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

AttributeError: 'NoneType' object has no attribute 'contacts' #4497

Closed TARS-bot closed 6 years ago

TARS-bot commented 6 years ago

Crash Report

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

Traceback

  File "./lib/util.py", line 856, in run_with_except_hook
    run_original(*args2, **kwargs2)
  File "/data/user/0/org.electrum.electrum/files/app/crystax_python/site-packages/jnius/__init__.py", line 54, in jnius_thread_hook
    return orig_thread_run(*args, **kwargs)
  File "/data/user/0/org.electrum.electrum/files/app/crystax_python/stdlib.zip/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "./lib/util.py", line 685, in get_payment_request_thread
    on_pr(request)
  File "./gui/kivy/main_window.py", line 288, in on_pr
    if pr.verify(self.wallet.contacts):

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

Reporter

This issue was reported by 47 user(s):

Electrum Version Python Version Operating System Wallet Type Locale Stack
3.2.1 Android 7.0 on lge sf340 (NRD90U) unknown ? ℹ
3.2.1 Android 8.1.0 on google marlin (OPM4.171019.021.P1) unknown ? ℹ
3.2.1 Android 8.1.0 on google sailfish (OPM4.171019.021.D1) unknown ? ℹ
3.2.1 Android 8.0.0 on samsung dreamlte (R16NW.G950FXXU2CRF7) unknown ? ℹ
3.2.1 Android 8.0.0 on samsung herolte (R16NW.G930FXXU2ERE8) unknown ? ℹ
3.2.1 Android 8.0.0 on samsung dream2qlteue (R16NW.G955U1UES3CRE2) unknown ? ℹ
3.2.1 Android 8.0.0 on samsung herolte (R16NW.G930FXXU2ERE8) unknown ? ℹ
3.2.1 Android 8.0.0 on HUAWEI HWFIG-H (FIG-LX1 8.0.0.129(C10)) unknown ? ℹ
3.2.1 Android 5.1.1 on Emerson EM756 (LMY48Y release-keys) unknown ? ℹ
3.2.1 Android 7.0 on samsung a9xproltesea (NRD90M.A910FXXU1BRA2) unknown ? ℹ
3.2.1 Android 8.0.0 on google marlin (OPR3.170623.013) unknown ? ℹ
3.2.1 Android 8.0.0 on samsung starlte (R16NW.G960FXXU1BRF8) unknown ? ℹ
3.2.1 Android 8.0.0 on samsung starlte (R16NW.G960FXXU1BRF8) unknown ? ℹ
3.2.1 Android 5.1.1 on kyocera C6743 (LMY47V) unknown ? ℹ
3.2.1 Android 8.0.0 on samsung dreamlte (R16NW.G950FXXU2CRF7) unknown ? ℹ
3.2.1 Android 8.0.0 on samsung dreamlte (R16NW.G950FXXU2CRF7) unknown ? ℹ
3.2.1 Android 7.0 on samsung noblelte (NNE2.1_N920CXXU3CQC7) unknown ? ℹ
3.2.1 Android 8.0.0 on samsung herolte (R16NW.G930FXXU2EREM) unknown ? ℹ
3.2.1 Android 7.1.1 on motorola harpia (NPI26.48-43) unknown ? ℹ
3.2.1 Android 7.0 on HUAWEI HWEVA (EVA-L09C432B395) unknown ? ℹ
3.2.1 Android 4.4.4 on zte draconis (Z970_MetroPCSV1.0.0B15) unknown ? ℹ
3.2.1 Android 7.1.1 on Sony E6853 (32.4.A.1.54) unknown ? ℹ
3.2.1 Android 7.0 on samsung a9xproltesea (NRD90M.A910FXXU1BRA2) unknown ? ℹ
3.2.1 Android 5.0.1 on samsung jfltecan (LRX22C.I337MVLSGQB1) unknown ? ℹ
3.2.1 Android 8.1.0 on google marlin (OPM4.171019.021.P1) unknown ? ℹ
3.2.1 Android 4.4.4 on samsung j1pop3g (KTU84P.J110HXXS0APL1) unknown ? ℹ
3.2.1 Android 8.0.0 on motorola nash (ODXS27.109-34-14) unknown ? ℹ
3.2.1 Android 8.0.0 on samsung dreamqlteue (R16NW.G950U1UES5CRF5) unknown ? ℹ
3.2.1 Android 8.0.0 on samsung dreamqlteue (R16NW.G950U1UES5CRF5) 2of2 ? ℹ
3.2.1 Android 8.0.0 on samsung dream2lte (R16NW.G955FXXS3CRG1) unknown ? ℹ
3.2.1 Android 8.0.0 on lge joan (OPR1.170623.026) unknown ? ℹ
3.2.1 Android 8.0.0 on samsung star2qltechn (R16NW.G9650ZHU2ARF5) unknown ? ℹ
3.2.1 Android 6.0 on lge p1 (MRA58K) unknown ? ℹ
3.2.1 Android 6.0 on lge p1 (MRA58K) unknown ? ℹ
3.2.1 Android 7.1.1 on motorola montana_n (NPP26.102-16) unknown ? ℹ
3.2.1 Android 4.4.2 on HUAWEI HWY560-U (Y560-U02V100R001C328B104) unknown ? ℹ
3.2.1 Android 6.0 on Lenovo A2016a40 (A2016a40_S243_180206_8G_ROW) unknown ? ℹ
3.2.1 Android 8.0.0 on samsung dream2lte (R16NW.G955FXXU3CRGB) unknown ? ℹ
3.2.1 Android 4.4.4 on samsung gtelwifi (KTU84P.T560XXU0AOK1) unknown ? ℹ
3.2.1 Android 8.0.0 on HUAWEI HWVTR (VTR-L09 8.0.0.371(C432)) unknown ? ℹ
3.2.1 Android 8.0.0 on samsung star2qltesq (R16NW.G965USQU1ARBG) unknown ? ℹ
3.2.1 Android 8.1.0 on google taimen (OPM2.171019.029.B1) unknown ? ℹ
3.2.1 Android 6.0 on TECNO TECNO-C7 (C7-H355A1-M-160922V69) unknown ? ℹ
3.2.1 Android 8.0.0 on samsung dream2qltesq (R16NW.G955USQU2CRC4) unknown ? ℹ
3.2.1 Android 8.0.0 on samsung dream2qltesq (R16NW.G955USQS5CRH1) unknown ? ℹ
3.2.1 Android 9 on google marlin (PPR1.180610.009) unknown ? ℹ
3.2.1 Android 8.1.0 on google taimen (OPM2.171019.029.B1) unknown ? ℹ

Additional Information

bip70 link


electrum crashes when i open it with the gyft or egifter app, this is a new crash, i never used to have problems with it.



followed bitpay link on Android phone


quiero recargar mi tarjeta y no me deja


problen during transavtion with bitpay


tried to open bitpay payment from gyft


opened bip70 payment


bitpay problem


a pay link from chrome crashed the app


loaded wallet link from bitpay.


opening bitpay invoice


bip 70 link


SomberNight commented 6 years ago

Can reproduce. Make sure Electrum is not running. Click on "open in wallet" link for (e.g.) bitpay invoice.