Author Topic: DevShares 0.9.0 Feedback  (Read 19535 times)

0 Members and 1 Guest are viewing this topic.

Offline Spectral

It's an issue with leveldb chaing their github refs:
https://github.com/BitShares/bitshares/issues/1490

You can either wait for the devs to merge this change into 'master' or try to fiddle around it by manually checking out that particular submodule .. I'd not prefer the latter ..

I did
Code: [Select]
git cherry-pick 4c8928d09a9b2cb3acae287ce693213a1ef05e80
after checking out dvs/0.9.0

Not sure if that's all it takes, but it is at least compiling.
Vote for BTS-2 witness: spectral (1.6.30)
0.9 DVS delegate: dvs1.bitspace
Stay tuned for bitspace-clains worker!

Offline ElMato

  • Sr. Member
  • ****
  • Posts: 288
    • View Profile
UIA

Code: [Select]
default (unlocked) >>> wallet_uia_retract_balance DVSCejnL9Uowi5zPdH76yqEt2afDxAzyekrF elmato
20027 memo_too_long: memo too long

    {"memo":"retract balance DVSCejnL9Uowi5zPdH76yqEt2afDxAzyekrF"}
        th_a  wallet.cpp:131 deposit_from_transaction .....

Offline betax

  • Hero Member
  • *****
  • Posts: 808
    • View Profile
UIA

+ I cannot create an asset using the UI
+ Using the console (UI) I have created it successfully. (tick)
+ UI does not display my asset


https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline betax

  • Hero Member
  • *****
  • Posts: 808
    • View Profile
Any news about the feed?
Are there any regression tests that we could try? or start.
Edit: UI manual regression tests.

Overall I have:
+Installed in windows 8.1  16gb AMD 6 core
+ Experienced the negative progress on blockchain sync, but very smooth experience.
+ Registered account  (tick)
+ Created a short order (tick)
+ Restarted to see Test note balance (~ tick?)
+ Restarted / Sync took a while the screen to appear, I assume catching up on blocks (~ 8 hours) (x)
+ CPU 15% to 21% depending (idle and max on exchange view)
+ Memory ~400 MB
« Last Edit: April 10, 2015, 11:03:05 am by betax »
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
I want to change now. So I deicide to help to do some testing.
+5% +5%

Offline lastagile

  • Full Member
  • ***
  • Posts: 144
    • View Profile
Mac version the CPU usage is very high when I open the exchange. other pages the cpu usage is good. People use windows seems do not have this problem.

Offline lastagile

  • Full Member
  • ***
  • Posts: 144
    • View Profile
There is no feed in DVS environment. How could we suppose the testing is enough if it not runs as designed?
I found most of people do not contribute to BTS but only care about the price,  including myself. I want to change now. So I deicide to help to do some testing.
« Last Edit: April 07, 2015, 02:30:07 pm by lastagile »

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
It's an issue with leveldb chaing their github refs:
https://github.com/BitShares/bitshares/issues/1490

You can either wait for the devs to merge this change into 'master' or try to fiddle around it by manually checking out that particular submodule .. I'd not prefer the latter ..

Offline Fox

Use
Code: [Select]
git submodule update --init --recursive

Tried that, but got the same result:
Code: [Select]
Host:~/DevShares# git submodule update --init --recursive
fatal: reference is not a tree: 028f9409247be6d3d09a157e8eb347a173afc599
Unable to checkout '028f9409247be6d3d09a157e8eb347a173afc599' in submodule path 'libraries/leveldb'

I then tried to restart from the top with a fresh clone for the repository, but left out the "checkout dvs/0.9.0" line to remain on the master. Again, same result when attempting the "submodule update --init --recursive" line.

Next, I tried a new VPS host with the same results. Does my build script look incorrect?  What does the "reference is not a tree" bit mean? How to resolve?
Witness: fox

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
First time with this issue: I am unable to build dvs/0.9.0.  I had no problem with previous dvs/ checkouts.  The submodule update is giving me an error I do not know how to correct:

Code: [Select]
host:~/DevShares$ git submodule update
fatal: reference is not a tree: 028f9409247be6d3d09a157e8eb347a173afc599
Unable to checkout '028f9409247be6d3d09a157e8eb347a173afc599' in submodule path 'libraries/leveldb'
host:~/DevShares$ git status
HEAD detached at dvs/0.9.0
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

        modified:   libraries/leveldb (new commits)

This is my build script:
Code: [Select]
# Build DEVShares
git clone https://github.com/BitShares/DevShares.git
cd DevShares
git checkout dvs/0.9.0
git submodule init
git submodule update
git status

As always, thanks for your assistance in advance.
-Fox

Use
Code: [Select]
git submodule update --init --recursive

Offline Fox

First time with this issue: I am unable to build dvs/0.9.0.  I had no problem with previous dvs/ checkouts.  The submodule update is giving me an error I do not know how to correct:

Code: [Select]
host:~/DevShares$ git submodule update
fatal: reference is not a tree: 028f9409247be6d3d09a157e8eb347a173afc599
Unable to checkout '028f9409247be6d3d09a157e8eb347a173afc599' in submodule path 'libraries/leveldb'
host:~/DevShares$ git status
HEAD detached at dvs/0.9.0
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

        modified:   libraries/leveldb (new commits)

This is my build script:
Code: [Select]
# Build DEVShares
git clone https://github.com/BitShares/DevShares.git
cd DevShares
git checkout dvs/0.9.0
git submodule init
git submodule update
git status

As always, thanks for your assistance in advance.
-Fox
« Last Edit: April 06, 2015, 11:53:59 pm by Fox »
Witness: fox

Offline liondani

  • Hero Member
  • *****
  • Posts: 3737
  • Inch by inch, play by play
    • View Profile
    • My detailed info
  • BitShares: liondani
  • GitHub: liondani
default (locked) >>> wallet_unlock 888888
Continuing wallet upgrade...
Repairing key record     6091^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B
Repairing key record     91385Segmentation fault (!)
root@*******2:/home/bitshares/programs/client#


edit:
I can't unlock my wallet! Every time I try it it "upgrades" and is automatically repairing key records until the "Segmentation fault" error appears !!!

Do you still have a copy of this wallet? If so can you run it in debugger and get a stack trace of the crash?

I still don't reproduced the crash since I get an error when trying to backup_restore my wallet on devshares_v0.6.3 !
When I backup_restore the same wallet on v0.9.0 from scratch, no problem...
When I manage to reproduce the crash I will reply  here again....

Offline wuyanren

  • Hero Member
  • *****
  • Posts: 589
    • View Profile
win7 64  Synchronization is very slow

Offline wuyanren

  • Hero Member
  • *****
  • Posts: 589
    • View Profile
Synchronous speed is slow

Offline wuyanren

  • Hero Member
  • *****
  • Posts: 589
    • View Profile
0.9dvs Unable to create assets

Offline liondani

  • Hero Member
  • *****
  • Posts: 3737
  • Inch by inch, play by play
    • View Profile
    • My detailed info
  • BitShares: liondani
  • GitHub: liondani
default (locked) >>> wallet_unlock 888888
Continuing wallet upgrade...
Repairing key record     6091^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B
Repairing key record     91385Segmentation fault (!)
root@*******2:/home/bitshares/programs/client#


edit:
I can't unlock my wallet! Every time I try it it "upgrades" and is automatically repairing key records until the "Segmentation fault" error appears !!!

Do you still have a copy of this wallet? If so can you run it in debugger and get a stack trace of the crash?
will look at it but it is worth mentioning to tell that I had the same issue after that with the vps and after the segment fault on record 80000 I run the client again and somehow it made the upgrade successful...  it continued from the last record I think but counting from 1...

Sent from my ALCATEL ONE TOUCH 997D


Offline vikram

default (locked) >>> wallet_unlock 888888
Continuing wallet upgrade...
Repairing key record     6091^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B
Repairing key record     91385Segmentation fault (!)
root@*******2:/home/bitshares/programs/client#


edit:
I can't unlock my wallet! Every time I try it it "upgrades" and is automatically repairing key records until the "Segmentation fault" error appears !!!

Do you still have a copy of this wallet? If so can you run it in debugger and get a stack trace of the crash?

Offline liondani

  • Hero Member
  • *****
  • Posts: 3737
  • Inch by inch, play by play
    • View Profile
    • My detailed info
  • BitShares: liondani
  • GitHub: liondani
default (locked) >>> wallet_unlock 888888
Continuing wallet upgrade...
Repairing key record     6091^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B
Repairing key record     91385Segmentation fault (!)
root@*******2:/home/bitshares/programs/client#


edit:
I can't unlock my wallet! Every time I try it it "upgrades" and is automatically repairing key records until the "Segmentation fault" error appears !!!

I managed to unlock the DVS wallet only after I deleted all files and restored an old wallet backup I had.
It only then repaired about 200,000 wallet records (!) successfully...  and it took some hours....

Offline davidpbrown

On trying the vote I get an error..

Quote
invalid asset amount (35005) [show details]

getStackTrace@app.js:38
 ○ request@app.js:46
 ○ transfer@app.js:47
 ○ m@app.js:40
 ○ ok@app.js:41
 ○ apply@app.js:9
 ○ e@app.js:9
 ○ $eval@app.js:7
 ○ $apply@app.js:7
 ○ app.js:9
 ○ dispatch@app.js:3
 ○ handle@app.js:3
35005 invalid_asset_amount: invalid asset amount

    {"share_string":"3198602.457349999808","max_rhs_size":5}
    bitshares  asset_record.cpp:93 share_string_to_satoshi

    {"share_string":"3198602.457349999808","precision":100000}
    bitshares  asset_record.cpp:109 share_string_to_satoshi

    {"amount":"3198602.457349999808"}
    bitshares  asset_record.cpp:114 asset_from_string

    {"amount":"3198602.457349999808","symbol":"DVS"}
    bitshares  chain_interface.cpp:241 to_ugly_asset

    {"amount_to_transfer":"3198602.457349999808","asset_symbol":"DVS","from_account_name":"davidpbrown","recipient":"davidpbrown","memo_message":"vote_all","strategy":"vote_all"}
    bitshares  wallet_api.cpp:322 wallet_transfer

    {}
    bitshares  common_api_client.cpp:3845 wallet_transfer

[hide details]
฿://1CBxm54Ah5hiYxiUtD7JGYRXykT5Z6ZuMc

Offline davidpbrown

Is it normal that it automatically repairs more than 180,0000 key records? (and counting....)

I've not seen that before and if I did I'd stop it and redownload the blockchain with --resync-blockchain
฿://1CBxm54Ah5hiYxiUtD7JGYRXykT5Z6ZuMc

Offline liondani

  • Hero Member
  • *****
  • Posts: 3737
  • Inch by inch, play by play
    • View Profile
    • My detailed info
  • BitShares: liondani
  • GitHub: liondani
Is it normal that it automatically repairs more than 180,0000 key records? (and counting....)

Offline liondani

  • Hero Member
  • *****
  • Posts: 3737
  • Inch by inch, play by play
    • View Profile
    • My detailed info
  • BitShares: liondani
  • GitHub: liondani
default (locked) >>> wallet_unlock 888888
Continuing wallet upgrade...
Repairing key record     6091^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B
Repairing key record     91385Segmentation fault (!)
root@*******2:/home/bitshares/programs/client#


edit:
I can't unlock my wallet! Every time I try it it "upgrades" and is automatically repairing key records until the "Segmentation fault" error appears !!!

« Last Edit: April 03, 2015, 01:42:36 am by liondani »

Offline davidpbrown

I still get notifications that seem to be x11+ of the same
Quote
JSON Parse error: Unterminated string [show details]
but then it shows no detail and it's unclear where those come from.


Incidentally, for the qt, I've got in the habit of doing
Quote
sudo npm install -g lineman
sudo npm install
rather than just
Quote
sudo npm install -g lineman
npm install
I wonder that second one works only on a faster machine where the sudo doesn't time out.
฿://1CBxm54Ah5hiYxiUtD7JGYRXykT5Z6ZuMc

Offline vikram

Try https://github.com/BitShares/DevShares/blob/master/BUILD_UBUNTU.md

That's weird, I followed the steps in your link, and it worked. Was there something wrong in my old steps?
on the last step (make)
I get this error:

Scanning dependencies of target bts_cli
[ 80%] Building CXX object libraries/cli/CMakeFiles/bts_cli.dir/cli.cpp.o
In file included from /home/liondani/DevShares/bitshares/libraries/client/include/bts/client/client.hpp:4:0,
                 from /home/liondani/DevShares/bitshares/libraries/cli/include/bts/cli/cli.hpp:4,
                 from /home/liondani/DevShares/bitshares/libraries/cli/cli.cpp:2:
/home/liondani/DevShares/bitshares/libraries/api/include/bts/api/reflect_api.hpp:6:22: fatal error: fc/api.hpp: No such file or directory
 #include <fc/api.hpp>
                      ^
compilation terminated.
make[2]: *** [libraries/cli/CMakeFiles/bts_cli.dir/cli.cpp.o] Error 1
make[1]: *** [libraries/cli/CMakeFiles/bts_cli.dir/all] Error 2
make: *** [all] Error 2


any suggestions?

(I made like always the same steps   https://github.com/BitShares/DevShares/blob/master/BUILD_UBUNTU.md )


fc now has a submodule so we have nested submodules. Easiest way to sync up submodules is in root project do "git submodule update --init --recursive" as build instructions now say.

Offline liondani

  • Hero Member
  • *****
  • Posts: 3737
  • Inch by inch, play by play
    • View Profile
    • My detailed info
  • BitShares: liondani
  • GitHub: liondani
on the last step (make)
I get this error:

Scanning dependencies of target bts_cli
[ 80%] Building CXX object libraries/cli/CMakeFiles/bts_cli.dir/cli.cpp.o
In file included from /home/liondani/DevShares/bitshares/libraries/client/include/bts/client/client.hpp:4:0,
                 from /home/liondani/DevShares/bitshares/libraries/cli/include/bts/cli/cli.hpp:4,
                 from /home/liondani/DevShares/bitshares/libraries/cli/cli.cpp:2:
/home/liondani/DevShares/bitshares/libraries/api/include/bts/api/reflect_api.hpp:6:22: fatal error: fc/api.hpp: No such file or directory
 #include <fc/api.hpp>
                      ^
compilation terminated.
make[2]: *** [libraries/cli/CMakeFiles/bts_cli.dir/cli.cpp.o] Error 1
make[1]: *** [libraries/cli/CMakeFiles/bts_cli.dir/all] Error 2
make: *** [all] Error 2


any suggestions?

(I made like always the same steps   https://github.com/BitShares/DevShares/blob/master/BUILD_UBUNTU.md )

Offline lafona

  • Sr. Member
  • ****
  • Posts: 231
    • View Profile
  • BitShares: lafona
I like the blockchain download progress bar in the gui. The bar started in the negative numbers though, and reached zero at the halfway point before starting to count up. Otherwise a nice little feature that should help the experience for new users.
BTS Witnesses: delegate-1.lafona     Witness Thread: https://bitsharestalk.org/index.php/topic,21569.msg280911/topicseen.html#msg280911
MUSE Witness: lafona

Offline clayop

  • Hero Member
  • *****
  • Posts: 2033
    • View Profile
    • Bitshares Korea
  • BitShares: clayop
IMO Documentations for new UIA system should be updated
haha .. you  are funny ..
There still is absolutely ZERO documentation about the UIA system ... sadly

Right haha.. so, updated -> uploaded.
Bitshares Korea - http://www.bitshares.kr
Vote for me and see Korean Bitshares community grows
delegate-clayop

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
IMO Documentations for new UIA system should be updated
haha .. you  are funny ..
There still is absolutely ZERO documentation about the UIA system ... sadly

Offline Pheonike


Working good so far.

Win 8.1 8gb


Offline clayop

  • Hero Member
  • *****
  • Posts: 2033
    • View Profile
    • Bitshares Korea
  • BitShares: clayop
IMO Documentations for new UIA system should be updated, especially wallet_uia_update_authority_permissions and wallet_uia_update_active_flags. I have no idea about these two commands.
Bitshares Korea - http://www.bitshares.kr
Vote for me and see Korean Bitshares community grows
delegate-clayop

Offline kokojie

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Try https://github.com/BitShares/DevShares/blob/master/BUILD_UBUNTU.md

That's weird, I followed the steps in your link, and it worked. Was there something wrong in my old steps?

Offline clayop

  • Hero Member
  • *****
  • Posts: 2033
    • View Profile
    • Bitshares Korea
  • BitShares: clayop
On GUI, sending fund to a sub-account seems not work.
Bitshares Korea - http://www.bitshares.kr
Vote for me and see Korean Bitshares community grows
delegate-clayop

Offline clayop

  • Hero Member
  • *****
  • Posts: 2033
    • View Profile
    • Bitshares Korea
  • BitShares: clayop
I could not compile on ubuntu 14.14, I was doing the regular:
git clone https://github.com/BitShares/devshares/ dvs_0.9.0
cd dvs_0.9.0
git checkout dvs/0.9.0
git submodule init
git submodule update
cmake .
make

Got the following errors:

-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libssl.a;/usr/lib/x86_64-linux-gnu/libcrypto.a (found version "1.0.1f")
** for a debug build: cmake -DCMAKE_BUILD_TYPE=Debug ..
CMake Error at libraries/fc/CMakeLists.txt:193 (add_subdirectory):
  The source directory

    /home/user/dvs_0.9.0/libraries/fc/vendor/websocketpp

  does not contain a CMakeLists.txt file.


-- Finished fc module configuration...
-- Using  as BerkeleyDB root
-- Looking for: db_cxx-6.0
-- debug/usr/lib/x86_64-linux-gnu/libdb_cxx.sooptimized/usr/lib/x86_64-linux-gnu/libdb_cxx.so
-- Found BerkeleyDB: /usr/include
-- Enabling Bitcoin Core Wallet Imports
-- Could NOT find Curses (missing:  CURSES_LIBRARY CURSES_INCLUDE_PATH)
-- Found Readline: /usr/include
-- Configuring incomplete, errors occurred!
See also "/home/user/dvs_0.9.0/CMakeFiles/CMakeOutput.log".
user@ubuntu:~/dvs_0.9.0$ sudo make
make: *** No targets specified and no makefile found.  Stop.

Try https://github.com/BitShares/DevShares/blob/master/BUILD_UBUNTU.md
Bitshares Korea - http://www.bitshares.kr
Vote for me and see Korean Bitshares community grows
delegate-clayop

Offline kokojie

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
I could not compile on ubuntu 14.14, I was doing the regular:
git clone https://github.com/BitShares/devshares/ dvs_0.9.0
cd dvs_0.9.0
git checkout dvs/0.9.0
git submodule init
git submodule update
cmake .
make

Got the following errors:

-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libssl.a;/usr/lib/x86_64-linux-gnu/libcrypto.a (found version "1.0.1f")
** for a debug build: cmake -DCMAKE_BUILD_TYPE=Debug ..
CMake Error at libraries/fc/CMakeLists.txt:193 (add_subdirectory):
  The source directory

    /home/user/dvs_0.9.0/libraries/fc/vendor/websocketpp

  does not contain a CMakeLists.txt file.


-- Finished fc module configuration...
-- Using  as BerkeleyDB root
-- Looking for: db_cxx-6.0
-- debug/usr/lib/x86_64-linux-gnu/libdb_cxx.sooptimized/usr/lib/x86_64-linux-gnu/libdb_cxx.so
-- Found BerkeleyDB: /usr/include
-- Enabling Bitcoin Core Wallet Imports
-- Could NOT find Curses (missing:  CURSES_LIBRARY CURSES_INCLUDE_PATH)
-- Found Readline: /usr/include
-- Configuring incomplete, errors occurred!
See also "/home/user/dvs_0.9.0/CMakeFiles/CMakeOutput.log".
user@ubuntu:~/dvs_0.9.0$ sudo make
make: *** No targets specified and no makefile found.  Stop.


Offline vikram

https://github.com/BitShares/DevShares/releases/tag/dvs%2F0.9.0

Most important thing to test is new user-issued asset features. Other than that, testing of market and GUI is also helpful.
« Last Edit: April 01, 2015, 11:41:43 pm by vikram »