<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&nbsp;that pdf documents &nbsp;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 &lt;lcs@mit.edu&gt;</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>&gt; i'm trying to import items into dspace using the pluggable package importer.<BR>&gt; So, I typed the following lines to the command line:<BR>&gt; C:\DSpace\bin\dsrun org.dspace.app.packager.Packager<BR>&gt; -e annamavroudi@yahoo.gr -c 123456789/2<BR>&gt; -t PDF C:\import_package_test1\ebd9_10.pdf<BR>&gt;<BR>&gt; where C:\import_package_test1\ebd9_10.pdf is the item's path.<BR>&gt;<BR>&gt; But i got the following error:<BR>&gt; Using Dspace installation in C:\Dspace<BR>&gt; Destination Collections:<BR>&gt; Owning Collection:<BR>&gt; org.dspace.content.crosswalk.MetadataValidationException: This packager cannot accept an encrypted PDF document<BR>&gt; at org.dspace.content.packager.PDFPackager.crosswalkPDF<PDFPackager.java:282><BR>&gt; at org.dspace.content.packager.PDFPackager.ingest<PDFPackager.java:185><BR>&gt; at
 org.dspace.content.packager.PDFPackager.main<PDFPackager.java:274><BR>&gt; org.dspace.content.crosswalk.MetadataValidationException: This packager cannot accept an encrypted PDF document<BR>&gt;<BR>&gt; why do i get this error?<BR>&gt; thanks in advance,<BR>&gt; anna<BR>&gt;<BR>&gt;<BR>&gt; ---------------------------------<BR>&gt; Yahoo!<BR>&gt; (spam); Yahoo! Mail<BR>&gt; http://login.yahoo.com/config/mail?.intl=gr<BR>&gt; --0-1772219453-1194091970=:48884<BR>&gt; Content-Type: text/html; charset=iso-8859-7<BR>&gt; Content-Transfer-Encoding: 8bit<BR>&gt;<BR>&gt;   <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">&nbsp; </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>&nbsp;</DIV>  <DIV>where <SPAN lang="EN-GB<br">&gt; 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"&gt;C:\import_package_test1\ebd9_10.pdf&nbsp;&nbsp; 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>&nbsp;</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>&gt; 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">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;at org.dspace.content.packager.PDFPackager.crosswalkPDF&lt;PDFPackager.java:282&gt;</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&lt;PDFPackager.java:185&gt;</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&lt;PDFPackager.java:274&gt;</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>&nbsp;</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">&gt; 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"&gt;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>&gt;   <HR SIZE=1>  <FONT face=Arial size=-1><BR>&gt; Yahoo!<BR><BR>&gt; (spam); Yahoo! Mail <BR><BR>&gt; <A href="http://login.yahoo.com/config/mail?.intl=gr">http://login.yahoo.com/config/mail?.intl=gr</A> </FONT><BR>&gt; --0-1772219453-1194091970=:48884--<BR>&gt;<BR>&gt; --===============1373228826==<BR>&gt; Content-Type: text/plain; charset="us-ascii"<BR>&gt; MIME-Version: 1.0<BR>&gt; Content-Transfer-Encoding: 7bit<BR>&gt; Content-Disposition: inline<BR>&gt;<BR>&gt; _______________________________________________<BR>&gt; Dspace-general mailing list<BR>&gt; Dspace-general@mit.edu<BR>&gt; http://mailman.mit.edu/mailman/listinfo/dspace-general<BR>&gt;<BR>&gt; --===============1373228826==--<BR><BR></BLOCKQUOTE><BR></PDFPackager.java:274></PDFPackager.java:185></PDFPackager.java:282><p>&#32;
                <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>