Author

Topic: Problems with Bitcoin 0.4 and truecrypt (Read 791 times)

newbie
Activity: 57
Merit: 0
October 15, 2011, 12:36:45 PM
#7
ROLLBACK! Everything fine, you guys were right, it works. The problem was, that i copied the whole stuff from the old working directory to the truecrypt container. Bitcoin doesnt want this, it wants to create the whole thing itself after the installation, and then you replace the wallet.dat and voilá!

Thx 4 quick help
newbie
Activity: 57
Merit: 0
October 15, 2011, 11:13:54 AM
#6
Hi,

thx for the reply, but i tried this already before posting the issue, as so many other things. It doesnt work, but it did with the old client.

Any other guesses?

Thx
sr. member
Activity: 252
Merit: 250
October 15, 2011, 05:08:22 AM
#5
And why is not the correct approach to try to see if directory exists? And only after that to try to create it?
legendary
Activity: 1596
Merit: 1012
Democracy is vulnerable to a 51% attack.
October 15, 2011, 04:07:41 AM
#4
i don't know if this is the issue or not, but i seem to recall not being able to have a root folder as the data dir.

try creating n:\data\ and pointing it there.

Yep. It's a reported bug in the Bitcoin client. The workaround is to use a subdirectory.

Essentially, the client tries to create its data directory to make sure it exists. If it fails with any error other than "directory already exists", it barfs. Trying to create 'n:\' will fail, obviously, and not because the directory already exists, because there is no parent directory in which to create it. So the client sees the unusual error and assumes something is wrong with its data directory.

The correct approach is to attempt to create the directory, ignoring any errors generated. Then it should attempt to access the directory, and fail if it cannot.
hero member
Activity: 700
Merit: 500
October 15, 2011, 03:56:10 AM
#3
i don't know if this is the issue or not, but i seem to recall not being able to have a root folder as the data dir.

try creating n:\data\ and pointing it there.


+1.
hero member
Activity: 812
Merit: 1000
October 14, 2011, 11:41:28 PM
#2
i don't know if this is the issue or not, but i seem to recall not being able to have a root folder as the data dir.

try creating n:\data\ and pointing it there.
newbie
Activity: 57
Merit: 0
October 14, 2011, 10:34:00 PM
#1
Hi,

does anyone know, why i cant use my truecrypt-container anymore with the new BTC-Client?

Pointing to it via "-datadir" option everything worked fine with the old client. I always get the error from BTC-Client:

EXCEPTION: N5boost11filesystem316filesystem_errorEboost::filesystem::create_directory: Access rejected: "N:\" C:\Program Files (x86)\Bitcoin\bitcoin.exe in AppInit()

Has anybody encountered similar problems?

Thx

Jump to: