Θέμα: Re: [Dspace-general] problem with the pluggable package importer and exporter
anna mavroudi
annamavroudi at yahoo.gr
Wed Nov 7 05:56:06 EST 2007
Hi,
i forgot to mention that the encryption in the specific pdf document i was trying to import wasn't turned on....
The fact that pdf documents don't have adequate metadata means that it is impossible to import them via the package ingester?
Thanks, Anna
Larry Stone <lcs at mit.edu> έγραψε:
The message with the exception was supposed to be pretty self-explanatory:
"This packager cannot accept an encrypted PDF document" -- if the PDF is
set so it cannot be printed or edited, that is done by encrypting it.
The PDFbox tools which extract metadata from the PDF "package" may not work,
so it is rejected. Turn off the encryption in the PDF if you can..
Note that the PDF "packager" is really just an example and was written
to demonstrate the concept of package ingesters. It wasn't really intended
to be used in production, since PDF files don't have adequate metadata anyway.
-- Larry
> i'm trying to import items into dspace using the pluggable package importer.
> So, I typed the following lines to the command line:
> C:\DSpace\bin\dsrun org.dspace.app.packager.Packager
> -e annamavroudi at yahoo.gr -c 123456789/2
> -t PDF C:\import_package_test1\ebd9_10.pdf
>
> where C:\import_package_test1\ebd9_10.pdf is the item's path.
>
> But i got the following error:
> Using Dspace installation in C:\Dspace
> Destination Collections:
> Owning Collection:
> org.dspace.content.crosswalk.MetadataValidationException: This packager cannot accept an encrypted PDF document
> at org.dspace.content.packager.PDFPackager.crosswalkPDF
> at org.dspace.content.packager.PDFPackager.ingest
> at org.dspace.content.packager.PDFPackager.main
> org.dspace.content.crosswalk.MetadataValidationException: This packager cannot accept an encrypted PDF document
>
> why do i get this error?
> thanks in advance,
> anna
>
>
> ---------------------------------
> Yahoo!
> (spam); Yahoo! Mail
> http://login.yahoo.com/config/mail?.intl=gr
> --0-1772219453-1194091970=:48884
> Content-Type: text/html; charset=iso-8859-7
> Content-Transfer-Encoding: 8bit
>
> Hi all,
i'm trying to import items into dspace using the pluggable package importer.
So, I typed the following lines to the command line:
C:\DSpace\bin\dsrun org.dspace.app.packager.Packager
-e annamavroudi at yahoo.gr -c 123456789/2
-t PDF C:\import_package_test1\ebd9_10.pdf
where > style="FONT-SIZE: 12pt; COLOR: black; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-GB; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: EL; mso-bidi-language: AR-SA">C:\import_package_test1\ebd9_10.pdf is the item's path.
But i got the following error:
Using
> Dspace installation in C:\Dspace
Destination Collections:
Owning Collection:
org.dspace.content.crosswalk.MetadataValidationException: This packager cannot accept an encrypted PDF document
> 'Times New Roman'; mso-ansi-language: EN-GB; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: EL; mso-bidi-language: AR-SA"> at org.dspace.content.packager.PDFPackager.crosswalkPDF<PDFPackager.java:282>
at org.dspace.content.packager.PDFPackager.ingest<PDFPackager.java:185>
at org.dspace.content.packager.PDFPackager.main<PDFPackager.java:274>
org.dspace.content.crosswalk.MetadataValidationException: This packager cannot accept an encrypted PDF document
why do i get this error?
> style="FONT-SIZE: 12pt; COLOR: black; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-GB; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: EL; mso-bidi-language: AR-SA">thanks in advance,
anna
>
---------------------------------
> Yahoo!
> (spam); Yahoo! Mail
> http://login.yahoo.com/config/mail?.intl=gr
> --0-1772219453-1194091970=:48884--
>
> --===============1373228826==
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
>
> _______________________________________________
> Dspace-general mailing list
> Dspace-general at mit.edu
> http://mailman.mit.edu/mailman/listinfo/dspace-general
>
> --===============1373228826==--
---------------------------------
Χρησιμοποιείτε Yahoo!
Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων
http://login.yahoo.com/config/mail?.intl=gr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/dspace-general/attachments/20071107/3cbe66ee/attachment.htm
More information about the Dspace-general
mailing list