-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Jabref 5.3 import xmp annotated pdf Unhandled exception occurred #8310
Comments
This thread sheds some light on the way how Jabref imports metadata currently: https://discourse.jabref.org/t/extract-information-from-pdf-import/2899 "If you want to force an XMP import, you can go to file → import → either to current or new library and select XMP-annotated PDF (last in the drop-down list) in the bottom right corner." - @btut If that way does not work in the 5.3 version, you might wanna check out the development version at https://builds.jabref.org/main/ |
Thanks for the early reply, I had done what you said I forgot to mention it in the report, I did select the proper filter (Annotated PDF) in the dialog. I also tried the development version which is at v 5.4, your bug report system had suggested that, it is the same result. |
@radiospatial Can you share the PDF file somehow? If not public then you can send it to developers@jabref.org |
Ok I will do that right away.
…On Wed, 8 Dec 2021 at 12:24, Christoph ***@***.***> wrote:
@radiospatial <https://github.com/radiospatial> Can you share the PDF
file somehow? If not public then you can send it to ***@***.***
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#8310 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQNNVO4PKBTIJ4PWU5F2TF3UP6IDBANCNFSM5JUBUQPA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Will send you a Pcloud link to download at the email address you provided.
…On Wed, Dec 8, 2021, 12:40 Duval Pearson ***@***.***> wrote:
Ok I will do that right away.
On Wed, 8 Dec 2021 at 12:24, Christoph ***@***.***> wrote:
> @radiospatial <https://github.com/radiospatial> Can you share the PDF
> file somehow? If not public then you can send it to ***@***.***
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#8310 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AQNNVO4PKBTIJ4PWU5F2TF3UP6IDBANCNFSM5JUBUQPA>
> .
> Triage notifications on the go with GitHub Mobile for iOS
> <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
> or Android
> <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
>
>
|
Thanks for the files, I already found some bugs in the code and I am currently working on a fix. |
Great, thanks for letting me know!
…On Wed, Dec 8, 2021, 13:34 Christoph ***@***.***> wrote:
Thanks for the files, I already found some bugs in the code and I am
currently working on a fix.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#8310 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQNNVO3I2K5FF44LU6PBEMDUP6QNDANCNFSM5JUBUQPA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
JabRef version
5.3 (latest release)
Operating system
GNU / Linux
Details on version and operating system
Ubuntu 20.04
Checked with the latest development build
Steps to reproduce the behaviour
Whenever I dropped a large (35MB) PDF with XMP data onto the library window the file is imported and linked without any metadata, only the file name is shown as the title. I am sure the file has Metadata, It was written by an earlier version of Jabref. I verified this by using exiftool which shows the bibtex information in the file.
When I use the file import into current library and select the large file in question, I got an error message, saying Jabref could not find a suitable import filter; See Appendix for details.
For smaller files of 1 MB and below I got more information when dropped but still not the file metadata, the small files also do not create the exception whenever I use the file import dialog, the information gathered by this method is the same as when dropped. the information seems to be from the heuristic search carried out on the first page of the document.
In the past with Jabref 2.8 on Linux I have always been able to drop multiple files on the library window and watch Jabref Import all xmp data accurately. The ability to handle XMP data like this, both reading and Writing, was one of the endearing features of Jabref that kept me tied to It, nothing else came close.
Appendix
org.jabref.logic.importer.ImportException: Could not find a suitable import format.
at org.jabref@5.3.60000/org.jabref.logic.importer.ImportFormatReader.importUnknownFormat(Unknown Source)
at org.jabref@5.3.60000/org.jabref.logic.importer.ImportFormatReader.importUnknownFormat(Unknown Source)
at org.jabref@5.3.60000/org.jabref.gui.importer.ImportAction.doImport(Unknown Source)
at org.jabref@5.3.60000/org.jabref.gui.importer.ImportAction.lambda$automatedImport$1(Unknown Source)
at org.jabref@5.3.60000/org.jabref.gui.util.BackgroundTask$1.call(Unknown Source)
at org.jabref@5.3.60000/org.jabref.gui.util.DefaultTaskExecutor$1.call(Unknown Source)
at org.jabref.merged.module@5.3.60000/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)
The text was updated successfully, but these errors were encountered: