-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
OS X, Edge: Error while sending to JabRef. Please see the browsers error console for details. #390
Comments
Then please create them and otherwise follow the documentation. @LyzardKing can we install the manifest automatically as for the other browsers?
Looks like you still use an old version of Python. Could you please make sure that Python 3 is used by default, then it should work. @LyzardKing should we change the shebang to use |
Thanks for all the help - I followed the instructions and placed org.jabref.jabref.json in the folder ~/Library/Application Support/Microsoft Edge Beta/NativeMessagingHosts/. I tried again, the same error message pops up - "Error while sending to JabRef. I also looked at the script /Applications/JabRef.app/Contents/Resources/jabrefHost.py and the shebang line already points to python3 location where python3 is indeed available, |
I believe it is already be set to python3. |
Ah, I should have looked it up. With the correct shebang, python3 should automatically be used by chrome to open the file. However, my command above explicitly referenced the standard python and hence overwrites the shebang.
I like this idea. One could automatically detect which browsers are installed, and then offer to install the necessary files and/or check if everything is configured correctly. However, does JabRef has normally the necessary rights to write files in the correct locations? |
I'm not sure about the macos specific permissions, but if we install in the user home folder (so not system wide) it should work. Something like: |
Good points, I've opened JabRef/jabref#8400 to track this. |
Hi,
I am trying to use the JabRef Extension for Edge Beta browser on OS X, and I keep getting the following error across multiple sites (Google Scholar, PubMed, etc.).
Error while sending to JabRef.
Please see the browsers error console for details.
I opened the Developer Console and I have the following message:
Edge browser version: Version 97.0.1072.41 (Official build) Beta (x86_64)
OS version: Mac OS Monterey, 12.0.1
Jabref version:
JabRef 5.4--2021-12-20--ab44182
Mac OS X 10.16 x86_64
Java 16.0.2
JavaFX 17.0.1+1
I tried following the instructions from here, https://docs.jabref.org/collect/jabref-browser-extension, but I do not have the folders /Library/Microsoft/Edge/NativeMessagingHosts/, ~/Library/Application Support/Microsoft Edge {Beta}/NativeMessagingHosts/.
When I type the python command, I get the following error.
python /Applications/JabRef.app/Contents/Resources/jabrefHost.py
Traceback (most recent call last):
File "/Applications/JabRef.app/Contents/Resources/jabrefHost.py", line 11, in
from pathlib import Path
ImportError: No module named pathlib
The text was updated successfully, but these errors were encountered: