Initial delegates, let's get ready!

Started by toast, June 07, 2014, 06:56:49 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bitcoinerS

Quote from: bytemaster on June 08, 2014, 03:54:51 AM
Quote from: bitcoinerS on June 08, 2014, 03:53:18 AM
Quote from: bytemaster on June 08, 2014, 03:51:16 AM

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:

] 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

bytemaster

Quote from: bitcoinerS on June 08, 2014, 03:53:18 AM
Quote from: bytemaster on June 08, 2014, 03:51:16 AM

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: [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.

bitcoinerS

>>> approve bitcoiners

bytemaster

Quote from: bitcoinerS on June 08, 2014, 03:48:48 AM
Quote from: toast on June 08, 2014, 03:40:54 AM

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: [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.

welk1n

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

bytemaster

Quote from: bitcoinerS on June 08, 2014, 03:48:14 AM
getting an error trying to create an account

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: [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.

bitcoinerS

#48
Quote from: toast on June 08, 2014, 03:40:54 AM

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

Did not help not help.

] 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

bitcoinerS

getting an error trying to create an account

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

toast

Quote from: sfinder on June 08, 2014, 03:34:32 AM
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 =)

Quote from: Xeldal on June 08, 2014, 03:36:51 AM
Quote from: bitcoinerS on June 08, 2014, 03:11:38 AM
I am getting a compilation error trying to build on clean Ubuntu 14.04 server

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.

bitcoinerS

>>> approve bitcoiners

Xeldal

Quote from: bitcoinerS on June 08, 2014, 03:11:38 AM
I am getting a compilation error trying to build on clean Ubuntu 14.04 server

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

bitcoinerS

I keep getting an error trying to build on Ubuntu 14.04

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

sfinder

#42
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
微博:星在飘我在找|BTS X 受托人delegate ID:baidu
和中国教育书店合作将20%收入捐献给贫困山区学生。
Cooperating with China Education Bookstore and will donate 20% of delegate income to the poor students

toast

Quote from: bitcoinerS on June 08, 2014, 03:27:46 AM
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.


Quote from: CrazyBit on June 08, 2014, 03:23:33 AM
tips for those got following error.
Quotefc::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.

bitcoinerS

Where are instructions on setting up a delegate node?
I am setting up using a VPS server running an Ubuntu 14.04
>>> approve bitcoiners