fetchergood first issue
Repository metrics
- Stars
- (0 stars)
- PR merge metrics
- (PR metrics pending)
Description
From jabref created by Turgon-Aran-Gondolin: JabRef/jabref#9674
JabRef version
5.9 (latest release)
Operating system
Windows
Details on version and operating system
Windows 10 22H2
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
- Turn on web search panel, select INSPIRE for example
- search a doi, i.e.
10.1007/JHEP02(2023)082without using quotes - the search failed with an unhandled exception.
- The exception goes away if surround the doi with quotes
Appendix
I think the problem is that the search box is unable to handle the slash "/". Either escaping "/" or adding quotes would solve it. But a more general solution is preferred. ...
org.jabref.logic.importer.FetcherException: An error occurred when parsing the query
at org.jabref@5.10.236/org.jabref.logic.importer.SearchBasedFetcher.performSearch(Unknown Source)
at org.jabref@5.10.236/org.jabref.gui.importer.fetcher.WebSearchPaneViewModel.lambda$search$3(Unknown Source)
at org.jabref@5.10.236/org.jabref.gui.util.BackgroundTask$1.call(Unknown Source)
at org.jabref@5.10.236/org.jabref.gui.util.DefaultTaskExecutor$1.call(Unknown Source)
at org.jabref.merged.module@5.10.236/javafx.concurrent.Task$TaskCallable.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)