laurent22 / joplin

Joplin - the privacy-focused note taking app with sync capabilities for Windows, macOS, Linux, Android and iOS.
https://joplinapp.org
Other
45.94k stars 4.99k forks source link

OSx desktop app opens with blank white screen #187

Closed jobspierings closed 6 years ago

jobspierings commented 6 years ago

When opening the desktop Joplin App there's a white screen and user can only quit the app via menu:

screen

note:

Operating system

Application

log-database.txt:

2018-01-29 10:36:55: "Database was open successfully"
2018-01-29 10:36:55: "Checking for database schema update..."
2018-01-29 10:36:55: "Current database version", "0"
2018-01-29 10:36:55: "Converting database to version 1"
2018-01-29 10:36:55: "Converting database to version 2"
2018-01-29 10:36:55: "Converting database to version 3"
2018-01-29 10:36:55: "Converting database to version 4"
2018-01-29 10:36:55: "Converting database to version 5"
2018-01-29 10:36:55: "Converting database to version 6"
2018-01-29 10:36:55: "Converting database to version 7"
2018-01-29 10:36:55: "Converting database to version 8"
2018-01-29 10:36:55: "Converting database to version 9"
2018-01-29 10:36:55: "Initializing tables..."
2018-01-29 10:36:55: "Saving settings..."
2018-01-29 10:36:55: "Settings have been saved."
2018-01-29 10:53:31: "Database was open successfully"
2018-01-29 10:53:31: "Checking for database schema update..."
2018-01-29 10:53:31: "Current database version", "9"
2018-01-29 10:53:32: "Saving settings..."
2018-01-29 10:53:32: "BEGIN TRANSACTION"
2018-01-29 10:53:32: "DELETE FROM settings"
2018-01-29 10:53:32: "INSERT INTO `settings` (`key`, `value`) VALUES (?, ?)"
2018-01-29 10:53:32: "["sync.3.context",""]"
2018-01-29 10:53:32: "INSERT INTO `settings` (`key`, `value`) VALUES (?, ?)"
2018-01-29 10:53:32: "["locale","nl_BE"]"
2018-01-29 10:53:32: "INSERT INTO `settings` (`key`, `value`) VALUES (?, ?)"
2018-01-29 10:53:32: "["firstStart","0"]"
2018-01-29 10:53:32: "INSERT INTO `settings` (`key`, `value`) VALUES (?, ?)"
2018-01-29 10:53:32: "["activeFolderId","79c7ba864a1e412fa5cb7fb53ec907f5"]"
2018-01-29 10:53:32: "COMMIT"
2018-01-29 10:53:32: "Settings have been saved."
2018-01-29 10:53:32: "
                SELECT *
                FROM `notes`
                WHERE encryption_applied = 1
                LIMIT 100
                "
2018-01-29 10:53:32: "
                SELECT *
                FROM `folders`
                WHERE encryption_applied = 1
                LIMIT 100
                "
2018-01-29 10:53:32: "
                SELECT *
                FROM `resources`
                WHERE (encryption_blob_encrypted = 1 OR encryption_applied = 1)
                LIMIT 100
                "
2018-01-29 10:53:32: "
                SELECT *
                FROM `tags`
                WHERE encryption_applied = 1
                LIMIT 100
                "
2018-01-29 10:53:32: "
                SELECT *
                FROM `note_tags`
                WHERE encryption_applied = 1
                LIMIT 100
                "
laurent22 commented 6 years ago

Hi, it seems the app is not starting at all. Please could you try to enable debug mode on the desktop app and check the content of log.txt?

seeseekey commented 6 years ago

The same here. I use macOS 10.13.2. I think you mean this link for the debug mode (instead of the desktop readme)?

I try to start the debug mode, but nothing happens. No new entries, since i installed the .51 version, in the log.txt and no menu entries (only Joplin -> Quit menu).

jobspierings commented 6 years ago

Confirm: I tried to invoke debug mode as instructed (adding file flags.txt etc) but no new entries appear in log.txt.

laurent22 commented 6 years ago

Unfortunately I don't have a Mac to test at the moment, but in the meantime you could try to install one of the previous versions: https://github.com/laurent22/joplin/releases

By the way, is there any error or warning in the Console when this crash happens?

yyandrew commented 6 years ago

Same issue here.

Fatal error: Cannot find module 'fbjs/lib/focusNode' Error: Cannot find module 'fbjs/lib/focusNode' at Module._resolveFilename (module.js:470:15) at Function.Module._resolveFilename (/Applications/Joplin.app/Contents/Resources/electron.asar/common/reset-search-paths.js:35:12) at Function.Module._load (module.js:418:25) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at /Applications/Joplin.app/Contents/Resources/app/node_modules/react-dom/cjs/react-dom.development.js:26:17 at Object. (/Applications/Joplin.app/Contents/Resources/app/node_modules/react-dom/cjs/react-dom.development.js:15399:5) at Object. (/Applications/Joplin.app/Contents/Resources/app/node_modules/react-dom/cjs/react-dom.development.js:15402:3) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10)

This is the error message.Hope it is helpful.

Thank you.

jobspierings commented 6 years ago

this is the output:

standaard 09:03:01.761603 +0100 Joplin Helper GVA info: preferred scaler idx 1 fout 09:03:01.790570 +0100 Joplin AEGetDescData of non-desc type 'reco' not a good idea standaard 09:03:01.830495 +0100 Joplin Helper GVA info: preferred scaler idx 1 standaard 09:03:11.464476 +0100 Joplin LSExceptions shared instance invalidated for timeout. fout 09:04:18.962539 +0100 Joplin AEGetDescData of non-desc type 'reco' not a good idea standaard 09:04:18.990191 +0100 Joplin Helper GVA info: preferred scaler idx 1 standaard 09:04:19.037236 +0100 Joplin Helper GVA info: preferred scaler idx 1

ethfun commented 6 years ago

I also meet this issue

ghost commented 6 years ago

I’m having the same problem. Sadly. But keep up the good work. I’m happy about the existence of Joplin. Thanks a lot!

laurent22 commented 6 years ago

It turns out the build had failed but got uploaded to GitHub anyway so indeed it wasn't working. I've now uploaded a new version (0.10.54). Please give it a try and let me know if it's any better.

thekarinka commented 6 years ago

Now it's working. Thank you for fix :)

mapledyne commented 6 years ago

0.10.54 fixed it for me, too. Thanks!

johnsaigle commented 6 years ago

The fix also worked for me!