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

Automatically set file links not working #3629

Closed
PierreMarchand20 opened this issue Jan 11, 2018 · 10 comments
Closed

Automatically set file links not working #3629

PierreMarchand20 opened this issue Jan 11, 2018 · 10 comments

Comments

@PierreMarchand20
Copy link

I am on macOS with JabRef 4.1 and automatically setting file links is not working anymore. I noticed it since I have done the last update. There is nothing appearing in the event log when I click on the button "Automatically set file links for this entry".

@lenhard
Copy link
Member

lenhard commented Jan 11, 2018

Probably related #3626

@felker
Copy link

felker commented Feb 15, 2018

The functionality seems to work well on macOS High Sierra with JabRef 3.8.2 and JDK build 1.8.0_162-b12.

My current workflow for managing my BibTex database involves switching from JabRef 3.8.2 to "Automatically set file links", to JabRef 4.1 or 4.2 to add new entries via DOI since #2879 was never patched in 3.8.2.

@lenhard
Copy link
Member

lenhard commented Feb 16, 2018

Just to make sure that there are no misunderstandings here: We are definitely not going to backport functionality to old releases. The effort for this is simply not justifiable given the size of the development team and the amount of work to do.

You can do it yourself, of course, after all JabRef is open source.

@felker
Copy link

felker commented Feb 16, 2018

@lenhard yes of course. I am waiting until 4.2 fixes the "Automatically set file links" and then I will just use that.

I have been getting acquainted with the JabRef codebase over the last mont since switching from Mendeley, and I am definitely planning to contribute when my Java gets up to speed!

@bruot
Copy link

bruot commented Apr 25, 2019

What is the status of this issue? It does not work for me with the latest snapshot and just keeps showing the "Searching for files" progress window:

Steps to reproduce the behavior:

  1. java -jar JabRef-5.0-dev--snapshot--2019-04-22--master--8e0ffe11d.jar --prdef all -n
  2. Set the main file directory to a folder containing a file "file.pdf".
  3. Create a DB, add an entry and set its key to "file".
  4. Select the entry and press F7.

The problem exists for all the search file options: "Autolink files with names starting with the BibTeX key", "Autolink only files that match the BibTeX key" and "Use regular expression search" (with the default regexp).

JabRef version 5.0-dev--snapshot--2019-04-22--master--8e0ffe11d on Windows 7 6.1 amd64 with Java 1.8.0_211

@stefan-kolb
Copy link
Member

Thank you for your report 👍
This should be fixed in current master. Please try the latest build from http://builds.jabref.org/master.

@PierreMarchand20
Copy link
Author

How can I run the lastest build ? I have the last version of JDK, but I get

Error: Could not find or load main class org.jabref.JabRefMain
Caused by: java.lang.NoClassDefFoundError: javafx/application/Application

@Siedlerchr
Copy link
Member

You need still Java 8 to run the build.
Java 11 support is nearly ready

@PierreMarchand20
Copy link
Author

So I have to downgrade java ? My version:

java version "12" 2019-03-19
Java(TM) SE Runtime Environment (build 12+33)
Java HotSpot(TM) 64-Bit Server VM (build 12+33, mixed mode, sharing)

@Siedlerchr
Copy link
Member

Yes. You need Java 8 or you wait until Java 11 support (see the Pull request) is merged.

@koppor koppor moved this to Done in Prioritization Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

6 participants