Author Topic: October 5 Test Network  (Read 127050 times)

0 Members and 1 Guest are viewing this topic.

Xeldal

  • Guest
xeldal is up and ready for your vote.  1.6.24

2core 4GB VPS

Offline Thom

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: https://bitsharestalk.org/index.php/topic,23902.0.html

Xeldal

  • Guest
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
« Last Edit: October 05, 2015, 05:23:31 pm by Xeldal »

Xeldal

  • Guest
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
« Last Edit: October 05, 2015, 07:01:25 pm by Xeldal »

Offline Thom

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.
« Last Edit: October 05, 2015, 05:00:44 pm by Thom »
Injustice anywhere is a threat to justice everywhere - MLK |  Verbaltech2 Witness Reports: https://bitsharestalk.org/index.php/topic,23902.0.html

Offline Fox

Requesting CORE for delegate registration.  Please send to fox. 

Thanks in advance.
Witness: fox

Offline sittingduck

  • Sr. Member
  • ****
  • Posts: 246
    • View Profile
Your test net Genesis file is wrong


Sent from my iPhone using Tapatalk

Offline Thom

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:

Code: [Select]
/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.
« Last Edit: October 05, 2015, 04:56:01 pm by Thom »
Injustice anywhere is a threat to justice everywhere - MLK |  Verbaltech2 Witness Reports: https://bitsharestalk.org/index.php/topic,23902.0.html

Offline Thom

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: https://bitsharestalk.org/index.php/topic,23902.0.html

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
delegate.baozi(1.6.23) is ready

Offline liondani

  • Hero Member
  • *****
  • Posts: 3737
  • Inch by inch, play by play
    • View Profile
    • My detailed info
  • BitShares: liondani
  • GitHub: liondani
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 ????

Code: [Select]
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"
« Last Edit: October 05, 2015, 04:34:34 pm by liondani »

Offline clayop

  • Hero Member
  • *****
  • Posts: 2033
    • View Profile
    • Bitshares Korea
  • BitShares: clayop
My witness is randomly missing blocks and I don't know why.
Bitshares Korea - http://www.bitshares.kr
Vote for me and see Korean Bitshares community grows
delegate-clayop

Offline Thom

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: https://bitsharestalk.org/index.php/topic,23902.0.html

Offline bytemaster

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 ????

Code: [Select]
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: http://bytemaster.bitshares.org
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.

Offline Thom

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 ????

Code: [Select]
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
« Last Edit: October 05, 2015, 04:16:37 pm by Thom »
Injustice anywhere is a threat to justice everywhere - MLK |  Verbaltech2 Witness Reports: https://bitsharestalk.org/index.php/topic,23902.0.html