Skip to content

Browser extension doesn't work with local app install on MacOS #9474

@allydunham

Description

@allydunham

JabRef version

5.8 (latest release)

Operating system

macOS

Details on version and operating system

OSX 12.6

Checked with the latest development build

  • I made a backup of my libraries before testing the latest development version.
  • I have tested the latest development version and the problem persists

Steps to reproduce the behaviour

Importing references through the browser extension fails when JabRef is installed to ~/Applications on MacOS. This initally seems like it occurs because org.jabref.jabref.json points to the wrong path but the issue continues after this is fixed because the hardcoded path in jabrefHost.py points to the system Applications directory.

Steps to reproduce:

  1. Install JabRef to ~/Applications
  2. Install browser extension (tested on firefox)
  3. Try to import a reference

I manually fix this each install by hardcoding the application path in jabrefHost.py to point to ~/Applications/JabRef.app/Contents/MacOS/JabRef. Similarly the correct path must be set in the JSON when installing the browser extension itself.

I noticed the comment above the path in jabrefHost.py (which doesn't work correctly on Mac) so possibly it's hard to automatically detect the location. Similarly, the JSON is necessarily hardcoded I imagine. If so, it would at least be useful to say for how to correct the problem in the browser extension install instructions.

Appendix

...

Details

Only a generic error is produced:

Screenshot 2022-12-19 at 10 55 34

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions