Bitcoin Forum
May 07, 2024, 01:51:54 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Problems with Bitcoin 0.4 and truecrypt  (Read 767 times)
stoechi (OP)
Newbie
*
Offline Offline

Activity: 57
Merit: 0


View Profile
October 15, 2011, 03:34:00 AM
 #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

1715089914
Hero Member
*
Offline Offline

Posts: 1715089914

View Profile Personal Message (Offline)

Ignore
1715089914
Reply with quote  #2

1715089914
Report to moderator
1715089914
Hero Member
*
Offline Offline

Posts: 1715089914

View Profile Personal Message (Offline)

Ignore
1715089914
Reply with quote  #2

1715089914
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715089914
Hero Member
*
Offline Offline

Posts: 1715089914

View Profile Personal Message (Offline)

Ignore
1715089914
Reply with quote  #2

1715089914
Report to moderator
1715089914
Hero Member
*
Offline Offline

Posts: 1715089914

View Profile Personal Message (Offline)

Ignore
1715089914
Reply with quote  #2

1715089914
Report to moderator
1715089914
Hero Member
*
Offline Offline

Posts: 1715089914

View Profile Personal Message (Offline)

Ignore
1715089914
Reply with quote  #2

1715089914
Report to moderator
payb.tc
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1000



View Profile
October 15, 2011, 04:41:28 AM
 #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.
SomeoneWeird
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500


View Profile
October 15, 2011, 08: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.
JoelKatz
Legendary
*
Offline Offline

Activity: 1596
Merit: 1012


Democracy is vulnerable to a 51% attack.


View Profile WWW
October 15, 2011, 09: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.

I am an employee of Ripple. Follow me on Twitter @JoelKatz
1Joe1Katzci1rFcsr9HH7SLuHVnDy2aihZ BM-NBM3FRExVJSJJamV9ccgyWvQfratUHgN
ovidiusoft
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250


View Profile
October 15, 2011, 10: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?
stoechi (OP)
Newbie
*
Offline Offline

Activity: 57
Merit: 0


View Profile
October 15, 2011, 04:13:54 PM
 #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
stoechi (OP)
Newbie
*
Offline Offline

Activity: 57
Merit: 0


View Profile
October 15, 2011, 05: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
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!