question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Electron Cash fails to parse some transactions (more inside)

See original GitHub issue

Crash Report

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

Traceback

  File "/home/hoenicke/.local/lib/python3.6/site-packages/electroncash/util.py", line 722, in run_with_except_hook
    run_original(*args2, **kwargs2)
  File "/home/hoenicke/.local/lib/python3.6/site-packages/electroncash/network.py", line 1398, in run
    self.wait_on_sockets()
  File "/home/hoenicke/.local/lib/python3.6/site-packages/electroncash/network.py", line 1372, in wait_on_sockets
    self.process_responses(interface)
  File "/home/hoenicke/.local/lib/python3.6/site-packages/electroncash/network.py", line 801, in process_responses
    self.process_response(interface, request, response, callbacks)
  File "/home/hoenicke/.local/lib/python3.6/site-packages/electroncash/network.py", line 746, in process_response
    callback(response)
  File "/home/hoenicke/.local/lib/python3.6/site-packages/electroncash/synchronizer.py", line 185, in tx_response
    traceback.print_exc()
  File "/usr/lib/python3.6/traceback.py", line 163, in print_exc
    print_exception(*sys.exc_info(), limit=limit, file=file, chain=chain)
  File "/usr/lib/python3.6/traceback.py", line 105, in print_exception
    print(line, file=file, end="")

OSError: [Errno 5] Eingabe-/Ausgabefehler

Reporter

This issue was reported by 6 user(s):

Electron Cash Version Python Version Operating System Wallet Type Locale
4.0.1 3.6.7 (default, Oct 22 2018, 11:32:17) [GCC 8.2.0] Linux-4.15.0-46-generic-x86_64-with-Ubuntu-18.04-bionic standard de_DE
4.0.7 3.6.8 (default, Jun 28 2018, 19:01:02) [GCC 4.8.4] Linux-4.4.0-151-generic-x86_64-with-debian-stretch-sid standard tr_TR
4.0.14 3.8.2 (default, Apr 1 2020, 15:52:55) [GCC 9.3.0] Linux-5.4.35-0c418786-x86_64-with-glibc2.29 standard en_US
4.2.0 3.6.9 (default, Jun 28 2018, 19:01:02) [GCC 5.4.0 20160609] Linux-5.8.0-3-amd64-x86_64-with-debian-bullseye-sid standard es_ES
4.2.0 3.6.9 (default, Jun 28 2018, 19:01:02) [GCC 5.4.0 20160609] Linux-5.8.0-3-amd64-x86_64-with-debian-bullseye-sid standard es_ES
4.2.6 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110] Linux-5.10.0-10-amd64-x86_64-with-glibc2.31 standard en_US

Additional Information

Dear Prof. Venkman,

this error happens when I recover my old wallet with ElectronCash. It’s probably a transaction with a non-standard script, maybe from this address: 3MaB7QVq3k4pQx3BhsvEADgzQonLSBwMdj


Tried to install the FlipStarter plugin (version 1.2). ElectronCash is “installed” by simply running the extracted tar ball.


Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:14

github_iconTop GitHub Comments

4reactions
markblundebergcommented, Apr 5, 2019

OK fix is up – I’d note that if you make a watching-only wallet for 3MaB7QVq3k4pQx3BhsvEADgzQonLSBwMdj , the balance is completely wrong because the old electrum code doesn’t properly detect spends from P2SH addresses unless they are very simple multisigs being spent in a very simple way. See #895 and spesmilo#4405 .

But at least it doesn’t crash…

0reactions
ProfessorVenkmancommented, Jan 5, 2022

Good evening @cculianu,

I just received another crash report related to this issue. The crash occured on Electron Cash 4.2.6. I’m not sure which versions of Electron Cash include the fix but this is the first report from anything newer than 4.2.0 since you closed the issue.

Could you please check if this issue really is resolved? Here is the traceback that I just collected:

  File "/mnt/Toshiba/Builds/Electron-Cash-4.2.6/electroncash/util.py", line 842, in run_with_except_hook
    run_original(*args2, **kwargs2)
  File "/mnt/Toshiba/Builds/Electron-Cash-4.2.6/electroncash/network.py", line 1524, in run
    self.run_jobs()    # Synchronizer and Verifier and Fx
  File "/mnt/Toshiba/Builds/Electron-Cash-4.2.6/electroncash/util.py", line 230, in run_jobs
    traceback.print_exc(file=sys.stderr)
  File "/usr/lib/python3.9/traceback.py", line 163, in print_exc
    print_exception(*sys.exc_info(), limit=limit, file=file, chain=chain)
  File "/usr/lib/python3.9/traceback.py", line 105, in print_exception
    print(line, file=file, end="")

OSError: [Errno 28] No space left on device

~ With robotic wishes

Read more comments on GitHub >

github_iconTop Results From Across the Web

Load Transaction Issues · Issue #2125 · Electron-Cash ...
You will get an "Electron Cash was unable to parse your transaction" error. If you instead try to read the QR Code you...
Read more >
Why did my BCC disappear from my Electron Cash wallet?
Go into your Electron Cash "Tools">"Network" settings, uncheck "select server automatically" and choose a "BCC"/"Electron Cash" server.
Read more >
Frequently Asked Questions - the Electron Cash documentation!
Electron Cash freezes when I try to send Bitcoin Cash​​ When you send Bitcoin Cash, Electron Cash looks for unspent coins that are...
Read more >
Set up and use Electron Cash - Ledger Support
Ledger Live was experiencing issues processing Tether USD (USDT) transactions (OUT OF ENERGY error). This issue is now fixed - troubleshooting ...
Read more >
Electron Cash
SPV lets you validate your own transactions by ensuring they are confirmed in the blockchain. It uses the best header chain with the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found