-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
"Download linked file" option creates an html file instead of downloading the pdf on Windows 10. #10149
Comments
I think was already an earlier behaviour, if the download fails for some reason the website is stored. refs #7452 |
This happens if JabRef does not have access to the web site. Sometimes, the browser has access (e.g., by institutional login), but JabRef does not. Proposal:
Old step 2 was: Work on a JabRef-Browser-connection so that JabRef does not do the HTTP connection itself, but uses the running web browser (e.g. Chrome or Firefox) to do it. -- That seems to be too hard. |
Hi @koppor I think the issue is related to Windows 10 because in my system its 11 and I have tried the url given by @bhatiaa1 , by using web search and checked the "Download Linked Online files" and imported it. |
I checked on Linux - and I can retrieve the PDF. Nevertheless, my comment #10149 (comment) is still vallid. Maybe, one needs to have another test url. Example paper (randomly chosen from iEEE: https://ieeexplore.ieee.org/document/8089824)
Step 9 should not happen. JabRef should just issue a warning (notification). If there is no I updated my comment #10149 (comment) to point to https://github.com/JetBrains/jcef. |
* Remove download when html file Fixes #10149 * changelog * remove test * Fix behavior when file is duplicate file * Refine comments * Keep html file when downloading inside the entry editor * Add some dots --------- Co-authored-by: Oliver Kopp <kopp.dev@gmail.com>
To fix this, huge work needs to be done. I think, this will be fixed if we implement #11093.
|
JabRef version
Latest development branch build (please note build date below)
Operating system
Windows
Details on version and operating system
Windows 10 21H2
Checked with the latest development build
Steps to reproduce the behaviour
"Download Linked File" option on JabRef 5.4 works fine within the same corporate firewalled network environment and on the same Windows 10 computer.
JabRef 5.10--2023-08-07--3d197a9
Windows 10 10.0 amd64
Java 21-internal
JavaFX 20+19
(NOTE: Same issue is also observed in admin install of JabRef version as follows.
JabRef 5.10--2023-07-18--34ac6d1
Windows 10 10.0 amd64
Java 21-internal
JavaFX 20+19)
Import SSL certificate within Preferences->Network. Use the custom proxy option within Preferences->Network.
Verify internet connectivity using the button in Preferences->Network. Confirmed that it works.
Go to Jabref WebSearch, choose ArXiv for searching. Search for "https://arxiv.org/abs/2307.14043".
Select "Download linked file" option in resulting search result and import the entry into bib file.
RESULT: The entry is imported but an empty html file is created instead of downloading actual pdf from ArXiv website.
Appendix
Screenshot of erroneous file download
The text was updated successfully, but these errors were encountered: