Main Menu

Dry Run 7: The Power of DPOS

Started by bytemaster, July 01, 2014, 09:14:47 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sumantso


Nimrod


liondani

On linux everything worked fine with wallet creation from json file...

On win gui I tried to export a json file:


>> wallet_export_to_json liondani_backup_json

OK


I don't find the file anywhere.
Is it somewhere or is it a false message and actualy never created?
[url="https://www.steempeak.com/@liondani"]https://www.steempeak.com/@liondani[/url]

liondani

Quote from: vikram on July 05, 2014, 04:13:39 AM
Quote from: liondani on July 05, 2014, 04:08:43 AM
Quote from: vikram on July 05, 2014, 04:06:53 AM
Quote from: liondani on July 05, 2014, 04:04:13 AM
Before I delete all directories
I made a wallet backup using command:
"wallet_export_to_json"

Then after I rebuilded  the bitshares_toolkit etc.
I tried to create my wallet from the json file I had but these error occured:


(wallet closed) >>> wallet_create_from_json Dry7_050714
wallet_name: liondani
imported_wallet_passphrase: ***********
10 assert_exception: Assert Exception
fc::exists( filename ):
    {}
    th_a  wallet.cpp:812 create_from_json

    {"filename":"Dry7_050714","wallet_name":"liondani"}
    th_a  wallet.cpp:830 create_from_json

    {}
    th_a  common_api_client.cpp:579 wallet_create_from_json

    {"command":"wallet_create_from_json"}
    th_a  cli.cpp:538 execute_command


any suggestions ?   ::)

Are you sure you do not have a wallet named 'liondani' already? The output of 'wallet_list' does not show anything?

I am sure!


(wallet closed) >>> wallet_list
No wallets found.


Actually this is the error for when the specified JSON file cannot be found (I know we need a better error message). Are you absolutely sure you are entering the correct filename to import from?


SOLVED!

You are right I typed Dry7_050714 instead of dry7_050714

Sorry for freaking you out  :P
Thanks  ;)

PS As you said a better error message would be helpful
[url="https://www.steempeak.com/@liondani"]https://www.steempeak.com/@liondani[/url]

vikram

Quote from: liondani on July 05, 2014, 04:08:43 AM
Quote from: vikram on July 05, 2014, 04:06:53 AM
Quote from: liondani on July 05, 2014, 04:04:13 AM
Before I delete all directories
I made a wallet backup using command:
"wallet_export_to_json"

Then after I rebuilded  the bitshares_toolkit etc.
I tried to create my wallet from the json file I had but these error occured:


(wallet closed) >>> wallet_create_from_json Dry7_050714
wallet_name: liondani
imported_wallet_passphrase: ***********
10 assert_exception: Assert Exception
fc::exists( filename ):
    {}
    th_a  wallet.cpp:812 create_from_json

    {"filename":"Dry7_050714","wallet_name":"liondani"}
    th_a  wallet.cpp:830 create_from_json

    {}
    th_a  common_api_client.cpp:579 wallet_create_from_json

    {"command":"wallet_create_from_json"}
    th_a  cli.cpp:538 execute_command


any suggestions ?   ::)

Are you sure you do not have a wallet named 'liondani' already? The output of 'wallet_list' does not show anything?

I am sure!


(wallet closed) >>> wallet_list
No wallets found.


Actually this is the error for when the specified JSON file cannot be found (I know we need a better error message). Are you absolutely sure you are entering the correct filename to import from?

vikram

Quote from: liondani on July 05, 2014, 04:04:13 AM
Before I delete all directories
I made a wallet backup using command:
"wallet_export_to_json"

Then after I rebuilded  the bitshares_toolkit etc.
I tried to create my wallet from the json file I had but these error occured:


(wallet closed) >>> wallet_create_from_json Dry7_050714
wallet_name: liondani
imported_wallet_passphrase: ***********
10 assert_exception: Assert Exception
fc::exists( filename ):
    {}
    th_a  wallet.cpp:812 create_from_json

    {"filename":"Dry7_050714","wallet_name":"liondani"}
    th_a  wallet.cpp:830 create_from_json

    {}
    th_a  common_api_client.cpp:579 wallet_create_from_json

    {"command":"wallet_create_from_json"}
    th_a  cli.cpp:538 execute_command


any suggestions ?   ::)

Are you sure you do not have a wallet named 'liondani' already? The output of 'wallet_list' does not show anything?

bytemaster

Quote from: ding on July 05, 2014, 12:44:02 AM
update to latest code, show some error when run command "blockchain_list_forks"


          12738
     57620b2635c939eb9cb0d26ebb1310a3cee0e527                      vikram13             22      5626 2014-07-04T19:01:15         0      NO                  NO
     20ac56fa4e6c10a0546ebf9a00f5cf0e86a580eb                delegate-baozi             22      5550 2014-07-04T19:01:45         0     YES                 YES
REASONS FOR INVALID BLOCKS
Wb
  &5�9뜰�n�����': 35007 over_issue: over issue

    {"amount":{"amount":1,"asset_id":28},"current_asset_record":{"id":28,"symbol":"FORK","name":"ForKoin","description":"The coin of forking","public_data":"Fork on first issue","issuer_account_id":537,"precision":1,"current_share_supply":0,"maximum_share_supply":1,"collected_fees":0,"registration_date":"20140704T174215"}}
    th_a  asset_operations.cpp:118 evaluate

    {"*this":{"amount":{"amount":1,"asset_id":28}}}
    th_a  asset_operations.cpp:126 evaluate

    {"op":{"type":"issue_asset_op_type","data":{"amount":{"amount":1,"asset_id":28}}}}
    th_a  operation_factory.hpp:51 evaluate

    {"trx":{"expiration":"20140704T194319","delegate_slate_id":null,"operations":[{"type":"withdraw_op_type","data":{"balance_id":"XTS389tfuYMjGWAJWwr54NEcqRZNVTtz5gze","amount":10000,"claim_input_data":""}},{"type":"issue_asset_op_type","data":{"amount":{"amount":1,"asset_id":28}}},{"type":"deposit_op_type","data":{"amount":1,"condition":{"asset_id":28,"delegate_slate_id":0,"type":"withdraw_signature_type","data":{"owner":"XTSNcCA2QGJwX5HjshSgnzXaRsDSjzd71TGK","memo":{"one_time_key":"XTS5eN7GXh28RK5YZgXruuVh7sKzn285Bx8UeKXN932qSpfVLTLEY","encrypted_memo_data":"11fa71c909b863b39dccf8fa0d41ade4814830cf7d083c35d30026c4ed518e03881c57f7c0fd895be7194d9ac1f4c759862aefa6e4ed5721947dff6a4000f99a"}}}}}],"signatures":["1ff194d81b7758c92175e53f8e0ee073a534d115bf2dec344990184f1b99968724d59f8600134f67618d92d7028f72ba6308e3f6f113711f493a6281f2d26b9a14","206d8cf587df36c4c0c3521a5eefcea439b069a09c679336619539aa78d51222d8a14f3924e8cdbcbb82a123f558ef8784e4c9fb3e57e1070177e06577fd182061"]}}
    th_a  transaction_evaluation_state.cpp:164 evaluate

    {"trx_num":0}
    th_a  chain_database.cpp:535 apply_transactions


This was the bug we fixed today when attempt to issue last asset.  If you got this exception it meant your client wasn't updated before a transaction was processed that included tested the fork condition.
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.

dcchong

wallet_approve_delegate dc-delegate true
wallet_approve_delegate bitsharesx-delegate true

laow

update to latest code, show some error when run command "blockchain_list_forks"


          12738
     57620b2635c939eb9cb0d26ebb1310a3cee0e527                      vikram13             22      5626 2014-07-04T19:01:15         0      NO                  NO
     20ac56fa4e6c10a0546ebf9a00f5cf0e86a580eb                delegate-baozi             22      5550 2014-07-04T19:01:45         0     YES                 YES
