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

Cannot find linked files #6698

Closed
jhh931 opened this issue Jul 18, 2020 · 5 comments
Closed

Cannot find linked files #6698

jhh931 opened this issue Jul 18, 2020 · 5 comments
Labels
status: waiting-for-feedback The submitter or other users need to provide more information about the issue

Comments

@jhh931
Copy link

jhh931 commented Jul 18, 2020

JabRef 5.1--2020-07-18--ee2c985
Windows 10 10.0 amd64
Java 14.0.2
The portable version.

Under the General tab, linked files are reported as 'cannot find' and attempting to open them has no effect.

In the GUI I see this:
Untitled

The Bibtex file portion is

file = {:C:/Users/hogemajh/AppData/Local/My Local Documents/JEROENX/artikelen/2020/Addanki_2020.pdf:PDF},

And the file 'c:\Users\hogemajh\AppData\Local\My Local Documents\JEROENX\artikelen\2020\Addanki_2020.pdf' exists on my PC.

It's like this for all linked files; this issue did not occur in previous releases.

@AEgit
Copy link

AEgit commented Jul 24, 2020

Just an idea - could you link a file that is found in folder whose path does not contain spaces (in your example "My Local Documents" contains spaces)? I remember, that this caused some issues in the past, but I thought it had been fixed in the meantime.

@jhh931
Copy link
Author

jhh931 commented Aug 31, 2020

The problem persists for path+file names without spaces.

Also in the now released 5.1 (portable):
JabRef 5.1--2020-08-30--e023aa0
Windows 10 10.0 amd64
Java 14.0.2

@Siedlerchr
Copy link
Member

Hm. Have you changed some fie directory settings? Normally JabRef should store the files as relative links.

@Siedlerchr Siedlerchr added the status: waiting-for-feedback The submitter or other users need to provide more information about the issue label Aug 31, 2020
@Santrace
Copy link

Santrace commented Sep 2, 2020

I had the same problem, without changing a file directory setting.

It was fixed just by adding the "main file directory" adress, in "Options" ; "Preferences" ; "File".
Now, I can open an article from this file or another.

Thank's for the help, @Siedlerchr .

@jhh931
Copy link
Author

jhh931 commented Sep 3, 2020

At some point I started using absolute file links in combination with leaving "main file directory" empty. This worked fine under 5.0, not under 5.1.

I now re-introduced a "main file directory" and did a manual serach & replace in my bib files.
With that the issue is solved on my end.

As a side note, I found out that the absolute paths still work when using this format:
file = {:c\:\\Users\\hogemajh\\AppData\\Local\\report.pdf:PDF},
instead of
file = {:C:/Users/hogemajh/AppData/report.pdf:PDF},

(appratently earlier versions of JabRef inserted the double \ wheras the current version inserts single /).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-for-feedback The submitter or other users need to provide more information about the issue
Projects
None yet
Development

No branches or pull requests

4 participants