ValueError: not 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 "electrum\plugin.py", line 362, in wrapper
File "electrum\plugin.py", line 355, in run_in_hwd_thread
File "concurrent\futures\_base.py", line 435, in result
File "concurrent\futures\_base.py", line 384, in __get_result
File "concurrent\futures\thread.py", line 57, in run
File "D:\[.]Externe Programmdaten\Electrum\electrum\plugins\safe_t\clientbase.py", line 164, in cancel
self.transport.write(self.proto.Cancel())
File "safetlib\transport_hid.py", line 151, in write
File "safetlib\protocol_v1.py", line 48, in write
File "safetlib\transport_hid.py", line 159, in write_chunk
File "hid.pyx", line 82, in hid.device.write
ValueError: not open
Reporter
This issue was reported by 4 user(s):
| Electrum Version | Python Version | Operating System | Wallet Type | Locale | Stack |
|---|---|---|---|---|---|
| 4.0.3 | 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] | Windows-10-10.0.18362-SP0 | standard | de_DE | ℹ |
| 4.0.9 | 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 | de_DE | ℹ |
| 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 | es_ES | ℹ |
| 4.3.1 | 3.9.11 (v3.9.11:2de452f8bf, Mar 16 2022, 10:34:36) [Clang 6.0 (clang-600.0.57)] | macOS-10.16-x86_64-i386-64bit | standard | ? | ℹ |
Additional Information
I installed "python-2.7.18.msi" to "C:"
and then "PIL-1.1.7.win32-py2.7.exe" to
"C:\Python27\Lib\site-packages".
In the Electrum Bitcoin wallet I get the information:
"The PIL package required for this is not installed - please install it to use the function."The question is: What can I do? :^)
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/plugins/safe_t/clientbase.py at cancel(), then trace the call through electrum/plugin.py and safetlib's HID transport files. Reproduce the reported cancellation path on a supported setup and determine the conditions that leave the HID device closed. Done means the reported ValueError no longer occurs in that path, with a regression test if the project supports one.
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
- 25/100