<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;"><div><div><div>Also, it’s apparently not possible to create a PDF file anywhere outside of the ead2pdf directory either…</div><div><div><div><br></div><div>Hillel Arnold</div></div><div>Lead Digital Archivist</div><div>Rockefeller Archive Center</div></div></div></div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span> <Arnold>, Hillel Arnold <<a href="mailto:harnold@rockarch.org">harnold@rockarch.org</a>><br><span style="font-weight:bold">Reply-To: </span> Archivesspace Users Group <<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org">archivesspace_users_group@lyralists.lyrasis.org</a>><br><span style="font-weight:bold">Date: </span> Tuesday, August 4, 2015 at 2:41 PM<br><span style="font-weight:bold">To: </span> Archivesspace Users Group <<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org">archivesspace_users_group@lyralists.lyrasis.org</a>><br><span style="font-weight:bold">Subject: </span> Re: [Archivesspace_Users_Group] ead2pdf manual PDF creation?<br></div><div><br></div><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><div><font face="Calibri,sans-serif">Hi Chris,</font></div><div><font face="Calibri,sans-serif">I’m still having trouble running this when I’m not in the ead2pdf directory, as Steve points out below.</font></div><div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;"><div><div><br></div><div>Hillel Arnold</div></div><div>Lead Digital Archivist</div><div>Rockefeller Archive Center</div></div></div><div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;"><br></div><span id="OLK_SRC_BODY_SECTION" style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span>Chris Fitzpatrick <<a href="mailto:Chris.Fitzpatrick@lyrasis.org">Chris.Fitzpatrick@lyrasis.org</a>><br><span style="font-weight:bold">Reply-To: </span>Archivesspace Users Group <<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org">archivesspace_users_group@lyralists.lyrasis.org</a>><br><span style="font-weight:bold">Date: </span>Tuesday, August 4, 2015 at 11:59 AM<br><span style="font-weight:bold">To: </span>Archivesspace Users Group <<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org">archivesspace_users_group@lyralists.lyrasis.org</a>><br><span style="font-weight:bold">Subject: </span>Re: [Archivesspace_Users_Group] ead2pdf manual PDF creation?<br></div><div><br></div><div><style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style><div dir="ltr"><div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;"><p><br></p><p><br></p><p>Hi,</p><p><br></p><p>Yeah, I just updated the ead2pdf jar, with I think fixes this..</p><p><br></p><p>It's here:</p><p><a id="LPlnk909457" href="https://github.com/archivesspace/ead2pdf/releases/tag/0.0.5">https://github.com/archivesspace/ead2pdf/releases/tag/0.0.5</a></p><div style="margin-top: 20px; margin-bottom: 20px; overflow: auto; width: 100%;" id="LPBorder_GT_14387039718180.05888031939542626"><table style="border-top: 1px solid rgb(204, 204, 204); border-bottom: 1px solid rgb(204, 204, 204); width: 80%; background-color: rgb(255, 255, 255); position: relative; overflow: auto;" id="LPContainer_14387039718160.5332441778840602"><tbody><tr valign="top"><td colspan="1" style="width: 140px; position: relative; display: table-cell; padding: 0px;" id="ImageCell_14387039718160.5716056286889813"><div style="margin-top: 12px; background-color: rgb(255, 255, 255); height: auto; width: 140px; position: relative; display: table;" id="LPImageContainer_14387039718160.13744651036971578"><a target="_blank" href="https://github.com/archivesspace/ead2pdf/releases/tag/0.0.5" style="display: table-cell; text-align: center;" id="LPImageAnchor_14387039718170.38766634137386036"><img aria-label="Preview image with link selected. Double-tap to open the link." style="display: inline-block; margin-left: auto; margin-right: auto; max-width: 140px; max-height: 140px; height: 45px; width: 45px; border-width: 0px;" height="45" width="45" src="https://avatars2.githubusercontent.com/u/1311559?v=3&s=400"></a></div></td><td><div style="top: 0px; margin-top: 8px; font-size: 21px; font-family: "wf_segoe-ui_semilight","Segoe UI Semilight","Segoe WP Semilight","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; color: rgb(51, 51, 51); margin-left: 14px; margin-right: 14px;" id="LPTitle_14387039718170.9075965120128151">
Release 0.0.5 · archivesspace/ead2pdf · GitHub</div><div style="margin-top: 8px; font-size: 13px; font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; color: rgb(102, 102, 102); margin-left: 14px; margin-right: 14px;" id="LPDescription_14387039718180.06666878610502291">
ead2pdf - ASpace EAD2PDF</div><div style="margin: 8px 14px 10px; height: 18px; text-overflow: ellipsis; overflow: hidden; white-space: nowrap;" id="LPUrlContainer_14387039718180.26939277070105627"><a target="_blank" href="https://github.com/archivesspace/ead2pdf/releases/tag/0.0.5" style="font-size: 11px; font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; text-decoration: none;" id="LPUrlAnchor_14387039718180.5690993462165346">Read
 more...</a></div></td></tr></tbody></table></div><p><br></p><p>b,chris. <br></p><p><br></p><div id="Signature"><div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0"><div class="BodyFragment"><font size="2"><div class="PlainText">Chris Fitzpatrick | <font size="2">Developer, ArchivesSpace</font><br>
Skype: chrisfitzpat  | Phone: 918.236.6048<br><a href="http://archivesspace.org/">http://archivesspace.org/</a><br></div></font></div></div></div><br><br><div style="color: rgb(0, 0, 0);"><hr tabindex="-1" style="display:inline-block; width:98%"><div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri,sans-serif" color="#000000"><b>From:</b><a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org">archivesspace_users_group-bounces@lyralists.lyrasis.org</a> <<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org">archivesspace_users_group-bounces@lyralists.lyrasis.org</a>>
 on behalf of Steven Majewski <<a href="mailto:sdm7g@virginia.edu">sdm7g@virginia.edu</a>><br><b>Sent:</b> Tuesday, August 4, 2015 5:51 PM<br><b>To:</b> Archivesspace Users Group<br><b>Subject:</b> Re: [Archivesspace_Users_Group] ead2pdf manual PDF creation?</font><div> </div></div><div><div class=""><br class=""></div><div class="">I ran the conversion on a random exported EAD file and got the same error. </div><div class="">The rest of the message shows it couldn’t find as-helper-functions.xsl </div><div class=""><br class=""></div><div class=""><div class="" style="margin:0px; background-color:rgb(212,192,172)"><span class="" style="color:#692828"><b class="">work$</b></span> java -jar  ../ead2pdf/ead2pdf.jar prod/local-exp/22-MSS12838.xml  22.pdf</div><div class="" style="margin:0px; background-color:rgb(212,192,172)">prod/local-exp/22-MSS12838.xml</div><div class="" style="margin:0px; background-color:rgb(212,192,172)">22.pdf</div><div class="" style="margin:0px; background-color:rgb(212,192,172)">Error at /xsl:stylesheet/xsl:include[1] </div><div class="" style="margin:0px; background-color:rgb(212,192,172)">  XTSE0165: I/O error reported by XML parser processing</div><div class="" style="margin:0px; background-color:rgb(212,192,172)">  file:/projects/Archivespace/work/lib/as-helper-functions.xsl:</div><div class="" style="margin:0px; background-color:rgb(212,192,172)">  /projects/Archivespace/work/lib/as-helper-functions.xsl (No such file or directory)</div><div class="" style="margin:0px; background-color:rgb(212,192,172)">NoMethodError: undefined method `rewind' for nil:NilClass</div></div><div class=""><br class=""></div><div class="">It looks like there’s a path dependency on finding that file:</div><div class=""><br class=""></div><div class=""><div class="" style="margin:0px; background-color:rgb(212,192,172)"><span class="" style="color:#692828"><b class="">ead2pdf$</b></span> ack as-helper-functions</div><div class="" style="margin:0px; color:rgb(1,149,0); background-color:rgb(212,192,172)"><b class="">lib/as-ead-pdf.xsl</b></div><div class="" style="margin:0px; background-color:rgb(212,192,172)"><span class="" style="color:#868800"><b class="">24</b></span>:    <xsl:include href="./lib/<span class="" style="background-color:#999900">as-helper-functions</span>.xsl"/>  </div><div class="" style="margin:0px; background-color:rgb(212,192,172); min-height:16px"><br class=""></div><div class="" style="margin:0px; color:rgb(1,149,0); background-color:rgb(212,192,172)"><b class="">lib/AS_fop.rb</b></div><div class="" style="margin:0px; background-color:rgb(212,192,172)"><span class="" style="color:#868800"><b class="">36</b></span>:   # @xslt.gsub!('<xsl:include href="<span class="" style="background-color:#999900">as-helper-functions</span>.xsl"/>', "<xsl:include
 href='#{File.join(File.dirname(__FILE__), '../lib', '<span class="" style="background-color:#999900">as-helper-functions</span>.xsl')}'/>" ) </div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">When I cd into the ead2pdf directory and run the same transform, it runs without error. </div><div class=""><br class=""></div><div class="">[ file path is:  ead2pdf/lib/as-helper-functions.xsl ] </div><div class=""><br class=""></div><div class="">— Steve. </div><div class=""><br class=""></div><div class=""><br class=""></div><br class=""><div><blockquote type="cite" class=""><div class="">On Aug 3, 2015, at 11:38 AM, Galligan, Patrick <<a href="mailto:PGalligan@rockarch.org" class="">PGalligan@rockarch.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="WordSection1" style="font-family:Menlo-Regular; font-size:14px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px"><div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
Hey,</div><div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
 </div><div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
We’re trying to set up a workflow where we automatically generate PDF copies of finding aids from our EAD. Rather than set up two API calls (one to export updated EAD and one to download updated PDF), we wanted to use the ead2pdf.jar to run through and create
 PDF files.</div><div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
 </div><div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
However, when trying to run it from our dev server, I’m getting the following error:</div><div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
 </div><div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
NoMethodError: undefined method `rewind' for nil:NilClass</div><div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
 </div><div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
Any idea what could be causing that?</div><div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
 </div><div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
Patrick Galligan</div><div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
Rockefeller Archive Center</div><div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
Assistant Digital Archivist</div><div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
914-366-6386</div><div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
 </div></div><span class="" style="font-family:Menlo-Regular; font-size:14px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px; float:none; display:inline!important">_______________________________________________</span><br class="" style="font-family:Menlo-Regular; font-size:14px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px"><span class="" style="font-family:Menlo-Regular; font-size:14px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px; float:none; display:inline!important">Archivesspace_Users_Group
 mailing list</span><br class="" style="font-family:Menlo-Regular; font-size:14px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px"><a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" class="" style="color:purple; text-decoration:underline; font-family:Menlo-Regular; font-size:14px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br class="" style="font-family:Menlo-Regular; font-size:14px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px"><a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" class="" style="color:purple; text-decoration:underline; font-family:Menlo-Regular; font-size:14px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a></div></blockquote></div><br class=""></div></div></div></div></div></span></div></div></span></body></html>