BitShares Forum

Other => Graveyard => DevShares => Topic started by: vikram on April 01, 2015, 11:29:44 pm

Title: DevShares 0.9.0 Feedback
Post by: vikram on April 01, 2015, 11:29:44 pm
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.
Title: Re: DevShares 0.9.0 Feedback
Post by: kokojie on April 01, 2015, 11:54:28 pm
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.

Title: Re: DevShares 0.9.0 Feedback
Post by: clayop on April 02, 2015, 12:01:16 am
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
Title: Re: DevShares 0.9.0 Feedback
Post by: clayop on April 02, 2015, 12:01:58 am
On GUI, sending fund to a sub-account seems not work.
Title: Re: DevShares 0.9.0 Feedback
Post by: kokojie on April 02, 2015, 03:19:21 am
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?
Title: Re: DevShares 0.9.0 Feedback
Post by: clayop on April 02, 2015, 03:25:30 am
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.
Title: Re: DevShares 0.9.0 Feedback
Post by: Pheonike on April 02, 2015, 03:48:02 am

Working good so far.

Win 8.1 8gb

Title: Re: DevShares 0.9.0 Feedback
Post by: xeroc on April 02, 2015, 06:27:59 am
IMO Documentations for new UIA system should be updated
haha .. you  are funny ..
There still is absolutely ZERO documentation about the UIA system ... sadly
Title: Re: DevShares 0.9.0 Feedback
Post by: clayop on April 02, 2015, 06:33:20 am
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.
Title: Re: DevShares 0.9.0 Feedback
Post by: lafona on April 02, 2015, 11:53:47 am
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.
Title: Re: DevShares 0.9.0 Feedback
Post by: liondani on April 02, 2015, 06:20:14 pm
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 )
Title: Re: DevShares 0.9.0 Feedback
Post by: vikram on April 02, 2015, 07:14:51 pm
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.
Title: Re: DevShares 0.9.0 Feedback
Post by: davidpbrown on April 02, 2015, 08:48:13 pm
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.
Title: Re: DevShares 0.9.0 Feedback
Post by: liondani on April 02, 2015, 11:22:14 pm
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 !!!

Title: Re: DevShares 0.9.0 Feedback
Post by: liondani on April 03, 2015, 09:17:14 am
Is it normal that it automatically repairs more than 180,0000 key records? (and counting....)
Title: Re: DevShares 0.9.0 Feedback
Post by: davidpbrown on April 03, 2015, 09:49:21 am
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
Title: Re: DevShares 0.9.0 Feedback
Post by: davidpbrown on April 03, 2015, 09:50:13 am
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]
Title: Re: DevShares 0.9.0 Feedback
Post by: liondani on April 03, 2015, 09:57:11 am
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....
Title: Re: DevShares 0.9.0 Feedback
Post by: vikram on April 03, 2015, 07:16:20 pm
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?
Title: Re: DevShares 0.9.0 Feedback
Post by: liondani on April 03, 2015, 08:43:06 pm
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

Title: Re: DevShares 0.9.0 Feedback
Post by: wuyanren on April 04, 2015, 11:52:09 am
0.9dvs Unable to create assets
Title: Re: DevShares 0.9.0 Feedback
Post by: wuyanren on April 04, 2015, 12:30:46 pm
Synchronous speed is slow
Title: Re: DevShares 0.9.0 Feedback
Post by: wuyanren on April 04, 2015, 12:40:27 pm
win7 64  Synchronization is very slow
Title: Re: DevShares 0.9.0 Feedback
Post by: liondani on April 04, 2015, 04:19:11 pm
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....
Title: Re: DevShares 0.9.0 Feedback
Post by: Fox on April 06, 2015, 10:58:45 pm
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
Title: Re: DevShares 0.9.0 Feedback
Post by: xeroc on April 07, 2015, 06:12:55 am
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
Title: Re: DevShares 0.9.0 Feedback
Post by: Fox on April 07, 2015, 08:38:19 am
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?
Title: Re: DevShares 0.9.0 Feedback
Post by: xeroc on April 07, 2015, 08:56:10 am
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 ..
Title: Re: DevShares 0.9.0 Feedback
Post by: lastagile on April 07, 2015, 02:25:06 pm
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.
Title: Re: DevShares 0.9.0 Feedback
Post by: lastagile on April 07, 2015, 02:51:51 pm
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.
Title: Re: DevShares 0.9.0 Feedback
Post by: xeroc on April 07, 2015, 02:55:47 pm
I want to change now. So I deicide to help to do some testing.
+5% +5%
Title: Re: DevShares 0.9.0 Feedback
Post by: betax on April 10, 2015, 08:50:59 am
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
Title: Re: DevShares 0.9.0 Feedback
Post by: betax on April 10, 2015, 09:11:31 am
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


Title: Re: DevShares 0.9.0 Feedback
Post by: ElMato on April 22, 2015, 01:57:50 pm
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 .....
Title: Re: DevShares 0.9.0 Feedback
Post by: Spectral on August 10, 2015, 01:47:05 pm
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.