Author Topic: Initial delegates, let's get ready!  (Read 25531 times)

0 Members and 1 Guest are viewing this topic.

Offline bitcoinerS

  • Hero Member
  • *****
  • Posts: 592
    • View Profile

Attempt to build without -jN

how?

If you just type make you are fine, I didn't know if you were attempting make -j8 to build with 8 cores.

currently It does not build on clean Ubuntu 14.04 VPS server with this error:

Code: [Select]
] Generating include/bts/api/common_api.hpp, ../rpc_stubs/common_api_rpc_server.cpp, ../rpc_stubs/common_api_rpc_client.cpp, ../rpc_stubs/common_api_client.cpp, ../rpc_stubs/include/bts/rpc_stubs/common_api_rpc_server.hpp, ../rpc_stubs/include/bts/rpc_stubs/common_api_rpc_client.hpp, ../rpc_stubs/include/bts/rpc_stubs/common_api_client.hpp, ../rpc_stubs/include/bts/rpc_stubs/common_api_overrides.ipp
terminate called after throwing an instance of 'std::runtime_error'
  what():  locale::facet::_S_create_c_locale name not valid
Aborted
make[2]: *** [libraries/api/include/bts/api/common_api.hpp] Error 134
make[1]: *** [libraries/api/CMakeFiles/bts_api.dir/all] Error 2
make: *** [all] Error 2

make clean and make again does not help.
>>> approve bitcoiners

Offline bytemaster


Attempt to build without -jN

how?

If you just type make you are fine, I didn't know if you were attempting make -j8 to build with 8 cores.
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 bitcoinerS

  • Hero Member
  • *****
  • Posts: 592
    • View Profile
>>> approve bitcoiners

Offline bytemaster


Try "make clean" then "make", that's an auto-generated file

Did not help not help. Getting same error.

This particular error is a race condition in the build process with the code generation.   We will need to see a larger history of the build commands to understand what is going on and why.

Attempt to build without -jN
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 welk1n

  • Jr. Member
  • **
  • Posts: 26
    • View Profile
Thanks all

Note:

Location: Beijing, China
os: ubuntu
cpu: one core
mem: 2G

welk1n-d-1:XTS6f8fzmUDQp63nTYgsA2GQtvFoPvKrmTmuhkCvQUCnKUJwxTxtx
welk1n-d-2:XTS5urryfpdjZgwavKwufJ9A1d816LFaPbSQLu5eP2G76B7hbtuxj
welk1n-d-3:XTS7p56UNQLyWc3NB2yeT4VVtYhanf6wFC356c6vbfpvQ9CHUmg6X
welk1n-d-4:XTS7SDs7tmoYe96wjRzYqavAu4nehaMUTh3TbkGe9EPWNbA1P2XPA
welk1n-d-5:XTS6z7aMnBmXi7qL9uHfgWS6d1wedEpvQNTrwgeGb8h1MH9WVXtRC

Offline bytemaster

getting an error trying to create an account

Code: [Select]
default (unlocked) >>> wallet_account_create bitcoinerS
10
is_valid_account_name( account_name ):
    {}
    th_a  wallet.cpp:634 create_account

    {"account_name":"bitcoinerS"}
    th_a  wallet.cpp:645 create_account

    {}
    th_a  common_api_client.cpp:342 wallet_account_create

    {"command":"wallet_account_create"}
    th_a  cli.cpp:574 execute_command

account names are all lowercase.
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 bitcoinerS

  • Hero Member
  • *****
  • Posts: 592
    • View Profile

Try "make clean" then "make", that's an auto-generated file

Did not help not help.

Code: [Select]
] Generating include/bts/api/common_api.hpp, ../rpc_stubs/common_api_rpc_server.cpp, ../rpc_stubs/common_api_rpc_client.cpp, ../rpc_stubs/common_api_client.cpp, ../rpc_stubs/include/bts/rpc_stubs/common_api_rpc_server.hpp, ../rpc_stubs/include/bts/rpc_stubs/common_api_rpc_client.hpp, ../rpc_stubs/include/bts/rpc_stubs/common_api_client.hpp, ../rpc_stubs/include/bts/rpc_stubs/common_api_overrides.ipp
terminate called after throwing an instance of 'std::runtime_error'
  what():  locale::facet::_S_create_c_locale name not valid
Aborted
make[2]: *** [libraries/api/include/bts/api/common_api.hpp] Error 134
make[1]: *** [libraries/api/CMakeFiles/bts_api.dir/all] Error 2
make: *** [all] Error 2
« Last Edit: June 08, 2014, 03:51:37 am by bitcoinerS »
>>> approve bitcoiners

Offline bitcoinerS

  • Hero Member
  • *****
  • Posts: 592
    • View Profile
getting an error trying to create an account

Code: [Select]
default (unlocked) >>> wallet_account_create bitcoinerS
10
is_valid_account_name( account_name ):
    {}
    th_a  wallet.cpp:634 create_account

    {"account_name":"bitcoinerS"}
    th_a  wallet.cpp:645 create_account

    {}
    th_a  common_api_client.cpp:342 wallet_account_create

    {"command":"wallet_account_create"}
    th_a  cli.cpp:574 execute_command
>>> approve bitcoiners

Offline toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
how to run bts client ?
1)run ./bitshares_client  without -- server
 or 2) run ./bitshares_client  --server

I run  ./bitshares_client   but showing "wallet closed ". Does it mean My client is not connected with testnet?


toast, please make a step by step instruction.  I am not able to fine any instruction in details. BM may need to hire some to write test case for this testing. LOL

