Open TARS-bot opened 6 years ago
The user typed a filename with '/' in it. This is not a valid filename character on Windows. Perhaps user input should be sanitized to strip/replace characters that are not valid filename components.
@shsmith thanks for that insight. does it also explain #4058 ?
related: #5627
https://github.com/spesmilo/electrum/commit/a05dab2c4dcf0ce2f69e9a4258bd3c88c818a91d should fix at least the original illegal name problem
There are probably many issues here though... Going to close and then reopen; to trick TARS into sending new tracebacks in future versions
https://github.com/spesmilo/electrum/commit/05ebd0f5b223a7e39eb1b1c0bb3ac949c061cec9 should fix the "user deleted/renamed file while running" problem
There is at least one other cause: the wallets
dir disappearing while running (e.g. file is on usb drive; user dismounts drive before closing Electrum). Unsure how to handle this best: it is tempting to silence/swallow the FileNotFoundError
if not os.path.exists(os.path.dirname(self.path))
, but maybe the user should be notified somehow.
Crash Report
This crash report was reported through the automatic crash reporting system 🤖
Traceback
Reporter
This issue was reported by 955 user(s):
Additional Information