Site Tools


Hotfix release available: 2024-02-06a "Kaos". upgrade now! [55.1] (what's this?)
New release available: 2024-02-06 "Kaos". upgrade now! [55] (what's this?)
nwjs_signal_debugging

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
nwjs_signal_debugging [2017/03/29 11:02] – [Windows Bugreport] 46.246.59.6nwjs_signal_debugging [2021/10/31 10:42] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +===== nw.js Signal debugging =====
 +<code>wget "https://github.com/WhisperSystems/Signal-Desktop/archive/v0.28.0.tar.gz"
 +tar xvf v0.28.0.tar.gz
 +rm v0.28.0.tar.gz
 +cd Signal-Desktop-0.28.0
 +npm install
 +node_modules/grunt-cli/bin/grunt -f
 +nw --enable-logging=stderr dist</code>
 +For further dependencies see signal and nwjs-bin in the AUR
  
 +Newest bug report
 +<code>Thank you for your response.
 +This bug is still present in
 +
 +- signal app v0.30.0
 +- nwjs 0.20.3
 +
 +Here are the steps to reproduce this issue:
 +
 +- Installation instructions for Ubuntu
 +
 +```
 +sudo aptitude install npm ruby-sass nodejs-legacy
 +cd /tmp
 +wget "https://github.com/WhisperSystems/Signal-Desktop/archive/v0.30.0.tar.gz"
 +tar xvf v0.30.0.tar.gz
 +cd Signal-Desktop-0.30.0
 +npm install
 +node_modules/grunt-cli/bin/grunt -f
 +cd /tmp 
 +wget "https://dl.nwjs.io/v0.20.3/nwjs-v0.20.3-linux-x64.tar.gz"
 +tar xvf nwjs-v0.20.3-linux-x64.tar.gz
 +nwjs-v0.20.3-linux-x64/nw Signal-Desktop-0.30.0/dist
 +```
 +Now the app starts like this
 +![2017-02-23-163033_swaygrab](https://cloud.githubusercontent.com/assets/757752/23265623/75a22726-f9e5-11e6-9ac7-04c0f71d9cb5.png)
 +So far, so good. Now you have to register to the Signal messaging service. You'll need the Signal app on your smartphone for [Iphone](https://itunes.apple.com/us/app/signal-private-messenger/id874139669?mt=8) or [Android](https://play.google.com/store/apps/details?id=org.thoughtcrime.securesms) (its possible that this app is blocked in China). After installing and registering it on your Phone, you can start linking the Signal-Desktop app: Settings -> Linked devices -> Add, and then take a picture of the QR code which will be shown in the installation wizard on your desktop.
 +
 +Now you can trigger the bug. Close nwjs and Signal and start it again. Normally you should only see the chat window, like this:</code>
 +===== Windows Bugreport =====
 +  - Download and extract Signal Desktop: https://github.com/WhisperSystems/Signal-Desktop/archive/v0.33.0.zip
 +  - Download and install nwjs for Windows: https://dl.nwjs.io/v0.21.3/nwjs-v0.21.3-win-x64.zip
 +  - Download and install nodejs: https://nodejs.org/dist/v6.10.1/node-v6.10.1-x64.msi
 +  - Download and install Ruby: https://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-2.3.3-x64.exe
 +  - Open CMD, run following commands:
 +<code>cd Signal-Desktop-0.33.0
 +npm install
 +npm install -g grunt-cli
 +gem install sass
 +grunt -f
 +cd nwjs-v0.21.3-win-x64
 +nw.exe C:\signal</code>
 +==== Windows Bugreport new ====
 +  - node 7.8.0 https://nodejs.org/dist/v7.8.0/node-v7.8.0-x64.msi
 +  - nwjs 0.21.5 https://dl.nwjs.io/v0.21.5/nwjs-v0.21.5-win-x64.zip
 +  - signal-desktop 0.35.0 https://github.com/WhisperSystems/Signal-Desktop/archive/v0.35.0.tar.gz
 +  - ruby 2.3.3 https://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-2.3.3-x64.exe
 +===== Further links =====
 +  * Debugging reference http://docs.nwjs.io/en/latest/For%20Users/FAQ/#consolelog-doesnt-output-to-linux-terminal
 +  * New issue nwjs bugtracker https://github.com/nwjs/nw.js/issues/new
 +  * Reference previous bug report https://github.com/nwjs/nw.js/issues/5528