You're fine, with or without --server doesn't matter. "Wallet closed" just means you have no wallet open, you can make one with wallet_create.
We'll make better instructions for the real dry run =)

I am getting a compilation error trying to build on clean Ubuntu 14.04 server

Code: [Select]
Building CXX object libraries/net/CMakeFiles/bts_net.dir/node.cpp.o
In file included from /root/bitshares_toolkit/libraries/client/include/bts/client/messages.hpp:3:0,
                 from /root/bitshares_toolkit/libraries/net/node.cpp:32:
/root/bitshares_toolkit/libraries/client/include/bts/client/client.hpp:6:34: fatal error: bts/api/common_api.hpp: No such file or directory
 #include <bts/api/common_api.hpp>
                                  ^
compilation terminated.
make[2]: *** [libraries/net/CMakeFiles/bts_net.dir/node.cpp.o] Error 1
make[1]: *** [libraries/net/CMakeFiles/bts_net.dir/all] Error 2
make: *** [all] Error 2

I'm getting the same errors every time.  I've started completely over 3 times now.  same results.  Ubuntu 14.04 using the following instructions: https://github.com/nmushegian/bitshares_toolkit/blob/master/BUILD_UBUNTU.md

Try "make clean" then "make", that's an auto-generated file
Do not use this post as information for making any important decisions. The only agreements I ever make are informal and non-binding. Take the same precautions as when dealing with a compromised account, scammer, sockpuppet, etc.

Offline bitcoinerS

  • Hero Member
  • *****
  • Posts: 592
    • View Profile
Please do!




toast, please make a step by step instruction. 
>>> approve bitcoiners

Xeldal

  • Guest
I am getting a compilation error trying to build on clean Ubuntu 14.04 server

Code: [Select]
Building CXX object libraries/net/CMakeFiles/bts_net.dir/node.cpp.o
In file included from /root/bitshares_toolkit/libraries/client/include/bts/client/messages.hpp:3:0,
                 from /root/bitshares_toolkit/libraries/net/node.cpp:32:
/root/bitshares_toolkit/libraries/client/include/bts/client/client.hpp:6:34: fatal error: bts/api/common_api.hpp: No such file or directory
 #include <bts/api/common_api.hpp>
                                  ^
compilation terminated.
make[2]: *** [libraries/net/CMakeFiles/bts_net.dir/node.cpp.o] Error 1
make[1]: *** [libraries/net/CMakeFiles/bts_net.dir/all] Error 2
make: *** [all] Error 2

I'm getting the same errors every time.  I've started completely over 3 times now.  same results.  Ubuntu 14.04 using the following instructions: https://github.com/nmushegian/bitshares_toolkit/blob/master/BUILD_UBUNTU.md

Offline bitcoinerS

  • Hero Member
  • *****
  • Posts: 592
    • View Profile
I keep getting an error trying to build on Ubuntu 14.04

Code: [Select]
Built target bts_api_generator
[ 72%] Generating include/bts/api/common_api.hpp, ../rpc_stubs/common_api_rpc_server.cpp, ../rpc_stubs/common_api_rpc_client.cpp, ../rpc_stubs/common_api_client.cpp, ../rpc_stubs/include/bts/rpc_stubs/common_api_rpc_server.hpp, ../rpc_stubs/include/bts/rpc_stubs/common_api_rpc_client.hpp, ../rpc_stubs/include/bts/rpc_stubs/common_api_client.hpp, ../rpc_stubs/include/bts/rpc_stubs/common_api_overrides.ipp
terminate called after throwing an instance of 'std::runtime_error'
  what():  locale::facet::_S_create_c_locale name not valid
Aborted
make[2]: *** [libraries/api/include/bts/api/common_api.hpp] Error 134
make[1]: *** [libraries/api/CMakeFiles/bts_api.dir/all] Error 2
make: *** [all] Error 2
>>> approve bitcoiners

Offline sfinder

  • Hero Member
  • *****
  • Posts: 1205
  • 4 Cores CPU+100GB SSD+anti-DDoS Pro
    • View Profile
how to run bts client ?
1)run ./bitshares_client  without -- server
 or 2) run ./bitshares_client  --server

I run  ./bitshares_client   but showing "wallet closed ". Does it mean My client is not connected with testnet?


toast, please make a step by step instruction.  I am not able to fine any instruction in details. BM may need to hire some to write test case for this testing. LOL
« Last Edit: June 08, 2014, 03:38:59 am by sfinder »
微博:星在飘我在找|BTS X 受托人delegate ID:baidu
中国教育书店合作将20%收入捐献给贫困山区学生。
Cooperating with China Education Bookstore and will donate 20% of delegate income to the poor students

Offline toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
Where are instructions on setting up a delegate node?
I am setting up using a VPS server running an Ubuntu 14.04

The first post. It's just a normal node that has a delegate key.


tips for those got following error.
Quote
fc::sha256::hash( response.body.data(), response.body.size() ) == check:

seems there is some issue on the checksum, the workaround is to download the genesis file from http://bitshares.org/snapshots/xt_genesis.json directly, then rename to genesis.json and place in ----data-dir path manually

Yup, good catch. The real genesis block will be baked into the client so this will not be an issue
Do not use this post as information for making any important decisions. The only agreements I ever make are informal and non-binding. Take the same precautions as when dealing with a compromised account, scammer, sockpuppet, etc.

Offline bitcoinerS

  • Hero Member
  • *****
  • Posts: 592
    • View Profile
Where are instructions on setting up a delegate node?
I am setting up using a VPS server running an Ubuntu 14.04
>>> approve bitcoiners