-
-
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
Stuck on Send to JabRef with MacOS #177
Comments
I think currently there is a problem with the setup on MacOS. As a workaround, you can follow the guidelines for the manual install: https://docs.jabref.org/collect/jabref-browser-extension#mac-os using this file: @LyzardKing is this fixed with JabRef/jabref#6442 ? |
Not having a mac to test this on does not simplify things... |
From .pkg. |
Is there any file in /Library/Google/Chrome/NativeMessagingHosts? |
specifically org.jabref.jabref.json |
No there isn't. Neither in |
The installation instructions mention |
I also noticed that org.jabref.jabref.json from the instructions page links to the Linux section of the tree and mentions a |
@tobiasdiez I tried to follow your suggestion but nothing really changed. I imagine the fact that |
Can you try to create the This assumes that the JabRef executable is in I'm sorry for the inconvenience. Appearently you are the first mac user that tries the extension for Chrome ;-) |
No problem, thanks for the help :). |
So I downloaded the |
... I'm looking at it in the previously mentioned PR, it wasn't it's main point, but it's probably a question of linking the correct files in the new buildres/mac folder |
With the latest push on the PR (JabRef/jabref#6442) the correct files should be included in the macos build. |
Similar issue with Firefox on Mac updated created new folder thx for the breadcrumbs :) |
I have the same issue. JabRef 5.1, installed by DMG. Not lucky enough to make it work... |
@AriSchlesinger @FilipeMaia |
@MingLin-home |
Same problem here on MacOS 10.15.6 JabRef 5.1 installed via DMG. jabrefHost.py confirmed in JabRef.app/Contents/Resources shebang is /usr/bin/python3 /usr/bin/python3 is installed org.jabref.jabref.json is in NativeMessagingHosts In Firefox: Extension does not show up |
First time trying JabRef at all but No luck on Brave either.
But all I ever got was ERR_FILE_NOT_FOUND. |
@clecap "org.jabref.jabref.json is in NativeMessagingHosts". In what folders? Let me know if those paths work. |
@LyzardKing Why should it be placed in a Google folder for Brave? I don't even have Chrome installed. I did copy the json file onto the directory to see if it works, just to be clear, to no avail. |
Brave (and many other browsers) are chrome-based, so they often use the same folder structure as chrome.. Another path to try is: ~/Library/Application Support/Chromium/NativeMessagingHosts/ |
Confirming that
* it is in the required folders.
* the JSON mentioned paths lead to a python file.
* the python interpreter mentioned in the shebang exists.
I still get the "ERR_FILE_NOT_FOUND" error. :-(
…On 02.10.20 08:22, Galileo Sartor wrote:
@clecap <https://github.com/clecap> "org.jabref.jabref.json is in
NativeMessagingHosts". In what folders?
It should be in:
|~/Library/Google/Chrome/NativeMessagingHosts| for chrome (and brave
@coughingmouse <https://github.com/coughingmouse> )
|~/Library/Application Support/Mozilla/NativeMessagingHosts/<name>.json
| for firefox.
Let me know if those paths work.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#177 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABWBQEKCKUOUYPLLU5AXO53SIVWSZANCNFSM4NSWJIDA>.
|
Have you all made the file (see link below on creating an executable if you are unsure) |
I am fairly certain I tried this with no luck. |
@AriSchlesinger |
Yes, jabrefHost.py, which is in the JabRef.app Contents folder, is executable.
|
Does this error still occurs? I don't have a mac, so I sadly cannot test this. @LyzardKing @Siedlerchr can you reproduce the ERR_FILE_NOT_FOUND error? |
Firefox and jabref latest dev version on Mac I do not have any issues |
@Siedlerchr does it work with the system version of python3? Without installing from other sources like brew? |
Good question, I may have installed python3 form another source: |
what do you get if you run |
|
As far as I can tell that should be the version pulled from the python website... |
hm, I only found this thread here https://stackoverflow.com/questions/52969383/shebang-line-for-python-does-not-work-at-all |
So it seems this is fixed now, right? |
@tobiasdiez thank you for coming back on this. I installed JabRef and the extension from a completely new download to test it. Result: I cannot test this error as now there is a new error which does not let me test this effect any longer. I get stuck at "searching bibliographic data" and get a "cannot read property of configOptions of undefined" error in the browser console. See my new issue. Sorry for that |
I'm on MacOS 10.13.5 with JabRef 5.0 and Chrome 81.0.4044.138.
I've installed the extension from https://chrome.google.com/webstore/detail/jabref-browser-extension/bifehkofibaamoeaopjglfkddgkijdlh/
When using it, e.g. on https://www.nature.com/articles/s41598-020-65225-4 it gets stuck on
Send to JabRef...
Looking into the developer console I see:
TypeError: Cannot read property 'items' of null at chrome-extension://bifehkofibaamoeaopjglfkddgkijdlh/Zotero/translate_item.js:134
The text was updated successfully, but these errors were encountered: