AttributeError: 'NoneType' object has no attribute 'channel_backups'
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 8.6k
- Forks
- 3.5k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 61
Description
Crash Report
This crash report was reported through the automatic crash reporting system 🤖
Traceback
File "/home/user/wspace/electrum/.buildozer/android/platform/build-arm64-v8a/build/python-installs/Electrum/kivy/core/window/window_sdl2.py", line 747, in mainloop
File "/home/user/wspace/electrum/.buildozer/android/platform/build-arm64-v8a/build/python-installs/Electrum/kivy/core/window/window_sdl2.py", line 479, in _mainloop
File "/home/user/wspace/electrum/.buildozer/android/platform/build-arm64-v8a/build/python-installs/Electrum/kivy/base.py", line 339, in idle
File "/home/user/wspace/electrum/.buildozer/android/platform/build-arm64-v8a/build/python-installs/Electrum/kivy/clock.py", line 591, in tick
File "kivy/_clock.pyx", line 384, in kivy._clock.CyClockBase._process_events
File "kivy/_clock.pyx", line 414, in kivy._clock.CyClockBase._process_events
File "kivy/_clock.pyx", line 412, in kivy._clock.CyClockBase._process_events
File "kivy/_clock.pyx", line 167, in kivy._clock.ClockEvent.tick
File "/data/data/org.electrum.electrum/files/app/electrum/gui/kivy/main.kv", line 408, in <lambda>
Clock.schedule_once(lambda dt: app.popup_dialog(self.name), 0.05)
File "/home/user/wspace/electrum/.buildozer/android/app/electrum/gui/kivy/main_window.py", line 780, in popup_dialog
File "/home/user/wspace/electrum/.buildozer/android/app/electrum/gui/kivy/main_window.py", line 747, in lightning_channels_dialog
File "/home/user/wspace/electrum/.buildozer/android/app/electrum/gui/kivy/uix/dialogs/lightning_channels.py", line 415, in __init__
File "/home/user/wspace/electrum/.buildozer/android/app/electrum/gui/kivy/uix/dialogs/lightning_channels.py", line 459, in update
AttributeError: 'NoneType' object has no attribute 'channel_backups'
Reporter
This issue was reported by 12 user(s):
| Electrum Version | Python Version | Operating System | Wallet Type | Locale | Stack |
|---|---|---|---|---|---|
| 4.0.2 | 3.7.7 (default, Jul 3 2020, 14:24:30) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 | Android 10 on samsung a20s (QP1A.190711.020.A207FXXU2BTE1) | imported | en_US | ℹ |
| 4.0.2 | 3.7.7 (default, Jul 3 2020, 14:24:30) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 | Android 10 on samsung z3s (QP1A.190711.020.G988BXXU3ATFG) | imported | en_US | ℹ |
| 4.0.2 | 3.7.7 (default, Jul 3 2020, 14:24:30) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 | Android 9 on Sony G8341 (47.2.A.11.228) | 2fa | en_US | ℹ |
| 4.0.2 | 3.7.7 (default, Jul 3 2020, 14:24:30) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 | Android 9 on razer aura (P-SMR4-RC001-RZR-200616.3181) | standard | en_US | ℹ |
| 4.0.2 | 3.7.7 (default, Jul 3 2020, 15:54:52) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 | Android 6.0 on TCL Pixi4-4 (Marshmallow) | standard | en_US | ℹ |
| 4.0.2 | 3.7.7 (default, Jul 3 2020, 14:24:30) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 | Android 10 on HUAWEI HWMAR (MAR-L21A 10.0.0.249(C431E8R2P7)) | imported | en_US | ℹ |
| 4.0.2 | 3.7.7 (default, Jul 3 2020, 15:54:52) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 | Android 7.1.1 on samsung j2y18lte (NMF26X.J250FDXS2ASH2) | standard | en_US | ℹ |
| 4.0.3 | 3.7.9 (default, Sep 11 2020, 13:44:16) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 | Android 10 on samsung a20e (QP1A.190711.020.A202FXXU3BTE3) | standard | en_US | ℹ |
| 4.0.3 | 3.7.9 (default, Sep 11 2020, 13:44:16) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 | Android 10 on samsung a20e (QP1A.190711.020.A202FXXU3BTE3) | standard | en_US | ℹ |
| 4.0.7 | 3.7.9 (default, Nov 18 2020, 18:29:29) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 | Android 10 on HUAWEI HWMAR (MAR-L21A 10.0.0.290(C431E8R2P7)) | standard | en_US | ℹ |
| 4.0.9 | 3.7.9 (default, Nov 18 2020, 18:29:29) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 | Android 10 on xiaomi willow (QKQ1.200114.002 test-keys) | standard | en_US | ℹ |
| 4.0.9 | 3.7.9 (default, Nov 18 2020, 18:29:29) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 | Android 10 on xiaomi lavender (QKQ1.190910.002 V12.0.3.0.QFGEUXM) | standard | en_US | ℹ |
Additional Information
its not working??
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with electrum/gui/kivy/uix/dialogs/lightning_channels.py around lines 415 and 459, then trace the caller in electrum/gui/kivy/main_window.py around lines 747 and 780 and the popup scheduling in main.kv line 408. Determine why the Lightning Channels dialog reaches channel_backups on None; done means opening that dialog no longer produces the reported AttributeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100