<div>Hi,</div> <div>i forgot to mention that the encryption in the specific pdf document i was trying to import wasn't turned on....</div> <div>The fact that pdf documents don't have adequate metadata means that it is impossible to import them via the package ingester?</div> <div>Thanks, Anna<BR><BR><B><I>Larry Stone <lcs@mit.edu></I></B> έγραψε:</div> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">The message with the exception was supposed to be pretty self-explanatory:<BR>"This packager cannot accept an encrypted PDF document" -- if the PDF is<BR>set so it cannot be printed or edited, that is done by encrypting it.<BR>The PDFbox tools which extract metadata from the PDF "package" may not work,<BR>so it is rejected. Turn off the encryption in the PDF if you can..<BR><BR>Note that the PDF "packager" is really just an example and was written<BR>to demonstrate the concept of package ingesters. It
wasn't really intended<BR>to be used in production, since PDF files don't have adequate metadata anyway.<BR><BR>-- Larry<BR><BR><BR>> i'm trying to import items into dspace using the pluggable package importer.<BR>> So, I typed the following lines to the command line:<BR>> C:\DSpace\bin\dsrun org.dspace.app.packager.Packager<BR>> -e annamavroudi@yahoo.gr -c 123456789/2<BR>> -t PDF C:\import_package_test1\ebd9_10.pdf<BR>><BR>> where C:\import_package_test1\ebd9_10.pdf is the item's path.<BR>><BR>> But i got the following error:<BR>> Using Dspace installation in C:\Dspace<BR>> Destination Collections:<BR>> Owning Collection:<BR>> org.dspace.content.crosswalk.MetadataValidationException: This packager cannot accept an encrypted PDF document<BR>> at org.dspace.content.packager.PDFPackager.crosswalkPDF<PDFPackager.java:282><BR>> at org.dspace.content.packager.PDFPackager.ingest<PDFPackager.java:185><BR>> at
org.dspace.content.packager.PDFPackager.main<PDFPackager.java:274><BR>> org.dspace.content.crosswalk.MetadataValidationException: This packager cannot accept an encrypted PDF document<BR>><BR>> why do i get this error?<BR>> thanks in advance,<BR>> anna<BR>><BR>><BR>> ---------------------------------<BR>> Yahoo!<BR>> (spam); Yahoo! Mail<BR>> http://login.yahoo.com/config/mail?.intl=gr<BR>> --0-1772219453-1194091970=:48884<BR>> Content-Type: text/html; charset=iso-8859-7<BR>> Content-Transfer-Encoding: 8bit<BR>><BR>> <DIV>Hi all, </DIV> <DIV>i'm trying to import items into dspace using the pluggable package importer.</DIV> <DIV>So, I typed the following lines to the command line:</DIV> <DIV><SPAN lang=EN-GB style="mso-ansi-language: EN-GB"><FONT face="Times New Roman" size=3>C:\DSpace\bin\dsrun org.dspace.app.packager.Packager </FONT></SPAN></DIV> <DIV><SPAN lang=EN-GB style="mso-ansi-language: EN-GB"><FONT face="Times
New Roman" size=3>-e </FONT><A href="mailto:annamavroudi@yahoo.gr"><FONT face="Times New Roman" size=3>annamavroudi@yahoo.gr</FONT></A><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes"> </SPAN>-c 123456789/2 </FONT></FONT></SPAN></DIV> <DIV><SPAN lang=EN-GB style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New Roman">-t PDF C:\import_package_test1\ebd9_10.pdf<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></SPAN></DIV> <DIV> </DIV> <DIV>where <SPAN lang="EN-GB<br">> 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.</SPAN></DIV> <DIV><SPAN lang=EN-GB 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"></SPAN> </DIV> <DIV><SPAN lang=EN-GB 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">But i got the following error:</SPAN></DIV> <DIV><SPAN lang=EN-GB 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">Using<BR>> Dspace installation in C:\Dspace</SPAN></DIV> <DIV><SPAN lang=EN-GB 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">Destination Collections:</SPAN></DIV> <DIV><SPAN lang=EN-GB 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">Owning Collection: </SPAN></DIV> <DIV><SPAN lang=EN-GB 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">org.dspace.content.crosswalk.MetadataValidationException: This packager cannot accept an encrypted PDF document</SPAN></DIV> <DIV><SPAN lang=EN-GB style="FONT-SIZE: 12pt; COLOR: black; FONT-FAMILY: <br>> '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></SPAN></DIV> <DIV><SPAN lang=EN-GB 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">at org.dspace.content.packager.PDFPackager.ingest<PDFPackager.java:185></SPAN></DIV> <DIV><SPAN lang=EN-GB 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">at org.dspace.content.packager.PDFPackager.main<PDFPackager.java:274></SPAN></DIV><SPAN lang=EN-GB style="FONT-SIZE: 12pt; COLOR: black; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: EL; mso-bidi-language: AR-SA; br: EN-GB"> <DIV><SPAN lang=EN-GB 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">org.dspace.content.crosswalk.MetadataValidationException: This packager cannot accept
an encrypted PDF document</SPAN></DIV></SPAN> <DIV><SPAN lang=EN-GB 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"></SPAN> </DIV> <DIV><SPAN lang=EN-GB 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">why do i get this error?</SPAN></DIV> <DIV><SPAN lang="EN-GB<br">> 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,</SPAN></DIV> <DIV><SPAN lang=EN-GB 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">anna</SPAN></DIV> <div><BR>> <HR SIZE=1> <FONT face=Arial size=-1><BR>> Yahoo!<BR><BR>> (spam); Yahoo! Mail <BR><BR>> <A href="http://login.yahoo.com/config/mail?.intl=gr">http://login.yahoo.com/config/mail?.intl=gr</A> </FONT><BR>> --0-1772219453-1194091970=:48884--<BR>><BR>> --===============1373228826==<BR>> Content-Type: text/plain; charset="us-ascii"<BR>> MIME-Version: 1.0<BR>> Content-Transfer-Encoding: 7bit<BR>> Content-Disposition: inline<BR>><BR>> _______________________________________________<BR>> Dspace-general mailing list<BR>> Dspace-general@mit.edu<BR>> http://mailman.mit.edu/mailman/listinfo/dspace-general<BR>><BR>> --===============1373228826==--<BR><BR></BLOCKQUOTE><BR></PDFPackager.java:274></PDFPackager.java:185></PDFPackager.java:282><p> 
                <hr size=1><font size=-1 face=Arial>
Χρησιμοποιείτε Yahoo!<br>
Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων <br>
<a href="http://login.yahoo.com/config/mail?.intl=gr">http://login.yahoo.com/config/mail?.intl=gr</a> </font>