spesmilo / spesmilo/electrum

OperationalError: disk I/O error

Open
#6,799 1 comment 0 reactions 0 assignees View on GitHub

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 "electrum\gui\qt\__init__.py", line 219, in show_watchtower_dialog
  File "electrum\gui\qt\watchtower_dialog.py", line 72, in __init__
  File "electrum\gui\qt\watchtower_dialog.py", line 39, in __init__
  File "electrum\gui\qt\watchtower_dialog.py", line 50, in update
  File "electrum\lnwatcher.py", line 327, in list_sweep_tx
  File "electrum\network.py", line 369, in run_from_another_thread
  File "concurrent\futures\_base.py", line 435, in result
  File "concurrent\futures\_base.py", line 384, in __get_result
  File "electrum\lnwatcher.py", line 326, in f
  File "electrum\sql_db.py", line 49, in run_sql
  File "electrum\lnwatcher.py", line 73, in list_sweep_tx

OperationalError: disk I/O error

Reporter

This issue was reported by 4 user(s):

Electrum Version Python Version Operating System Wallet Type Locale Stack
4.0.5 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard en_US
4.0.5 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard en_US
4.0.5 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard en_US
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-8.1-6.3.9600-SP0 standard,imported ru_RU

Additional Information

The reporting user(s) did not provide additional information.

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 with electrum/lnwatcher.py, especially list_sweep_tx around line 73 and its caller near line 327, then inspect electrum/sql_db.py:49. Use the watchtower dialog path in electrum/gui/qt/watchtower_dialog.py to understand when the query runs. Done means identifying and preventing the reported disk I/O failure, with a regression test if the failure can be reproduced.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.