henryboldi / felony

🔑🔥📈 Next Level PGP
MIT License
3.47k stars 130 forks source link

not working on ubuntu #20

Closed oren closed 8 years ago

oren commented 8 years ago

I see empty window. with 'file', 'view', and 'help'. file -> open does nothing and no error in the terminal.

BoringCode commented 8 years ago

Seems to be related to an error that Electron is throwing on launch. For clarification this is thrown by the application in the dev console (while in development), not the terminal.

ELECTRON_ASAR.js:158 Uncaught Error: Module version mismatch. Expected 47, got 48.
module.(anonymous function) @ ELECTRON_ASAR.js:158
Module._extensions..node @ module.js:440
module.(anonymous function) @ ELECTRON_ASAR.js:158
Module.load @ module.js:357Module._load @ module.js:314
Module.require @ module.js:367
require @ internal/module.js:16
(anonymous function) @ node_modules/keytar/lib/keytar.js:4
(anonymous function) @ node_modules/keytar/lib/keytar.js:58
Module._compile @ module.js:413
Module._extensions..js @ module.js:422
Module.load @ module.js:357Module._load @ module.js:314
Module.require @ module.js:367
require @ internal/module.js:16
(anonymous function) @ external "keytar"?c4e9:1
(anonymous function) @ bundle.js:950
__webpack_require__ @ bundle.js:557
fn @ bundle.js:88
(anonymous function) @ pgp.js?b688:6
(anonymous function) @ bundle.js:944
__webpack_require__ @ bundle.js:557
fn @ bundle.js:88
(anonymous function) @ Alias.js?5486:8
(anonymous function) @ bundle.js:896
__webpack_require__ @ bundle.js:557
fn @ bundle.js:88
(anonymous function) @ Header.js?fa34:9
(anonymous function) @ bundle.js:884
__webpack_require__ @ bundle.js:557
fn @ bundle.js:88
(anonymous function) @ HeaderContainer.js?e915:3
(anonymous function) @ bundle.js:824
__webpack_require__ @ bundle.js:557
fn @ bundle.js:88
(anonymous function) @ Felony.js?48cf:12
(anonymous function) @ bundle.js:722
__webpack_require__ @ bundle.js:557
fn @ bundle.js:88
(anonymous function) @ index.js?2018:9
(anonymous function) @ bundle.js:650
__webpack_require__ @ bundle.js:557
fn @ bundle.js:88
(anonymous function) @ bundle.js:589
__webpack_require__ @ bundle.js:557
(anonymous function) @ bundle.js:580
(anonymous function) @ bundle.js:583
toxinu commented 8 years ago

Same error here.

rheaplex commented 8 years ago

Same empty window on Debian Jessie. I don't get the error trace though.

melvincarvalho commented 8 years ago

Same, no error message. I also get error related to keytar when buidling.

Close window works. As does full screen, and f11 (I guessed) to toggle.

MingweiSamuel commented 8 years ago

I am getting the same error, but without the trace: felony

brbsix commented 8 years ago

For anyone interested, I was able to get this fixed.

I have no experience with the framework (I just wanted to test-drive the app) so I'm not certain where the issue is. Essentially I just took care of the warning messages (renaming the deprecated title-bar-style and removing the crash reporter per the recommendation of the boilerplate app), updated to a more recent version of electron-prebuilt, then used Node v6.3.0 to build and package it. For whatever reason, updating electron-prebuilt from 0.37.6 to 1.0.2 seems to do the trick.

I set up Travis CI to build and release it so you can download it here: https://github.com/brbsix/felony/releases/latest

greg-js commented 8 years ago

I can confirm the development version runs (albeit with errors which may or may not be related to this workaround) after updating electron-prebuilt to the latest version (1.2.6 at the time of writing) and removing the crash reporter from main.development.js. FWIW I'm on Node 6.2.1 and Arch Linux.

frankcash commented 8 years ago

This should be updated, please let me know. I'll re-open then!

xssc commented 8 years ago

@frankcash I'm still getting this issue on ubuntu 14.0.4

heysanil commented 8 years ago

You're probably running a packaged pre-release -- 0.10.3 does not have the fix. It's easy to package the latest source yourself, though: download/clone the repo, install dependencies, and npm run package.

On Sat, Aug 13, 2016 at 5:33 PM, Sawyer Charles < notifications@github.com [notifications@github.com] > wrote: @frankcash [https://github.com/frankcash] I'm still getting this issue on ubuntu 14.0.4

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub [https://github.com/henryboldi/felony/issues/20#issuecomment-239649176] , or mute the thread [https://github.com/notifications/unsubscribe-auth/AGDUSfdmqgRTof2ejYG-8JKff2fW6ErDks5qfmJDgaJpZM4JEY72] .

xssc commented 8 years ago

Thanks that worked

frankcash commented 8 years ago

💯