Note: Because of the 30000 character limitation on this forum, I have removed the actual terminal output from this post. To see the full post, click on
this link.
Hi, arhag. That was not implemented at the time of this beta release, but it is now implemented, albeit a bit buggy in the UX. If you rebuild from the devshares branch, you should get it.
I encountered a few problems with it. First I deleted "~/.config/DevShares" and "~/.local/share/DevShares".
I then ran the LightWallet and clicked on import account. I typed in my account name, recovery password, and new unlocking password. By the way, the recovery password field should be hidden by default just like the unlocking password field. After pressing "Import Account" nothing happened. However, I did see that the wallet created "~/.local/share/DevShares" and "~/.config/DevShares". Furthermore, looking at the contents of "~/.config/DevShares/BitShares DVS Light Wallet.conf" I can see that it recorded the arhag-light account with the encrypted private key.
I was running this in gdb by the way. Here is the output in the terminal during this process:
(see link provided for full output)
The Qt client wasn't doing anything when I pressed "Import Account" however the GUI was responsive. Pressing the button repeated messages like the following in the terminal:
(see link provided for full output)
and the command line wasn't responding so I pressed control-C which brought me back to the gdb prompt (and froze the Qt GUI). I then ran backtrace and got:
^C
Program received signal SIGINT, Interrupt.
0x00007ffff52aacbd in poll () at ../sysdeps/unix/syscall-template.S:81
81 ../sysdeps/unix/syscall-template.S: No such file or directory.
(gdb) bt
#0 0x00007ffff52aacbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1 0x00007ffff40bafe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007ffff40bb0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007ffff64fa554 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /opt/Qt5.4.0/5.4/gcc_64/lib/libQt5Core.so.5
#4 0x00007ffff649deab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /opt/Qt5.4.0/5.4/gcc_64/lib/libQt5Core.so.5
#5 0x00007ffff64a2dc5 in QCoreApplication::exec() () from /opt/Qt5.4.0/5.4/gcc_64/lib/libQt5Core.so.5
#6 0x000000000050e931 in main (argc=1, argv=<optimized out>)
at /home/arhag/dev/bitshares/programs/light_wallet/main.cpp:53
Finally, I gave up and quit the program. I then ran it again, and this time it didn't show the new user screen but the screen that allowed me to unlock the existing user. After unlocking with my password I got a lot of terminal output similar to last time but it kept adding more. For that reason I was unable to copy all of it from the beginning (it scrolled up past my terminal history limit), but here is a portion of it:
(see link provided for full output)
Also, the GUI was simply a blank screen that said I haven't backed up my wallet yet, except the GUI was completely unresponsive (there are no "qml: Pressed events" logged in the terminal).
I closed the program and ran it again. This time things went better. Here is the terminal output:
(see link provided for full output)
This time it showed the screen with my balance (0 DVS) properly. Also, the transaction history page only showed the second to last transaction I made of 20 DVS from arhag to arhag-light (which is confirmed in the terminal output). None of my other transactions show up in the GUI. Here is a small portion of the terminal output while I am viewing the transaction history screen:
(see link provided for full output)
I haven't studied it carefully, but it appears to me that some of the other amounts I transferred are included in that output. So I am not sure why the GUI is only showing one of my transactions.