BitShares Forum
Other => Graveyard => LottoShares => Topic started by: jpark on August 28, 2014, 06:24:26 pm
-
I keep getting this message when trying to run ./lottoshares-qt
I pulled with git , ran qmake and make..
error:
bool InitBlockIndex(): Assertion `block.hashMerkleRoot == merklerootGenesisBlock' failed.
Aborted (core dumped)
In debug.log it says there is a bunch of text files (ie. bitcoin.txt dogecoin.txt) required for airdrop not found.
I'm compiling on linux mint 17 and I also tried on another computer with xubuntu 14.04 and get the same results.
Any ideas how to fix this?
Thanks.
-
Copy the .txt files from the release directory to the top level of lottoshares and run it again.
-
put them in ~/.lottoshares ? or where lottoshares-qt resides?
-
i copied mine /lottoshares/src, then compiled lottosharesd, then compiled qt, and it worked fine.
before i did that I was getting the same error.
-
All I get now is "Segmentation Fault" - I'm now trying to compile with the .zip source file under releases.
And everything looks fine in debug.log..
but it just ends at "Initializing Databases..."
I tried copying those text files to all kinds of places, (./lottoshares ./lottoshares/src ./lottoshares/database and a bunch of folders when I compiled) seems to make no difference.
Edit:
strace shows that it looks like its trying to open "bitcoin.txt"
then sigsegv pops up {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0}
and +++killed by SIGSEGV +++
Any other suggestions?
Thanks
-
i copied mine /lottoshares/src, then compiled lottosharesd, then compiled qt, and it worked fine.
before i did that I was getting the same error.
1. Did you use the zip source file, or did you git pull?
2. How do you compile just lottosharesd ?
3. Why can't it just be written in the compilation instructions the correct way to do this or what needs to be done - its just that I don't have these type of problems compiling other clients :(
-
Sounds like you might be running into a memory problem - the genesis block is big . . maybe adding more memory would help.
-
Sounds like you might be running into a memory problem - the genesis block is big . . maybe adding more memory would help.
That could be, I have 2 GB though. Other clients (dogecoin, litecoin, bitcoin) compile and run fine..
Maybe this requires more?
Edit: actually I have 2 GB.. thought I only had 1
-
Hmm.. in strace it shows about bitcoin.txt being an html format.
When I saved it from git, it's html somehow
I'll try using the actual text format files out of the zip source..
Sounds like maybe this is the problem.
-
Copied the text files from source .zip to the unzipped folder where lottoshares-qt was built.
The don't have to be in the hidden ~/.lottoshares
Seems to be working now.. great.
-
Thanks for the report - any changes you'd recommend to the repo to avoid this problem for future users?
-
i copied mine /lottoshares/src, then compiled lottosharesd, then compiled qt, and it worked fine.
before i did that I was getting the same error.
1. Did you use the zip source file, or did you git pull?
2. How do you compile just lottosharesd ?
3. Why can't it just be written in the compilation instructions the correct way to do this or what needs to be done - its just that I don't have these type of problems compiling other clients :(
I git pulled.
You go into /src directory and type "make -f makefile.unix" then after that compile go to /lottoshares and "cmake" "make"
It is, but you have to dig for it, and the instructions are for litecoin. Idk.
Glad you got it to work.