Blank app after 4.3.0 update


(S M) #1

I see a blank screen after starting inkdrop after the 4.3.0 update. I found the following in the developer tools console:

console-breadcrumbs.js:33 Error: Minified React error #130; visit https://reactjs.org/docs/error-decoder.html?invariant=130&args[]=undefined&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings. 
at ba (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:13)
at x (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:14)
at Ye (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:123)
at /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:146
at S (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:164)
at Qg (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:173)
at Og (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:172)
at Tg (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:180)
at bi (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:232)
at ci (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:233)
at Di (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:249)
at Yh (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:248)
at Xh (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:245)
at Ah (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:241)
at /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/core-js/modules/es.promise.js:105
at flush (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/core-js/internals/microtask.js:26)
at process._tickCallback (internal/process/next_tick.js:61)
console.(anonymous function) @ console-breadcrumbs.js:33

I ran ipm update in case that was the issue and saw:

ipm update
Package Updates Available (0)
└── (empty)

Info

  • Platform: macOS
  • Platform version: Mojave 10.14.5
  • App Version: 4.3.0

Reproduce

I upgraded when prompted by inkdrop.


(Takuya Matsuyama) #2

Hi S,

Thank you for the report.
The app will restart automatically when finished updating.
I guess you have relaunched the app manually and too quickly.
So, the app shows a blank screen due to unfinished update.
Can you please try restarting the app?
If it still does not work, please download the app again from here:

https://my.inkdrop.app/download

I’ll add a message that you have to wait for a while during the update from the next version.
Sorry for the confusion and thanks again for the report!


(S M) #3

I downloaded and re-installed the app. I am still seeing the blank page with this error:

/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/@bugsnag/browser/dist/bugsnag.js:2031 Error: Minified React error #130; visit https://reactjs.org/docs/error-decoder.html?invariant=130&args[]=undefined&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings. 
at ba (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:13)
at x (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:14)
at Ye (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:123)
at /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:146
at S (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:164)
at Qg (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:173)
at Og (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:172)
at Tg (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:180)
at bi (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:232)
at ci (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:233)
at Di (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:249)
at Yh (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:248)
at Xh (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:245)
at Ah (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:241)
at /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/core-js/modules/es.promise.js:105
at flush (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/core-js/internals/microtask.js:26)
at process._tickCallback (/Applications/Inkdrop.app/Contents/Resources/app.asar/internal/process/next_tick.js:61)
console.(anonymous function) @ /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/@bugsnag/browser/dist/bugsnag.js:2031

(Takuya Matsuyama) #4

Can you please try logging in again from the application menu?


(S M) #5

I had to log out first, but logging our and back in from the application menu worked. Thank you!


(Takuya Matsuyama) #6

Good to hear that. Thanks for letting me know!


(Dan Michael Heggø) #7

I’m seeing exactly the same error. Logging out and in again fixes the problem, but only for that session. After a restart it’s back again.


(S M) #8

I just closed the app and re-opened it. I am seeing the same, another blank screen.


(Takuya Matsuyama) #9

That’s strange. I can see the error reports on Bugsnag.
It seems like the issue occurs only on macOS.
I’ll look into it.


(Takuya Matsuyama) #10

I built a patch that fixes a suspect bug.
@Dan_Michael_Heggo, @S_M, can you please try it?

https://inkdrop-dist.s3-ap-northeast-1.amazonaws.com/tmp/Inkdrop-4.3.0-Mac-patch-1.zip


(Takuya Matsuyama) #11

I’d like to know if it fixes the issue as well:

https://inkdrop-dist.s3-ap-northeast-1.amazonaws.com/tmp/Inkdrop-4.3.0-Mac-patch-2.zip

Please let me know if it works.


(Bruce MacDonald) #12

I have exactly the same problem on Windows 10 (1903). Reinstalling didn’t fix it but logging out then logging back in works for that single session only, a restart requires a logout / login again.

So not just MacOS.


(Takuya Matsuyama) #13

@Bruce_MacDonald
Okay, I am building the patch for Windows.
I identified the cause of the problem.


(Takuya Matsuyama) #14

@Bruce_MacDonald

Can you please try it?

https://inkdrop-dist.s3-ap-northeast-1.amazonaws.com/tmp/Inkdrop-4.3.0-Windows-patch-2.zip


(Zack Slayton) #15

Patch 2 for MacOS seems to have fixed the blank app issue for me. Thanks!


(Takuya Matsuyama) #16

Thanks for letting me know, Zack!


(Bruce MacDonald) #17

Thanks - that seems to have fixed the blank screen issue. While it appears to be running fine, I did get the below in the console window when I started it:

[bugsnag] Loaded!
2019-08-05T16:37:29.032Z app:error error during auto update: Error: Can not find Squirrel
at AutoUpdater.emitError (C:\tmp\Inkdrop-4.3.0-Windows-patch-2\resources\electron.asar\browser\api\auto-updater\auto-updater-win.js:70:24)
at AutoUpdater.checkForUpdates (C:\tmp\Inkdrop-4.3.0-Windows-patch-2\resources\electron.asar\browser\api\auto-updater\auto-updater-win.js:41:19)
at e (C:\tmp\Inkdrop-4.3.0-Windows-patch-2\resources\app.asar\main.js:1:181467)
at C:\tmp\Inkdrop-4.3.0-Windows-patch-2\resources\app.asar\main.js:1:181552
at t.default (C:\tmp\Inkdrop-4.3.0-Windows-patch-2\resources\app.asar\main.js:1:181579)
at t.default.start (C:\tmp\Inkdrop-4.3.0-Windows-patch-2\resources\app.asar\main.js:1:61273)
at App.i.app.requestSingleInstanceLock.i.app.on (C:\tmp\Inkdrop-4.3.0-Windows-patch-2\resources\app.asar\main.js:1:56370)
at App.emit (events.js:187:15)
at App.EventEmitter.emit (domain.js:442:20)
at App.topLevelDomainCallback (domain.js:121:23)


(Takuya Matsuyama) #18

That’s correct because the patched version is not installed via Squirrel which is the autoupdate module.
I’ll roll 4.3.1 out after a while, so please install it again.
Thanks for checking it out!


(Takuya Matsuyama) #19

I will roll out 4.3.1 once I confirmed this patch works:

Could anyone try it? Thanks so much for your cooperation!
Let me sleep for a while now…


(Hans Kristian) #20

I had the same problem with version 4.3.0 on MacOS, and can confirm that your fix in verison 4.3.1 works for me.