Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    penguinchef
    @penguinchef
    Hey, I have a question about the initialize existing account option in Streembit. When would I use that option and what does it do? When I restore an account it automatically sends it out the network if it isn't already there right?
    T Z Pardi
    @zsoltpardi
    Well, that is a very important feature in my opinion :-) that's how you reuse an existing account on a different machine or with a new installation. Let say you have a Streembit account. However you buy a new computer. You back-up the current Streembit account on the existing, old computer. And the you can restore it in the new computer, and with the same password and user name you can start using the Streembit account on the new computer. Functionality wise, it is the same as the File/Restore Account menu item. It is just another shortcut to the restore account function.
    penguinchef
    @penguinchef
    Ok thanks for the reply. So we only need one of those two buttons on the startup screen right?
    T Z Pardi
    @zsoltpardi
    Sorry, please ignore my previous reply. I misunderstood the question and I posted a totally incorrect answer. I was thinking about something else and I mixed my answer with that different thinking.To give the correct answer, basically the "Initialize existing account" only initialize the account by taking the credentials and without connecting to the Streembit DHT. The reason of that, I thought there are scenarios when users need to initialize the account for backing up purpose, i.e. when you have a Streembit account but you don't have network connection for some reason anymore on that PC, so you want to backup the account - in order to have the backup file which you can restore on an other machine - then you click on that button, enter your password and then the account is initialized without actually trying to connect to the network. And then you can make a backup. We could remove this, and if the user want to make a backup for a not initialized account (by clicking on the File/Backup account menu item) then we bring up the login screen and then the user can initialize the account, and carry on wit the backup. I am not sure if this make sense, and I apologize for the confusion.
    penguinchef
    @penguinchef
    Oh ok yes that is a useful feature, we should keep both. All we need is that explanation of initialize account under the documentation under settings,configuration
    penguinchef
    @penguinchef
    Is there any way to see how many people are on the network?
    T Z Pardi
    @zsoltpardi
    No, currently there is no way to see how many people is on the network. It is actually possible to collect such info in a decentralized, permissionless manner, but such function requires a lot of work, so we will do it sometimes later.

    <<< All we need is that explanation of initialize account under the documentation under settings,configuration >>>

    Yes, and I hope someone will submit a pull request for this.

    Yogesh
    @yogk
    This message was deleted
    Yogesh
    @yogk

    Followed the blog http://blog.valbonne-consulting.com/2016/06/09/streembit-hello-world-1st-ever-video-call-over-a-decentralised-p2p-network/
    to install streambit and have a first glimpse. I have a linux-64 bit running debian. I installed npm, nwjs-sdk-v0.15.2-linux-x64 , streambit etc.
    When i start the nw using this on terminal. I am in the streembitui directory and type $ <path to nwjs-sdk-v0.15.2-linux-x64>/nw.
    I get a UI which shows NWJS, but it does not show a chromium GUI as mentioned in the blog. I get these kind of errors in the command line

    [2862:2881:1103/093401:ERROR:logging.h(810)] Failed to call method: org.kde.KWallet.isEnabled: object_path= /modules/kwalletd: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
    [2862:2881:1103/093401:ERROR:native_backend_kwallet_x.cc(396)] Error contacting kwalletd (isEnabled)
    [2862:2881:1103/093401:ERROR:logging.h(810)] Failed to call method: org.kde.KWallet.isEnabled: object_path= /modules/kwalletd: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
    [2862:2881:1103/093401:ERROR:native_backend_kwallet_x.cc(396)] Error contacting kwalletd (isEnabled).

    Google search did not much help.
    I tried uninstalling chromium and re-installing again, but no improvements. Is there any way to solve this and get the streambit UI ?

    Regards
    Yogesh

    T Z Pardi
    @zsoltpardi
    Hi Yogesh, thanks for pointing this out. The chromium installation shouldn't be related to the node-webkit UI, these are different apps and instances when you run them. Even we should be able to run both apps parallel. What I am trying to say is don't worry about the chromium uninstallation. I haven't seen this internal Chromium error before and I am not sure why it does interact with your kwallet application. Though I found this https://bbs.archlinux.org/viewtopic.php?id=204638. Please give me a day and I will try nwjs 0.15.2 and nwjs 0.15.4 which is the latest one. Also I am working on a fix for the node library and UI bug fixes as well. We should have some bug fixes in the UI application in a few days.
    Yogesh
    @yogk
    Screenshot from 2016-07-12 02^%00^%39.png

    Additional info: To start nw app i go into nwjs-sdk directory and start nw from the terminal as
    yk14@ubuntu:~/nwjs-sdk-v0.15.2-linux-x64$nw

    I get a UI as attached in the above picture. both directories nwjs-sdksdk-v0.15.2-linux-x64 and streambitui were added to $PATH.

    T Z Pardi
    @zsoltpardi

    Ah, OK, so maybe that is the issue from where you execute the program? You should start the whole thing from the Streembit directory and then from the terminal:

    $ nwjs-sdksdk-v0.15.2-linux-x64 .

    Like this explains and Joachim the author of the blog says:
    "Start Streembit with node-webkit while still in the streembitui/ directory"

    http://blog.valbonne-consulting.com/2016/06/09/streembit-hello-world-1st-ever-video-call-over-a-decentralised-p2p-network/

    Please try this and let me know what is happening.

    T Z Pardi
    @zsoltpardi
    So to start the nw app you shouldn't go to the nw sdk directory. You should go to the streembiui directory and start the nw app from there.
    Yogesh
    @yogk
    Screenshot from 2016-07-12 23^%26^%27.png
    Hi T Z Pardi,
    I actually have tried both by getting into streambitui directory as well as from nwjs-sdk-v0.15.2-linux64.
    When i run from streambitui I get the same UI output as above and no improvements.
    Attached figure could give you a clear picture when i run nw from streambitui directory and the generated output.
    Yogesh
    @yogk
    I have even tried the steps from blog for the latest SDK nwjs-sdk-v0.15.4-linux-x64, but i end up with the same - No proper UI.
    I hope something related to NWJS installation is not missed out to be mentioned. I have followed these steps as given in Debian as well as Ubuntu.
    1. sudo apt-get install npm
    2. Get the SDK and untar it using tar -xvzf ./nwjs-sdk-v0.15.4-linux-x64.tar.gz
    3. git clone https://github.com/streembit/streembitui.git
    4. cd ./streembitui
    5. npm install
    6. start nw from streambitui as yk14@ubuntu:~/streembitui$ ../nwjs-sdk-v0.15.4-linux-x64/nw
      I get no complete UI , but only NW.JS window opens as attached above.
    T Z Pardi
    @zsoltpardi
    Thanks for the screenshot. It indicates better what's happening. I can't see you put the "." at the end of the command, after the "/nw" part of the shell command it should be a ".". The blog of Joachim and our Github documentation says that a "." should be at the end of the command. Please check the blog and our Github documentation as well. The "." would indicate for node-webkit that open the application based on package.json. The "." is not there, and therefore nw opens the default node-webkit window instead of opening the Streembit application using the package.json. Users who follow the Github readme instructions haven't reported problems with regards to opening the application, so perhaps the problem is that your command is incorrect? Please let me know if it works with the "." at the end of the command. If it still doesn't work please try to use the full path of the SDK. So use "/yk14/home/nwjs-sdk-v0.15.4-linux-x64/nw" (or whatever is the path of your sdk, I am just speculating based on the picture what is the path) instead of using the relative path with "../" from your Streembit clone directory.
    Yogesh
    @yogk
    This message was deleted

    Hi T Z Pardi,
    Thanks for pointing the "." This was the mistake that i was doing and did not pay attention to the exact command mentioned in the blog.
    With the "." added after /nw , I am able to get a proper UI. I will now register and test it further to understand how it works.

    Many thanks again.

    T Z Pardi
    @zsoltpardi
    Hi Yogesh, I am glad it works. It is easy to miss the ".", but it is important :-) and it's great if you put the correct shell command the UI is actually opened. Please let us know if you have any problems.
    Eddie Dickey
    @logicalpath

    Hi all, building NW.js, following instructions here:
    http://docs.nwjs.io/en/latest/For%20Developers/Building%20NW.js/#get-the-code

    I get:
    /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file 'src/content/nw/tools/patcher.py': [Errno 2] No such file or directory

    The src.content.nw directory does not exist. I've asked about this in the nwjs/nw.js room but have not received a reply. Do I have to check out a rep into this dir? Thanks in advance

    Eddie Dickey
    @logicalpath
    I got past this issue by manually cloning the nw.js repo into src/content/nw
    T Z Pardi
    @zsoltpardi
    Hi Eddie, I had the same issue a while back. There is a new release for Streembit for both streembitlib and streembitui. Please let us know how it works on MAC.
    T Z Pardi
    @zsoltpardi
    The new streembitui is version 1.0.9 and there is an updated streembitlib as well, but the "npm install" should pull that permit that you have deleted the old streembitlib from the node_modules directory.