<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><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 style="margin: 0px; background-color: rgb(212, 192, 172);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #692828" class=""><b class="">work$</b></span> java -jar  ../ead2pdf/ead2pdf.jar prod/local-exp/22-MSS12838.xml  22.pdf</div><div style="margin: 0px; background-color: rgb(212, 192, 172);" class="">prod/local-exp/22-MSS12838.xml</div><div style="margin: 0px; background-color: rgb(212, 192, 172);" class="">22.pdf</div><div style="margin: 0px; background-color: rgb(212, 192, 172);" class="">Error at /xsl:stylesheet/xsl:include[1] </div><div style="margin: 0px; background-color: rgb(212, 192, 172);" class="">  XTSE0165: I/O error reported by XML parser processing</div><div style="margin: 0px; background-color: rgb(212, 192, 172);" class="">  file:/projects/Archivespace/work/lib/as-helper-functions.xsl:</div><div style="margin: 0px; background-color: rgb(212, 192, 172);" class="">  /projects/Archivespace/work/lib/as-helper-functions.xsl (No such file or directory)</div><div style="margin: 0px; background-color: rgb(212, 192, 172);" class="">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 style="margin: 0px; background-color: rgb(212, 192, 172);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #692828" class=""><b class="">ead2pdf$</b></span> ack as-helper-functions</div><div style="margin: 0px; color: rgb(1, 149, 0); background-color: rgb(212, 192, 172);" class=""><b class="">lib/as-ead-pdf.xsl</b></div><div style="margin: 0px; background-color: rgb(212, 192, 172);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #868800" class=""><b class="">24</b></span>:    <xsl:include href="./lib/<span style="font-variant-ligatures: no-common-ligatures; background-color: #999900" class="">as-helper-functions</span>.xsl"/>  </div><div style="margin: 0px; background-color: rgb(212, 192, 172); min-height: 16px;" class=""><br class=""></div><div style="margin: 0px; color: rgb(1, 149, 0); background-color: rgb(212, 192, 172);" class=""><b class="">lib/AS_fop.rb</b></div><div style="margin: 0px; background-color: rgb(212, 192, 172);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #868800" class=""><b class="">36</b></span>:   # @xslt.gsub!('<xsl:include href="<span style="font-variant-ligatures: no-common-ligatures; background-color: #999900" class="">as-helper-functions</span>.xsl"/>', "<xsl:include href='#{File.join(File.dirname(__FILE__), '../lib', '<span style="font-variant-ligatures: no-common-ligatures; background-color: #999900" class="">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="page: WordSection1; 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; -webkit-text-stroke-width: 0px;"><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Hey,<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">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.<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">However, when trying to run it from our dev server, I’m getting the following error:<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">NoMethodError: undefined method `rewind' for nil:NilClass<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Any idea what could be causing that?<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Patrick Galligan<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Rockefeller Archive Center<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Assistant Digital Archivist<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">914-366-6386<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div></div><span 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; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br 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; -webkit-text-stroke-width: 0px;" class=""><span 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; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Archivesspace_Users_Group mailing list</span><br 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; -webkit-text-stroke-width: 0px;" class=""><a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" 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; -webkit-text-stroke-width: 0px;" class="">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br 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; -webkit-text-stroke-width: 0px;" class=""><a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" 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; -webkit-text-stroke-width: 0px;" class="">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a></div></blockquote></div><br class=""></body></html>