electrum icon indicating copy to clipboard operation
electrum copied to clipboard

TypeError: argument should be a bytes-like object or ASCII string, not 'NoneType'

Open TARS-bot opened this issue 6 years ago • 0 comments

Crash Report

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

Traceback

  File "/home/user/wspace/electrum/.buildozer/android/platform/build/build/python-installs/Electrum/kivy/core/window/window_sdl2.py", line 724, in mainloop
  File "/home/user/wspace/electrum/.buildozer/android/platform/build/build/python-installs/Electrum/kivy/core/window/window_sdl2.py", line 459, in _mainloop
  File "/home/user/wspace/electrum/.buildozer/android/platform/build/build/python-installs/Electrum/kivy/base.py", line 337, in idle
  File "/home/user/wspace/electrum/.buildozer/android/platform/build/build/python-installs/Electrum/kivy/clock.py", line 581, 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 "/home/user/wspace/electrum/.buildozer/android/app/electrum/gui/kivy/uix/dialogs/password_dialog.py", line 106, in <lambda>
  File "/home/user/wspace/electrum/.buildozer/android/app/electrum/gui/kivy/main_window.py", line 1007, in <lambda>
  File "/home/user/wspace/electrum/.buildozer/android/app/electrum/gui/kivy/main_window.py", line 1085, in show_private_key
  File "/home/user/wspace/electrum/.buildozer/android/app/electrum/wallet.py", line 338, in export_private_key
  File "/home/user/wspace/electrum/.buildozer/android/app/electrum/keystore.py", line 368, in get_private_key
  File "/home/user/wspace/electrum/.buildozer/android/app/electrum/keystore.py", line 333, in get_master_private_key
  File "/home/user/wspace/electrum/.buildozer/android/app/electrum/crypto.py", line 178, in pw_decode
  File "/home/user/wspace/electrum/.buildozer/android/platform/build/build/other_builds/python3-libffi-openssl/armeabi-v7a__ndk_target_21/python3/Lib/base64.py", line 80, in b64decode
  File "/home/user/wspace/electrum/.buildozer/android/platform/build/build/other_builds/python3-libffi-openssl/armeabi-v7a__ndk_target_21/python3/Lib/base64.py", line 46, in _bytes_from_decode_data

TypeError: argument should be a bytes-like object or ASCII string, not 'NoneType'

Reporter

This issue was reported by 24 user(s):

Electrum Version Python Version Operating System Wallet Type Locale Stack
3.3.4 3.7.1 (default, Feb 4 2019, 07:55:22) [Clang 6.0.2 (https://android.googlesource.com/toolchain/clang 183abd29fc496f55 Android 8.1.0 on samsung melius3gxx (rr_meliusltexx-userdebug 8.1.0 OPM2.171019.029 7aa56c5c3e test-keys) 3of5 en_US
3.3.4 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 23 2018, 23:31:17) [MSC v.1916 32 bit (Intel)] Windows-7-6.1.7601-SP1 2of3 zh_CN
3.3.2 3.6.7 (v3.6.7:6ec5cf24b7, Oct 20 2018, 12:45:02) [MSC v.1900 32 bit (Intel)] Windows-7-6.1.7601-SP1 2of3 ru_RU
3.3.8 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 23 2018, 23:31:17) [MSC v.1916 32 bit (Intel)] Windows-8-6.2.9200-SP0 2of2 th_TH
3.3.8 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 23 2018, 23:31:17) [MSC v.1916 32 bit (Intel)] Windows-10-10.0.17763-SP0 2of2 en_GB
3.3.8 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 23 2018, 23:31:17) [MSC v.1916 32 bit (Intel)] Windows-10-10.0.17763-SP0 2of2 en_GB
3.3.8 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 23 2018, 23:31:17) [MSC v.1916 32 bit (Intel)] Windows-10-10.0.18362-SP0 2of4 pt_BR
3.3.8 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 23 2018, 23:31:17) [MSC v.1916 32 bit (Intel)] Windows-10-10.0.18362-SP0 2of4 pt_BR
3.3.7 3.7.1 (default, Jul 3 2019, 16:41:59) [Clang 6.0.2 (https://android.googlesource.com/toolchain/clang 183abd29fc496f55 Android 10 on samsung a6plte (QP1A.190711.020.A605GDXU6CTC9) 2of2 en_US
4.0.9 3.7.9 (default, Nov 18 2020, 18:17:29) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 10 on samsung a11q (QP1A.190711.020.A115AUCU3ATL2) 2of2 en_US
4.0.9 3.7.9 (default, Nov 18 2020, 18:17:29) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 10 on samsung a11q (QP1A.190711.020.A115AUCU3ATL2) 2of2 en_US
4.1.5 3.8.8 (tags/v3.8.8:024d805, Feb 19 2021, 13:08:11) [MSC v.1928 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard,1of2 it_IT
4.1.5 3.8.8 (tags/v3.8.8:024d805, Feb 19 2021, 13:08:11) [MSC v.1928 32 bit (Intel)] Windows-10-10.0.15063-SP0 2of4 en_US
4.1.5 3.8.8 (tags/v3.8.8:024d805, Feb 19 2021, 13:08:11) [MSC v.1928 32 bit (Intel)] Windows-10-10.0.15063-SP0 2of4 en_US
4.1.5 3.8.8 (tags/v3.8.8:024d805, Feb 19 2021, 13:08:11) [MSC v.1928 32 bit (Intel)] Windows-10-10.0.19041-SP0 2of2 en_US
4.1.5 3.8.8 (tags/v3.8.8:024d805, Feb 19 2021, 13:08:11) [MSC v.1928 32 bit (Intel)] Windows-10-10.0.19041-SP0 2of2 en_US
4.1.5 3.8.8 (tags/v3.8.8:024d805, Feb 19 2021, 13:08:11) [MSC v.1928 32 bit (Intel)] Windows-10-10.0.19041-SP0 2of2 en_US
4.1.5 3.8.8 (tags/v3.8.8:024d805, Feb 19 2021, 13:08:11) [MSC v.1928 32 bit (Intel)] Windows-10-10.0.19041-SP0 2of2 tr_TR
4.1.5 3.8.8 (tags/v3.8.8:024d805, Feb 19 2021, 13:08:11) [MSC v.1928 32 bit (Intel)] Windows-10-10.0.19041-SP0 imported,standard,2of2 tr_TR
4.1.5 3.7.9 (v3.7.9:13c94747c7, Aug 15 2020, 01:31:08) [Clang 6.0 (clang-600.0.57)] Darwin-21.3.0-x86_64-i386-64bit 2of2 ?
4.3.4 3.8.15 (default, Jan 26 2023, 15:17:59) [Clang 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315d Android 10 on HONOR HWJSN-H (JSN-L22 10.0.0.222(C185E2R6P1)) 2of2 en_US
4.3.4 3.8.15 (default, Jan 26 2023, 15:17:59) [Clang 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315d Android 10 on HONOR HWJSN-H (JSN-L22 10.0.0.222(C185E2R6P1)) 2of2 en_US
4.3.4 3.8.15 (default, Jan 26 2023, 15:17:59) [Clang 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315d Android 10 on HONOR HWJSN-H (JSN-L22 10.0.0.222(C185E2R6P1)) 2of2 en_US
4.5.2 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] Linux-6.6.10-76060610-generic-x86_64-with-glibc2.35 2of2 pt_BR

Additional Information

error while decrypting private key of multisig wallet


TARS-bot avatar Mar 04 '19 02:03 TARS-bot