Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error connecting to JabRef: Native host has exited #604

Open
Kominii opened this issue Nov 7, 2023 · 7 comments
Open

Error connecting to JabRef: Native host has exited #604

Kominii opened this issue Nov 7, 2023 · 7 comments

Comments

@Kominii
Copy link

Kominii commented Nov 7, 2023

I am using Chrome and MacOS. But I have a problem with an error message like this:

=
Screenshot 2023-11-07 at 02 21 20

Could you help me to solve this error pls?

@mj-ramirez
Copy link

Just got this error. Vaguely remember similar issue years ago. Now on MacOS M2 Firefox 121.01. Since Update Jabref 5.12. Backroll to 5.11 does not solve. ?OS/Browser/Jabref/Python chnages ?

@mj-ramirez
Copy link

stderr output from native app org.jabref.jabref: ERROR:root:Could not determine JABREF_PATH
stderr output from native app org.jabref.jabref: Traceback (most recent call last):
stderr output from native app org.jabref.jabref: File "/Applications/JabRef.app/Contents/Resources/jabrefHost.py", line 26, in
stderr output from native app org.jabref.jabref: send_message({"message": "error", "output": "Could not find JabRef. Please check that it is installed correctly."})
stderr output from native app org.jabref.jabref: NameError: name 'send_message' is not defined

@goshng
Copy link

goshng commented Jan 12, 2024

I have the same error. Any luck?

@mj-ramirez
Copy link

Copy the >org.jabref.jabref.json< file to
/Library/Application Support/Mozilla/NativeMessagingHosts/org.jabref.jabref.json. Solved the error.
However, Macos Gatekeeper would not let the application run (recent upgrade Sonoma 14.2.1).
Disabling the Gatekeeper with <sudo spctl --global-disable> and the plugin runs.

So, probably an issue for the brilliant developer to solve with Apple.

@mj-ramirez
Copy link

Interestingly, now that it is up and running again, switching the Gatekeeper back on does not interfere any longer. All working nicely.

@tobiasdiez
Copy link
Member

We had issues with the macos certificates. Maybe that's the reason why the gatekeeper blocker the execution.

Otherwise, please follow https://docs.jabref.org/collect/jabref-browser-extension#manual-installation

@homocomputeris
Copy link

Otherwise, please follow https://docs.jabref.org/collect/jabref-browser-extension#manual-installation

This part of the manual does not work:

Check that the Python script works. In Terminal run /Applications/JabRef.app/Contents/Resources/jabrefHost.py. If there are no errors the script is working properly. Stop the script by pressing Ctrl + D.

% /Applications/JabRef.app/Contents/Resources/jabrefHost.py
zsh: no such file or directory: /Applications/JabRef.app/Contents/Resources/jabrefHost.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants