webtorrent / webtorrent-desktop

❤️ Streaming torrent app for Mac, Windows, and Linux
https://webtorrent.io/desktop
MIT License
9.74k stars 1.01k forks source link

Unable to open Desktop-app #1613

Closed oliverthedeveloper closed 5 years ago

oliverthedeveloper commented 5 years ago

What version of WebTorrent Desktop? 0.98.21.0.

What operating system and version? Windows 10, version 1803.

What did you do? I clicked the icon twice.

What did you expect to happen? That the app would open and I could go on with my torrent.

What actually happened? Nothing.

tiotrom commented 5 years ago

Same here on Manjaro Gnome

feross commented 5 years ago

Were either of you able to see any kind of error message? What about in the error logs in your operating system?

My guess is that this will be fixed by the Electron update coming in WebTorrent Desktop 0.21.0.

tiotrom commented 5 years ago

I only get this:

[tio@tio-pc ~]$ webtorrent-desktop
Segmentation fault (core dumped)
feross commented 5 years ago

@tiotrom If you don't mind, could you try running the latest version of the app in this GitHub repo to see if the issue is fixed for you?

You can follow the instructions here (https://github.com/webtorrent/webtorrent-desktop#how-to-contribute) to get the latest code and run it.

Your help is very much appreciated!

tiotrom commented 5 years ago

I did that. It works! Apparently the new release fixed the bug ;)


[tio@tio-pc ~]$ git clone https://github.com/webtorrent/webtorrent-desktop.git
Cloning into 'webtorrent-desktop'...
remote: Enumerating objects: 66, done.
remote: Counting objects: 100% (66/66), done.
remote: Compressing objects: 100% (50/50), done.
remote: Total 10226 (delta 35), reused 34 (delta 16), pack-reused 10160
Receiving objects: 100% (10226/10226), 134.83 MiB | 6.33 MiB/s, done.
Resolving deltas: 100% (6984/6984), done.
[tio@tio-pc ~]$ cd webtorrent-desktop
[tio@tio-pc webtorrent-desktop]$ npm install

> bufferutil@4.0.1 install /home/tio/webtorrent-desktop/node_modules/bufferutil
> node-gyp-build

> utf-8-validate@5.0.2 install /home/tio/webtorrent-desktop/node_modules/utf-8-validate
> node-gyp-build

> electron-chromedriver@6.0.0 install /home/tio/webtorrent-desktop/node_modules/electron-chromedriver
> node ./download-chromedriver.js

> core-js@2.6.9 postinstall /home/tio/webtorrent-desktop/node_modules/core-js
> node scripts/postinstall || echo "ignore"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
> https://opencollective.com/core-js 
> https://www.patreon.com/zloirock 

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

> protobufjs@6.8.8 postinstall /home/tio/webtorrent-desktop/node_modules/protobufjs
> node scripts/postinstall

> electron@6.0.7 postinstall /home/tio/webtorrent-desktop/node_modules/electron
> node install.js

Downloading tmp-5651-1-SHASUMS256.txt-6.0.7
[============================================>] 100.0% of 4.54 kB (4.54 kB/s)

> nodemon@1.19.2 postinstall /home/tio/webtorrent-desktop/node_modules/nodemon
> node bin/postinstall || exit 0

Love nodemon? You can now support the project via the open collective:
 > https://opencollective.com/nodemon/donate

npm WARN prepublish-on-install As of npm@5, `prepublish` scripts are deprecated.
npm WARN prepublish-on-install Use `prepare` for build steps and `prepublishOnly` for upload-only.
npm WARN prepublish-on-install See the deprecation note in `npm help scripts` for more information.

> webtorrent-desktop@0.20.0 prepublish /home/tio/webtorrent-desktop
> npm run build

> webtorrent-desktop@0.20.0 build /home/tio/webtorrent-desktop
> buble src --output build

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: appdmg@0.6.0 (node_modules/appdmg):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for appdmg@0.6.0: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/nodemon/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.0.7 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

added 1136 packages from 662 contributors and audited 5595 packages in 40.317s
found 3 vulnerabilities (1 low, 2 high)
  run `npm audit fix` to fix them, or `npm audit` for details
[tio@tio-pc webtorrent-desktop]$ npm start

> webtorrent-desktop@0.20.0 start /home/tio/webtorrent-desktop
> npm run build && electron .

> webtorrent-desktop@0.20.0 build /home/tio/webtorrent-desktop
> buble src --output build

(electron:5764): Gtk-WARNING **: 13:01:29.188: Theme parsing error: gtk.css:2:112: Failed to import: Error opening file /home/tio/.local/share/gnome-shell/extensions/no-title-bar@franglais125.gmail.com/stylesheet.css: No such file or directory

(electron:5764): Gtk-WARNING **: 13:01:29.188: Theme parsing error: gtk.css:3:118: Failed to import: Error opening file /home/tio/.local/share/gnome-shell/extensions/no-title-bar@franglais125.gmail.com/stylesheet-tiled.css: No such file or directory
Missing config file: Creating new one
[5796:0907/130129.534985:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
[5796:0907/130129.540345:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
init: 624.209ms
^A
feross commented 5 years ago

@tiotrom That is excellent! Thank you for testing this out for us! You can follow the progress to release a new version here: #1674 We're very close! ❤️