REASONS FOR INVALID BLOCKS
Wb
  &5�9뜰�n�����': 35007 over_issue: over issue

    {"amount":{"amount":1,"asset_id":28},"current_asset_record":{"id":28,"symbol":"FORK","name":"ForKoin","description":"The coin of forking","public_data":"Fork on first issue","issuer_account_id":537,"precision":1,"current_share_supply":0,"maximum_share_supply":1,"collected_fees":0,"registration_date":"20140704T174215"}}
    th_a  asset_operations.cpp:118 evaluate

    {"*this":{"amount":{"amount":1,"asset_id":28}}}
    th_a  asset_operations.cpp:126 evaluate

    {"op":{"type":"issue_asset_op_type","data":{"amount":{"amount":1,"asset_id":28}}}}
    th_a  operation_factory.hpp:51 evaluate

    {"trx":{"expiration":"20140704T194319","delegate_slate_id":null,"operations":[{"type":"withdraw_op_type","data":{"balance_id":"XTS389tfuYMjGWAJWwr54NEcqRZNVTtz5gze","amount":10000,"claim_input_data":""}},{"type":"issue_asset_op_type","data":{"amount":{"amount":1,"asset_id":28}}},{"type":"deposit_op_type","data":{"amount":1,"condition":{"asset_id":28,"delegate_slate_id":0,"type":"withdraw_signature_type","data":{"owner":"XTSNcCA2QGJwX5HjshSgnzXaRsDSjzd71TGK","memo":{"one_time_key":"XTS5eN7GXh28RK5YZgXruuVh7sKzn285Bx8UeKXN932qSpfVLTLEY","encrypted_memo_data":"11fa71c909b863b39dccf8fa0d41ade4814830cf7d083c35d30026c4ed518e03881c57f7c0fd895be7194d9ac1f4c759862aefa6e4ed5721947dff6a4000f99a"}}}}}],"signatures":["1ff194d81b7758c92175e53f8e0ee073a534d115bf2dec344990184f1b99968724d59f8600134f67618d92d7028f72ba6308e3f6f113711f493a6281f2d26b9a14","206d8cf587df36c4c0c3521a5eefcea439b069a09c679336619539aa78d51222d8a14f3924e8cdbcbb82a123f558ef8784e4c9fb3e57e1070177e06577fd182061"]}}
    th_a  transaction_evaluation_state.cpp:164 evaluate

    {"trx_num":0}
    th_a  chain_database.cpp:535 apply_transactions
BTS acount: laow

Ggozzo

Quote from: puppies on July 04, 2014, 10:07:28 PM
Quote from: GregGozzo on July 04, 2014, 09:35:49 PM
Quote from: GregGozzo on July 04, 2014, 06:18:25 PM
Still can't get the Windows GUI to run for the life of me. It just opens the splash page with bitsharesXT logo and then closes 3 seconds later. I have tried opening my firewall, ports, downloading in different browsers and nothing will get this going.

I am not sure if it's a comparability issue or if my computer is blocking something. I think Cass said he was having the same problem for one of his Windows laptops.

Any ideas?

I am using Windows 7 64bit.

Anyone?

So I'm guessing you're running it in command line?   It doesn't throw any errors?   

Have you deleted your data directory?

If nothing else I would download a Windows debugger.   That might tell you when it's getting stuck.

I have deleted the data dir.

Not command line, just trying to run the .exe and it opens the splash page then closes.
Tried trouble shooting and get nowhere. Ill try the debugger.

I am able to get it running on an Amazon instance no problem. So it is something to do with my computer. Something isnt connecting or blocking the connection and I cant figure out what it is.
Thanks

puppies

Quote from: GregGozzo on July 04, 2014, 09:35:49 PM
Quote from: GregGozzo on July 04, 2014, 06:18:25 PM
Still can't get the Windows GUI to run for the life of me. It just opens the splash page with bitsharesXT logo and then closes 3 seconds later. I have tried opening my firewall, ports, downloading in different browsers and nothing will get this going.

I am not sure if it's a comparability issue or if my computer is blocking something. I think Cass said he was having the same problem for one of his Windows laptops.

Any ideas?

I am using Windows 7 64bit.

Anyone?

So I'm guessing you're running it in command line?   It doesn't throw any errors?   

Have you deleted your data directory?

If nothing else I would download a Windows debugger.   That might tell you when it's getting stuck.
[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

vikram

Quote from: liondani on July 01, 2014, 11:56:25 PM

liondani (unlocked) >>> wallet_account_transaction_history liondani
BLK.TRX  TIMESTAMP                         FROM                TO                   AMOUNT               FEE                        MEMO                                                   ID     
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
438.0         2014-07-01T22:38:00        liondani             liondani         0000000 XTS       0.18739 XTS         register liondani as a delegate        c1728e5f


the fee of  0.18739 XTS  to create a delegate was not a mistake I suppose?

Fixed for the next chain: https://github.com/BitShares/bitshares_toolkit/compare/194e7ba23b...0d02aa48fe#diff-2

bytemaster

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.

Ggozzo

Quote from: GregGozzo on July 04, 2014, 06:18:25 PM
Still can't get the Windows GUI to run for the life of me. It just opens the splash page with bitsharesXT logo and then closes 3 seconds later. I have tried opening my firewall, ports, downloading in different browsers and nothing will get this going.

I am not sure if it's a comparability issue or if my computer is blocking something. I think Cass said he was having the same problem for one of his Windows laptops.

Any ideas?

I am using Windows 7 64bit.

Anyone?

spartako

Quote from: bytemaster on July 04, 2014, 09:25:05 PM
I just checked in code to fc that should address this.

Thanks, now it works!
wallet_account_set_approval spartako