spesmilo / spesmilo/electrum

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb7 in position 2296: invalid start byte

Open
#4,113 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug 🐞
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 "site-packages\electrum-3.1.0-py3.5.egg\electrum\util.py", line 792, in run_with_except_hook
  File "D:\Program Files (x86)\Electrum\electrum_plugins\email_requests\qt.py", line 86, in run
    self.poll()
  File "D:\Program Files (x86)\Electrum\electrum_plugins\email_requests\qt.py", line 71, in poll
    msg = email.message_from_string(str(msg_data[0][1], 'utf8'))

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb7 in position 2296: invalid start byte

Reporter

This issue was reported by 21 user(s):

Electrum Version Python Version Operating System Wallet Type Locale Stack
3.1.0 Windows-10-10.0.16299-SP0 2fa en_US
3.1.0 Windows-10-10.0.16299-SP0 2fa en_US
3.1.1 Darwin-17.4.0-x86_64-i386-64bit standard None
3.1.2 Windows-10-10.0.16299-SP0 standard uk_UA
3.1.3 Windows-10-10.0.17134-SP0 standard en_US
3.1.3 Windows-10-10.0.17134-SP0 standard en_US
3.1.3 Windows-10-10.0.17134-SP0 standard en_US
3.1.3 Linux-4.15.0-22-generic-x86_64-with-Ubuntu-18.04-bionic standard en_US
3.1.2 Windows-10-10.0.17672 standard en_US
3.1.1 Darwin-17.6.0-x86_64-i386-64bit standard None
3.1.1 Darwin-17.6.0-x86_64-i386-64bit standard None
3.1.3 Windows-10-10.0.17692-SP0 standard en_US
3.1.1 Darwin-17.7.0-x86_64-i386-64bit standard None
3.1.3 Linux-4.15.0-33-generic-x86_64-with-Ubuntu-18.04-bionic imported pt_BR
3.1.3 Linux-4.15.0-33-generic-x86_64-with-Ubuntu-18.04-bionic imported pt_BR
3.1.1 Linux-4.15.0-29deepin-generic-x86_64-with-Deepin-15.7-unstable standard en_GB
3.1.3 Linux-4.15.0-33-generic-x86_64-with-Ubuntu-18.04-bionic imported en_US
3.1.3 Linux-4.15.0-36-generic-x86_64-with-Ubuntu-18.04-bionic standard en_US
3.1.3 Windows-10-10.0.17134 standard he_IL
3.1.1 Darwin-18.2.0-x86_64-i386-64bit standard None
3.1.3 Windows-10-10.0.17134 standard he_IL

Additional Information

Just clicked at "help" menu


Don't know I'm a newbe


didn't do anything just looked at the balance then always get this message Sorry! Something went wrong while executing Electrum


Don't know just comes after being open a short while usually say Not Now and so far works other wise..
Report says US but I'm in Canada


cause unknown. Possibly due to software upgrade to Deepin OS?


Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at electrum_plugins/email_requests/qt.py line 71, where the traceback shows msg_data being decoded as UTF-8 before email.message_from_string is called. Review the surrounding polling flow and the reported crash details; done should mean the reported UnicodeDecodeError is handled or reproduced with a regression test, but the issue does not specify the intended behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.