-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Downloads from the arXiv are marked as HTML files instead of PDF #4913
Comments
…nstead of PDF initial commit
…nstead of PDF may have found where to edit
…xed. After a file was added to a library, attempting to edit the file link in the General tab would throw an exception. It was fixed by only allowing an edit if a file was downloaded.
…xed. After a file was added to a library, attempting to edit the file link in the General tab would throw an exception. It was fixed by only allowing an edit if a file was downloaded.
possibly located source of error This method could be recognizing the ArXiv PDFs as URLs.
If we already have a filetype we use that instead of relying on the autodetection Fixes #4913
* Fix downloading pdf produces html as extension If we already have a filetype we use that instead of relying on the autodetection Fixes #4913 * add relativze if not an URL * Create Test for download pdf document heavy mocking and refactoring of ExternalFileType TODO : Cleanup * refactor and simply test fix cehckstyle fail test on exception
Thank you for reporting this issue. We think, that is already fixed in our development version and consequently the change will be included in the next release. We would like to ask you to use a development build from https://builds.jabref.org/master and report back if it works for you. Please remember to make a backup of your library before trying-out this version. |
Hi, I am still experiencing the same issue using JabRef-5.16-portable_windows from https://builds.jabref.org/master, following manual installation. could you advise on what the problem might be? |
@wenjie-yin I cannot reproduce this, can you tell me how you import the axiv entry? e..g by New entry or via search? or directly in the entry editor by clicking on download somwhere? |
it was through clicking on the firefox plug-in on an arxiv.org/abs/xxxx.xxxxx page. |
@wenjie-yin as a workaround you can directly paste the arxiv url on the main table (works with DOI as well) and the entry will be imported correctly |
* fix arxiv html download redirect Fixes #4913 * Fix catch indents * Add redirect test case * Use Optionals * Class-global Unirest config * Manual handling of redirect * Fix conditions * Simplyfiy code * Use Wiremock instead of real endpoint * Improve test names * Fix condition * fix condition * wiremock with head request as well * use path insteadd of file * try with static unirest config * max retries * fix head * no body for head --------- Co-authored-by: Subhramit Basu Bhowmick <subhramit.bb@live.in> Co-authored-by: Oliver Kopp <kopp.dev@gmail.com>
JabRef version: latest on Windows
Steps to reproduce the behavior:
1207.0408v1
(using Library > New Entry > ArXiv)html
instead ofpdf
. Renaming the file results in a readable pdf through.Log File
The text was updated successfully, but these errors were encountered: