Main Menu

October 5 Test Network

Started by bytemaster, October 05, 2015, 02:23:40 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Xeldal

xeldal is up and ready for your vote.  1.6.24

2core 4GB VPS

Thom

Quote from: Xeldal on October 05, 2015, 05:12:40 PM
Quote from: Thom on October 05, 2015, 04:56:51 PM
Quote from: sittingduck on October 05, 2015, 04:52:45 PM
Your test net Genesis file is wrong


Sent from my iPhone using Tapatalk

No it's not. Read more of my posts. I renamed it. Look at the date...

Size of genesis file: 61385650 bytes unzipped.

I got the same error when i misspelled the genesis file. 

I think maybe you are designating the wrong location.
You are telling it to look in root when the file, according to your prior post, is in the ~/graphene/ directory.

try -d ~/graphene/oct-05-testnet-genesis.json

Thanks for responding Xedal, but if you look closer you'll see the binaries are in the .BitShares2_bin folder and the --data-dir (i.e. -d) folder is .BitShares2. I put copies of the genesis file in both the root (~/.oct....) AND the .BitShares2 folder, so it should find it either way. The config.ini file is located in the .BitShares2 folder and also has a genesis file definition without a path. I went ahead and renamed the file BACK to the name BM provided to avoid any further confusion when I post. As I said tho, I would be surprised if that specific name was hard coded in. Renaming the file back to BM's name had no affect of course.
Injustice anywhere is a threat to justice everywhere - MLK |  Verbaltech2 Witness Reports: [url="https://bitsharestalk.org/index.php/topic,23902.0.html"]https://bitsharestalk.org/index.php/topic,23902.0.html[/url]

Xeldal

#47
can I get 5000 CORE from someone. Thanks  send to "xeldal"

I imported a couple balances but they did not show up. nvrmind, bad syntax

Xeldal

#46
Quote from: Thom on October 05, 2015, 04:56:51 PM
Quote from: sittingduck on October 05, 2015, 04:52:45 PM
Your test net Genesis file is wrong


Sent from my iPhone using Tapatalk

No it's not. Read more of my posts. I renamed it. Look at the date...

Size of genesis file: 61385650 bytes unzipped.

I got the same error when i misspelled the genesis file. 

I think maybe you are designating the wrong location.
You are telling it to look in root when the file, according to your prior post, is in the ~/graphene/ directory.

try -d ~/graphene/oct-05-testnet-genesis.json

edit: try --genesis-json ~/graphene/oct-05-testnet-genesis.json

Thom

#45
Quote from: sittingduck on October 05, 2015, 04:52:45 PM
Your test net Genesis file is wrong


Sent from my iPhone using Tapatalk

No it's not. Read more of my posts. I renamed it. Look at the date...

Size of genesis file: 61385650 bytes unzipped.
Injustice anywhere is a threat to justice everywhere - MLK |  Verbaltech2 Witness Reports: [url="https://bitsharestalk.org/index.php/topic,23902.0.html"]https://bitsharestalk.org/index.php/topic,23902.0.html[/url]

Fox

Requesting CORE for delegate registration.  Please send to fox. 

Thanks in advance.
Witness: fox

sittingduck

Your test net Genesis file is wrong


Sent from my iPhone using Tapatalk

Thom

#42
OK guys, something else has changed. Now this IS the first time I've compiled on the VPS, but I saw no errors. Eliminating wackou's tools I invoked directly and got the same error:


/home/admin/.BitShares2_bin/witness_node --rpc-endpoint "127.0.0.1:8090" --genesis-json ~/oct-05-testnet-genesis.json -d ~/.BitShares2 -s  "104.236.51.238:2005"


I'm compiling on my dev machine to see if there is something related to that, bit it will take 30 minutes to complete and another 15 to upload the binary to the VPS. Bummer. Should have been ready to go. If I get the same result from dev machine build there's something besides the build host, b/c I use the same script to build in both cases. Actually I use wackou's build tools. It's a pretty straightforward build process, even if it's done manually.

Besides, it look like a silly "can't read the json file" error, and unless the VPS host is using an odd library should be extremely stable code. If the build was using a dynamic lib not available it would be a different error.
Injustice anywhere is a threat to justice everywhere - MLK |  Verbaltech2 Witness Reports: [url="https://bitsharestalk.org/index.php/topic,23902.0.html"]https://bitsharestalk.org/index.php/topic,23902.0.html[/url]

Thom

Quote from: liondani on October 05, 2015, 04:32:46 PM
have you download the new genesis.json file?

cd graphene
wget https://github.com/cryptonomex/graphene/releases/download/test6/oct5-genesis.json.zip
unzip oct5-genesis.json.zip
./witness_node --rpc-endpoint "127.0.0.1:8090"  --genesis-json oct5-genesis.json -d test_net_6 -s  "104.236.51.238:2001"

