Iāve been eager to try out Inkdrop, but I have an issue starting it. My platform is not exactly supported by you, but Iām trying to get it to work somehow.
Iāve downloade the zip-version, unzipped it, installed the dependencies but Iām getting this error when starting:
./inkdrop
node[20600]: pthread_create: Invalid argument
app:error Failed to start session: Error: Unknown or unsupported transport ādisabledā for address ādisabled:ā +0ms
(node:20600) UnhandledPromiseRejectionWarning: Error: Unknown or unsupported transport ādisabledā for address ādisabled:ā
(node:20600) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:20600) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Rollbar:error Received error: Over free plan monthly limit. Project id 57343 access token b1af6b4a263447d8963dfe2650804b29. +0ms
It doesnāt do anything after that.
Iāve been searching for an solution in this forum and thought it was a Void Linux specific issue.
I have checked the deb-package dependencies and installed them, I thought it might be an issue with gnome-keyring or gconf but Iāve checked the dependencies and even reinstalled them.
This pthread_create warning/error might be the cause, but I canāt really/donāt know how to debug that.
I have other Electron-based applications installed, but theyāre running flawlessly.
Info
Platform: Void Linux w/ i3wm
Platform version: Rolling release
App Version: 3.25.3 (but cat version says v3.0.14)
Reproduce
Just unzip and start Inkdrop from a Void Linux machine.
Yeah, I guess itās a keyring problem. 3.0.14 is the Electronās version.
Inkdrop uses node-keytar to store credentials, which is also used by Atom Editor.
And I found the related issue:
Iāve looked into node-keytar and the related issue youāve sent. I have written a quick and dirty test for checking whether it is working correctly or not.
I can use node-keytar without any issues. ::setPassword, ::getPassword, and ::deletePassword works flawlessly.
I think the issue might be the node-keytar version. Which version is Inkdrop using?
Thanks for checking that.
node-keytar is 4.2.0, and it seems like the issue has been resolved in the latest version.
So I built the app with the latest keytar here:
Iāve tried to run your node-keytar patched version, but I had no success with it. It had exactly the same output as the log in my initial post.
After that I tried using node-keytar 4.2.0 as dependency version for my keytar-test-script and it wouldnāt build. I was missing libsecret-devel (libsecret only wasnāt enough). After installing it, node-keytar test was working and I was hoping that Inkdrop would work aswell.
Well, it didnāt.
I tried installing -devel packages for some keyring dependencies (gconf, libgnome-keyring, ā¦) hoping that this would fix the issue.
Unfortunately it didnāt.
Being suspicious, that the following line
would block the Electron rendering thread, I quickly bootstrapped an Electron 3 app.
My testapp logged the pthread_create-line aswell. It wasnāt blocking the rendering thread and the app ran fine.