<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Segoe UI";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
@font-face
        {font-family:Menlo-Regular;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Awesome! Thanks guys, got this running perfectly on our development server.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>As always, we’ll be updating our github with any code that we produce in case anyone else is interested in automatically generating PDFs in the backend.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks!<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Patrick Galligan<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Rockefeller Archive Center<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Assistant Digital Archivist<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>914-366-6386<o:p></o:p></span></p></div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> archivesspace_users_group-bounces@lyralists.lyrasis.org [mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org] <b>On Behalf Of </b>Chris Fitzpatrick<br><b>Sent:</b> Tuesday, August 04, 2015 12:00 PM<br><b>To:</b> Archivesspace Users Group<br><b>Subject:</b> Re: [Archivesspace_Users_Group] ead2pdf manual PDF creation?<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div id=divtagdefaultwrapper><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>Hi,<o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>Yeah, I just updated the ead2pdf jar, with I think fixes this..<o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>It's here:<o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'><a href="https://github.com/archivesspace/ead2pdf/releases/tag/0.0.5" id=LPlnk909457>https://github.com/archivesspace/ead2pdf/releases/tag/0.0.5</a><o:p></o:p></span></p><div style='margin-top:15.0pt;margin-bottom:15.0pt;overflow:auto' id="LPBorder_GT_14387039718180.05888031939542626"><table class=MsoNormalTable border=1 cellpadding=0 width="80%" style='width:80.0%;background:white;border-top:solid #CCCCCC 1.0pt;border-left:none;border-bottom:solid #CCCCCC 1.0pt;border-right:none'><tr><td width=140 valign=top style='width:105.0pt;border:none;padding:0in 0in 0in 0in'><div style='margin-top:9.0pt;display:table' id="LPImageContainer_14387039718160.13744651036971578"><p class=MsoNormal style='background:white'><a href="https://github.com/archivesspace/ead2pdf/releases/tag/0.0.5" target="_blank"><span style='text-decoration:none'><img border=0 width=45 height=45 id="_x0000_i1025" src="https://avatars2.githubusercontent.com/u/1311559?v=3&s=400"></span></a><o:p></o:p></p></div></td><td valign=top style='border:none;padding:.75pt .75pt .75pt .75pt'><div style='margin-left:10.5pt;margin-top:6.0pt;margin-right:10.5pt' id="LPTitle_14387039718170.9075965120128151"><p class=MsoNormal><span style='font-size:16.0pt;font-family:"Segoe UI","sans-serif";color:#333333'>Release 0.0.5 · archivesspace/ead2pdf · GitHub<o:p></o:p></span></p></div><div style='margin-left:10.5pt;margin-top:6.0pt;margin-right:10.5pt' id="LPDescription_14387039718180.06666878610502291"><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif";color:#666666'>ead2pdf - ASpace EAD2PDF<o:p></o:p></span></p></div><div style='margin-left:10.5pt;margin-top:6.0pt;margin-right:10.5pt;margin-bottom:7.5pt;text-overflow: ellipsis;overflow:hidden' id="LPUrlContainer_14387039718180.26939277070105627"><p class=MsoNormal><a href="https://github.com/archivesspace/ead2pdf/releases/tag/0.0.5" target="_blank"><span style='font-size:8.5pt;font-family:"Segoe UI","sans-serif";text-decoration:none'>Read more...</span></a><o:p></o:p></p></div></td></tr></table></div><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>b,chris. <o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p><div id=Signature><div name=divtagdefaultwrapper><div><div><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:black'>Chris Fitzpatrick | Developer, ArchivesSpace<br>Skype: chrisfitzpat  | Phone: 918.236.6048<br><a href="http://archivesspace.org/">http://archivesspace.org/</a><o:p></o:p></span></p></div></div></div></div><p class=MsoNormal style='margin-bottom:12.0pt;background:white'><span style='font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p><div><div class=MsoNormal align=center style='text-align:center;background:white'><span style='font-family:"Calibri","sans-serif";color:black'><hr size=2 width="98%" align=center></span></div><div id=divRplyFwdMsg><p class=MsoNormal style='background:white'><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'> <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?</span><span style='font-family:"Calibri","sans-serif";color:black'> <o:p></o:p></span></p><div><p class=MsoNormal style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'> <o:p></o:p></span></p></div></div><div><div><p class=MsoNormal style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>I ran the conversion on a random exported EAD file and got the same error. <o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>The rest of the message shows it couldn’t find as-helper-functions.xsl <o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p></div><div><div><p class=MsoNormal style='background:#D4C0AC'><b><span style='font-family:"Calibri","sans-serif";color:#692828'>work$</span></b><span style='font-family:"Calibri","sans-serif";color:black'> java -jar  ../ead2pdf/ead2pdf.jar prod/local-exp/22-MSS12838.xml  22.pdf<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:#D4C0AC'><span style='font-family:"Calibri","sans-serif";color:black'>prod/local-exp/22-MSS12838.xml<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:#D4C0AC'><span style='font-family:"Calibri","sans-serif";color:black'>22.pdf<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:#D4C0AC'><span style='font-family:"Calibri","sans-serif";color:black'>Error at /xsl:stylesheet/xsl:include[1] <o:p></o:p></span></p></div><div><p class=MsoNormal style='background:#D4C0AC'><span style='font-family:"Calibri","sans-serif";color:black'>  XTSE0165: I/O error reported by XML parser processing<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:#D4C0AC'><span style='font-family:"Calibri","sans-serif";color:black'>  file:/projects/Archivespace/work/lib/as-helper-functions.xsl:<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:#D4C0AC'><span style='font-family:"Calibri","sans-serif";color:black'>  /projects/Archivespace/work/lib/as-helper-functions.xsl (No such file or directory)<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:#D4C0AC'><span style='font-family:"Calibri","sans-serif";color:black'>NoMethodError: undefined method `rewind' for nil:NilClass<o:p></o:p></span></p></div></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>It looks like there’s a path dependency on finding that file:<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p></div><div><div><p class=MsoNormal style='background:#D4C0AC'><b><span style='font-family:"Calibri","sans-serif";color:#692828'>ead2pdf$</span></b><span style='font-family:"Calibri","sans-serif";color:black'> ack as-helper-functions<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:#D4C0AC'><b><span style='font-family:"Calibri","sans-serif";color:#019500'>lib/as-ead-pdf.xsl</span></b><span style='font-family:"Calibri","sans-serif";color:#019500'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:#D4C0AC'><b><span style='font-family:"Calibri","sans-serif";color:#868800'>24</span></b><span style='font-family:"Calibri","sans-serif";color:black'>:    <xsl:include href="./lib/<span style='background:#999900'>as-helper-functions</span>.xsl"/>  <o:p></o:p></span></p></div><div><p class=MsoNormal style='background:#D4C0AC'><span style='font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal style='background:#D4C0AC'><b><span style='font-family:"Calibri","sans-serif";color:#019500'>lib/AS_fop.rb</span></b><span style='font-family:"Calibri","sans-serif";color:#019500'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:#D4C0AC'><b><span style='font-family:"Calibri","sans-serif";color:#868800'>36</span></b><span style='font-family:"Calibri","sans-serif";color:black'>:   # @xslt.gsub!('<xsl:include href="<span style='background:#999900'>as-helper-functions</span>.xsl"/>', "<xsl:include href='#{File.join(File.dirname(__FILE__), '../lib', '<span style='background:#999900'>as-helper-functions</span>.xsl')}'/>" ) <o:p></o:p></span></p></div></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>When I cd into the ead2pdf directory and run the same transform, it runs without error. <o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>[ file path is:  ead2pdf/lib/as-helper-functions.xsl ] <o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>— Steve. <o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p></div><p class=MsoNormal style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p><div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>On Aug 3, 2015, at 11:38 AM, Galligan, Patrick <<a href="mailto:PGalligan@rockarch.org">PGalligan@rockarch.org</a>> wrote:<o:p></o:p></span></p></div><p class=MsoNormal style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p><div><div><div><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>Hey,<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'> <o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>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></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'> <o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>However, when trying to run it from our dev server, I’m getting the following error:<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'> <o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>NoMethodError: undefined method `rewind' for nil:NilClass<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'> <o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>Any idea what could be causing that?<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'> <o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>Patrick Galligan<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>Rockefeller Archive Center<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>Assistant Digital Archivist<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>914-366-6386<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'> <o:p></o:p></span></p></div></div><p class=MsoNormal style='background:white'><span style='font-size:10.5pt;font-family:"Menlo-Regular","serif";color:black'>_______________________________________________<br>Archivesspace_Users_Group mailing list<br></span><span style='font-family:"Calibri","sans-serif";color:black'><a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org"><span style='font-size:10.5pt;font-family:"Menlo-Regular","serif";color:purple'>Archivesspace_Users_Group@lyralists.lyrasis.org</span></a></span><span style='font-size:10.5pt;font-family:"Menlo-Regular","serif";color:black'><br></span><span style='font-family:"Calibri","sans-serif";color:black'><a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group"><span style='font-size:10.5pt;font-family:"Menlo-Regular","serif";color:purple'>http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</span></a><o:p></o:p></span></p></div></blockquote></div><p class=MsoNormal style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p></div></div></div></div></body></html>