Yes I did. That's not it. Is there a config file option for chainID? I'll just launch it directly. I know there's a cmd line arg for the chainID, but prefer to put as much as I can in the config.ini Everything you have on your cmd line liondani I have in my config.ini. I don't even see a chainID arg for witness_node --help   ?
Injustice anywhere is a threat to justice everywhere - MLK |  Verbaltech2 Witness Reports: [url="https://bitsharestalk.org/index.php/topic,23902.0.html"]https://bitsharestalk.org/index.php/topic,23902.0.html[/url]

alt

delegate.baozi(1.6.23) is ready

liondani

#39
Quote from: Thom on October 05, 2015, 04:13:23 PM
Now what? Where does this code expect to see the json file, has that changed?

Does it have to do with the Release type?

@Bytemaster - is cmake . == cmake -D CMAKE_BUILD_TYPE=Release ???

Anyone? Tell me if I will have to recompile...

ANSWERS please ????


626991ms th_a       witness.cpp:112               plugin_initialize    ] 11 eof_exception: End Of File
stringstream
    {}
    th_a  sstream.cpp:109 peek

    {"str":""}
    th_a  json.cpp:478 from_string
626992ms th_a       main.cpp:183                  main                 ] Exiting with error:
11 eof_exception: End Of File
stringstream
    {}
    th_a  sstream.cpp:109 peek

    {"str":""}
    th_a  json.cpp:478 from_string
rethrow
    {}
    th_a  witness.cpp:112 plugin_initialize


have you download the new genesis.json file?

cd ~/graphene/programs/witness_node
wget https://github.com/cryptonomex/graphene/releases/download/test6/oct5-genesis.json.zip
unzip oct5-genesis.json.zip
./witness_node --rpc-endpoint "127.0.0.1:8090"  --genesis-json oct5-genesis.json -d test_net_6 -s  "104.236.51.238:2001"
[url="https://www.steempeak.com/@liondani"]https://www.steempeak.com/@liondani[/url]

clayop

My witness is randomly missing blocks and I don't know why.
Bitshares Korea - [url="http://www.bitshares.kr"]http://www.bitshares.kr[/url]
Vote for me and see Korean Bitshares community grows
delegate-clayop

Thom

Quote from: bytemaster on October 05, 2015, 04:18:41 PM
Looks like a typo in your commandline args (is gensis file path correct?)

Thanks BM. Path is correct. I did rename the file to conform to previous testnet name formats, just so I wouldn't have to fiddle with scripts on 4 systems.

I can't imagine the name is hard coded in tho.

I am using some of wackous automation to launch, but that hasn't changed all weekend. I edit a yaml config file with new seed IP:port, chainID and genesis file. It has always been used from the root of the account folder, but I also put in the data-dir file along with the config.

I take it the answer to my question is the cmake lines are the same, or that type = Release is the default.
Injustice anywhere is a threat to justice everywhere - MLK |  Verbaltech2 Witness Reports: [url="https://bitsharestalk.org/index.php/topic,23902.0.html"]https://bitsharestalk.org/index.php/topic,23902.0.html[/url]

bytemaster

Quote from: Thom on October 05, 2015, 04:13:23 PM
Now what? Where does this code expect to see the json file, has that changed?

Does it have to do with the Release type?

@bytemaster - is cmake . == cmake -D CMAKE_BUILD_TYPE=Release ???

Anyone? Tell me if I will have to recompile...

ANSWERS please ????


626991ms th_a       witness.cpp:112               plugin_initialize    ] 11 eof_exception: End Of File
stringstream
    {}
    th_a  sstream.cpp:109 peek

    {"str":""}
    th_a  json.cpp:478 from_string
626992ms th_a       main.cpp:183                  main                 ] Exiting with error:
11 eof_exception: End Of File
stringstream
    {}
    th_a  sstream.cpp:109 peek

    {"str":""}
    th_a  json.cpp:478 from_string
rethrow
    {}
    th_a  witness.cpp:112 plugin_initialize


Looks like a typo in your commandline args (is gensis file path correct?)
For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Thom

#35
Now what? Where does this code expect to see the json file, has that changed?

Does it have to do with the Release type?

@Bytemaster - is cmake . == cmake -D CMAKE_BUILD_TYPE=Release ???

Anyone? Tell me if I will have to recompile...

ANSWERS please ????


626991ms th_a       witness.cpp:112               plugin_initialize    ] 11 eof_exception: End Of File
stringstream
    {}
    th_a  sstream.cpp:109 peek

    {"str":""}
    th_a  json.cpp:478 from_string
626992ms th_a       main.cpp:183                  main                 ] Exiting with error:
11 eof_exception: End Of File
stringstream
    {}
    th_a  sstream.cpp:109 peek

    {"str":""}
    th_a  json.cpp:478 from_string
rethrow
    {}
    th_a  witness.cpp:112 plugin_initialize
Injustice anywhere is a threat to justice everywhere - MLK |  Verbaltech2 Witness Reports: [url="https://bitsharestalk.org/index.php/topic,23902.0.html"]https://bitsharestalk.org/index.php/topic,23902.0.html[/url]