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

arXiv fetcher cannot deal with the "arXiv:" prefix. #2427

Closed
vsht opened this issue Dec 22, 2016 · 5 comments
Closed

arXiv fetcher cannot deal with the "arXiv:" prefix. #2427

vsht opened this issue Dec 22, 2016 · 5 comments

Comments

@vsht
Copy link

vsht commented Dec 22, 2016

JabRef version JabRef 3.8.1-dev--snapshot--2016-12-22--master--6f40cf8
linux 4.8.11-100.fc23.x86_64 amd64
Java 1.8.0_51 on Fedora 23

Steps to reproduce:

  1. Try to fetch infos about an arXiv preprint without removing the "arXiv:" prefix, e.g. "arXiv:0710.0994"
  2. A dialog appears for a second, after which nothing happens. The status line still shows "Status: Processing 0710.0994" though.
  3. If one removes the prefix, i.e. enters just "0710.0994", then everything works as expected.

In the terminal I don't see any new log messages when this happens.

@koppor koppor closed this as completed in ce36b8e Dec 24, 2016
koppor added a commit that referenced this issue Dec 24, 2016
Fix #2427: Arxiv fetcher works with prefix
@tobiasdiez
Copy link
Member

This should be fixed in the latest version 3.8.1.

@vsht
Copy link
Author

vsht commented Dec 25, 2016

I have seen the fix being committed, but somehow the problem still persists on my system also with the version 3.8.1 (with the same symptoms). Is there a way to activate some sort of debugging output, to see what happens there?

By the way, I run JabRef with Oracle Java

#/media/Data/OracleJava/bin/java -version

java version "1.8.0_51"
Java(TM) SE Runtime Environment (build 1.8.0_51-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.51-b03, mixed mode)

since the it doesn't work with OpenJDK shipped with my distro

openjdk version "1.8.0_111"
OpenJDK Runtime Environment (build 1.8.0_111-b16)
OpenJDK 64-Bit Server VM (build 25.111-b16, mixed mode)

Could this be an issue?

@Siedlerchr
Copy link
Member

Siedlerchr commented Dec 25, 2016 via email

@tobiasdiez
Copy link
Member

tobiasdiez commented Dec 28, 2016

If you put "arXiv:0710.0994" into the "Web Search" field in the side pane, then no entry is found. This is (kind of) expected behavior since JabRef only queries the ArXiv database with exactly the given search query and this database doesn't contain an entry with "arXiv:0710.0994" in the title or abstract. Thus nothing is found. I also wouldn't change this behavior as you run into other problems if the "arXiv" string is filtered (for example, looking for articles about the arXiv is no longer possible).

The preferred way to import entries from IDs is via the "BibTeX -> New entry" menu. In the lower half of the dialog you can choose the type of ID (in your case ArXiv [not present right now] or Astrophysics Data System) and insert the id there. Using "arXiv:0710.0994" works as expected there.

@vsht
Copy link
Author

vsht commented Dec 28, 2016

If you put "arXiv:0710.0994" into the "Web Search" field in the side pane, then no entry is found. This is (kind of) expected behavior since JabRef only queries the ArXiv database with exactly the given search query and this database doesn't contain an entry with "arXiv:0710.0994" in the title or abstract. Thus nothing is found. I also wouldn't change this behavior as you run into other problems if the "arXiv" string is filtered (for example, looking for articles about the arXiv is no longer possible).

Ok, whatever. Until recently I was using JabRef 2.8 with LocalCopy plugin, where "arXiv:XXXX" always worked. This why I was surprised by the current behavior. If you say that it is expected, fine.

The preferred way to import entries from IDs is via the "BibTeX -> New entry" menu. In the lower half of the dialog you can choose the type of ID (in your case ArXiv [not present right now] or Astrophysics Data System) and insert the id there. Using "arXiv:0710.0994" works as expected there.

I see. In high energy physics 99,99% of all publications are available on the arXiv, this why I'm usually using the fetcher via "Web search" directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants