Skip to content

Conversation

@maflcko
Copy link
Member

@maflcko maflcko commented Aug 4, 2018

Fixes #13754 by restoring the previous behaviour

@DrahtBot
Copy link
Contributor

DrahtBot commented Aug 4, 2018

Note to reviewers: This pull request conflicts with the following ones:

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

@maflcko
Copy link
Member Author

maflcko commented Aug 4, 2018

Before:
schermafbeelding 2018-07-24 om 17 43 26

After:

screenshot from 2018-08-04 12-48-17

Using:

6f7a41d357d5e3fb4614fec0280477f3e71bbda1bb28f32461b1cc2c418c0c4d bitcoin-0.16.99-win64.zip
https://transfer.sh/MPEy5/bitcoin-0.16.99-win64.zip

@maflcko maflcko added this to the 0.17.0 milestone Aug 4, 2018
@laanwj
Copy link
Member

laanwj commented Aug 4, 2018

certainly better
utACK fa8527f

@DrahtBot
Copy link
Contributor

DrahtBot commented Aug 5, 2018

Gitian builds for commit 2b67354 (master):

Gitian builds for commit 04cb409e2c353fce1e6b02e08ae7e94c03b53185 (master and this pull):

@maflcko maflcko removed this from the 0.17.0 milestone Aug 5, 2018
@laanwj laanwj added this to the 0.17.0 milestone Aug 8, 2018
@laanwj
Copy link
Member

laanwj commented Aug 8, 2018

Adding to 0.17.0 milestone as I think this is a regression?

@maflcko
Copy link
Member Author

maflcko commented Aug 8, 2018

Regression in a sense that it throws a useless error as opposed to something more helpful.

@maflcko
Copy link
Member Author

maflcko commented Aug 8, 2018

Ideally we'd handle runtime errors more sanely and automatic as opposed to splattered catch clauses all over the place. Imo we should provide a copy-paste able stacktrace on runtime errors and a link to submit an issue with all the debugging information attached.

E.g. https://github.com/bitcoin/bitcoin/issues/new?title=VERSION%20MODULE%20runtime%20error&body=stacktrace%20and%20operating_sytem%20information

@maflcko
Copy link
Member Author

maflcko commented Aug 8, 2018

@Sjors Mind to take a quick look at the patch, please?

@Sjors
Copy link
Member

Sjors commented Aug 8, 2018

For some reason this build throws an unexpected error for me, even when launching without -wallet param (master does start):

schermafbeelding 2018-08-08 om 16 52 06

@maflcko
Copy link
Member Author

maflcko commented Aug 8, 2018

@Sjors Interesting. I didn't change that part of the code at all. This comes very early in initialization:

return InitError(strprintf(_("Cannot write to data directory '%s'; check permissions."), datadir.string()));

Are you sure you compare the "Gitian builds for commit 2b67354 (master)" with "Gitian builds for commit 04cb409 (master and this pull)"?

@maflcko
Copy link
Member Author

maflcko commented Aug 8, 2018

I just tried again and they work for me with a fresh account:

screenshot from 2018-08-08 16-09-56

@Sjors
Copy link
Member

Sjors commented Aug 9, 2018

@MarcoFalke I downloaded it (and master) straight from @DrahtBot and the link you posted (only your version). It's weird, but given that my error is created elsewhere in the code, and others don't see it, maybe just ignore?

@ken2812221
Copy link
Contributor

Tested ACK fa8527f

Although the message is a mess if the system setting is not English.

image

@maflcko maflcko merged commit fa8527f into bitcoin:master Aug 9, 2018
maflcko pushed a commit that referenced this pull request Aug 9, 2018
fa8527f wallet: Catch filesystem_error and raise InitError (MarcoFalke)

Pull request description:

  Fixes #13754 by restoring the previous behaviour

Tree-SHA512: f64052e89f6b332be395df2a5ea6f227c213fa2f38e415e83f30a4fad0938e947e5cddff7902368a43c07be135955a31b90f7eac5a46875c58d54ea95f87f6e6
@maflcko maflcko deleted the Mf1808-walletFsError branch August 9, 2018 12:11
jasonbcox pushed a commit to Bitcoin-ABC/bitcoin-abc that referenced this pull request Sep 13, 2019
Summary:
Fixes #13754 by restoring the previous behaviour

Backport of Bitcoin Core PR13876
bitcoin/bitcoin#13876

Test Plan:
```
make check
```

Reviewers: Fabien, #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D3987
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Feb 4, 2021
fa8527f wallet: Catch filesystem_error and raise InitError (MarcoFalke)

Pull request description:

  Fixes bitcoin#13754 by restoring the previous behaviour

Tree-SHA512: f64052e89f6b332be395df2a5ea6f227c213fa2f38e415e83f30a4fad0938e947e5cddff7902368a43c07be135955a31b90f7eac5a46875c58d54ea95f87f6e6
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Windows crashes for -wallet=你好

5 participants