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

Web search in Medline/PubMed produces empty result #5335

Closed
sauliusg opened this issue Sep 20, 2019 · 7 comments
Closed

Web search in Medline/PubMed produces empty result #5335

sauliusg opened this issue Sep 20, 2019 · 7 comments
Labels
fetcher status: waiting-for-feedback The submitter or other users need to provide more information about the issue type: enhancement

Comments

@sauliusg
Copy link
Contributor

sauliusg commented Sep 20, 2019

JabRef version 5.0-dev (commit db96f88 master) on Ubuntu-16.04 x86_64

[x ] I have tested the latest development version from * master db96f88 Fix problem with search and switching between libraries (#5326) from https://github.com/JabRef/jabref.git and the problem persists

When searching Medline/PubMed using the Web search feature, a dialogue opens but stays empty, apparently indefinitely. No progress indicator or status feedback is provided:

Screenshot from 2019-09-20 15-20-07

Searches in other libraries (ArXiv, ACM portal, Google Scholar) work as expected.

Steps to reproduce the behavior:

  1. Start JabRef: build/image/bin/JabRefMain &
  2. Create a new library
  3. Search for "nuclease" in Medline/PubMed. An empty dialogue appears and stays indefinitely long.

The PubMed web site (https://www.ncbi.nlm.nih.gov/pubmed/?term=nuclease) is operational during the search and produces 22077 hits. Searches with fewer hits (~50) also fail on JabRef.

The STDERR log does not contain any hints; a lot of "ERROR ThemeLoader Could not watch css file for changes jrt:/org.jabref/org/jabref/gui/Base.css / java.lang.UnsupportedOperationException" are produced, however (but they are always produced in this revision of JabRef...)

Update: creating a new entry using the "Select entry type dialogue", selecting Medline/Pubmed ID type and pasting PMID into the ID field does not work as well. The same dialogue works for DOIs, however. Thus, it could be a related issue...

@Siedlerchr
Copy link
Member

Siedlerchr commented Sep 20, 2019

It takes a moment to load the data, but it works fine otherwise.
Could not reproduce it.

grafik

@Siedlerchr Siedlerchr added the status: waiting-for-feedback The submitter or other users need to provide more information about the issue label Sep 20, 2019
@tobiasdiez
Copy link
Member

We should definitely add a progress indicator.

@Siedlerchr
Copy link
Member

One of the key performance issues is that for each entry the Duplicate check is executed, although it's already in a background thread it still takes a lot time.

@AEgit
Copy link

AEgit commented Sep 21, 2019

JabRef 5.0-dev
Linux 5.0.0-29-generic amd64
Java 11.0.4

Can confirm the issue for the current dev snap version. Note, however, that Google Scholar also does not appear to work reliably.

@sauliusg
Copy link
Contributor Author

sauliusg commented Sep 22, 2019

Update:
the reproducibility of this issue seems to be dependent on how the KabRef was started (checked both commits db96f88 and 2bd0995, after ./gradlew -x test build; ./gradlew -x test jlink):

  • if JabRef is started using ./gradlew run, then the list of PubMed entries appears in 12 sec and is the same as @Siedlerchr reports;

  • if JabRef is started using build/image/bin/JabRefMain &, the search window stays empty after 1 min., and probably indefinitely.

This test was performed on a slightly different computer, and using my home Internet connection (optics in the flat, then WiFi 5GHz, 100 Mbps) instead of the university's; the software:

JabRef 5.0-dev
LinuxMint-18.1
Linux 4.4.0-53-generic x86_64
openjdk 11.0.4 2019-07-16

I guess this should not influence the result.

In both cases the start sequence was the same:

  • start JabRef without a library;

  • click the 'new library' icon;

  • the PubMed search interface and the group interface were activated automatically (saved from the previous launches, or by deleting preferences and selecting "PubMed");

  • type "nuclease" into the search field and click "Search".

@bernhard-kleine
Copy link

As of today, I could not repeat the error. The search was done in under 10 seconds.
JabRef 5.0-beta.409--2020-02-09--6a9c915
Windows 10 10.0 amd64
Java 13.0.2

@Enrico68
Copy link

Enrico68 commented May 3, 2020

As of today, I can reproduce the error. Just upgrade to 5.0 from the dev version (which worked like a charm, and the search button was showing the entries. Now I have to wait indefinitely without success. I will return to 5.0.dev
OSX 10.14.6

koppor pushed a commit that referenced this issue Mar 29, 2021
e1acabe Upload Styles (#5351)
d9cbf08 Update and rename journal-of-eta-maritime-science.csl to dependent/journal-of-eta-maritime-science.csl (#5353)
988ecca Update clinical-and-translational-immunology.csl (#5348)
1691078 Update molecular-plant-pathology.csl (#5349)
932a5bf Create neurospine.csl (#5334)
d663ffc Update sylwan.csl (#5341)
b7be05d Update pakistan-journal-of-agricultural-sciences.csl (#5343)
d742832 Please rename to Tijdschrift-voor-geneeskunde-en-gezondheidszorg (#5344)
6c6be4d Update et-al settings for journal-of-the-american-society-of-nephrology.csl (#5333)
0263204 Correct citation format of numeric AOSIS styles (#5335)
e4cd348 Create the-horticulture-journal.csl (#5327)
5804a6f Add AOSIS dependents (#5332)
2b4510b Create natura-croatia.csl (#5328)
03c6789 Create groundwater.csl (#5329)
e08fa09 Create hystrix-the-italian-journal-of-mammalogy.csl (#5330)
1d730aa update page-range-format for Anglia (#5331)
9bb8724 Sort American Physiological Society citation style according to updated author instructions (#5305)
a8b53ca Create african-online-scientific-information-systems-vancouver.csl (#5326)
c7d8f90 Update yozgat-bozok-universitesi-fen-bilimleri-enstitusu.csl (#5319)
87dc0eb Update and rename tijdschrift-voor-geneeskunde.csl to tijdschrift-voo… (#5325)
89e07b0 Create university-of-gothenburg-apa7-swedish-legislations (#5316)
4582cb6 Create chinese-law-journals.csl (#5314)
6412083 Create stellenbosch-law-review.csl (#5322)

git-subtree-dir: buildres/csl/csl-styles
git-subtree-split: e1acabe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fetcher status: waiting-for-feedback The submitter or other users need to provide more information about the issue type: enhancement
Projects
None yet
Development

No branches or pull requests

6 participants