You’re right. Maybe it’s a glitch in stylesheets/as-ead-pdf.xsl, which does the 
EAD to FOP transform, that is generating duplicate IDs. 

> (See position 363:37)
I’m not seeing anything in the stylesheet at that location. 
I may have to try generating the intermediate file manually to see if that is a 
location in the FOP XML output. 

— Steve.


> On Jan 16, 2020, at 3:06 PM, Dalton, Justin <[email protected]> wrote:
> 
> I took a look and I can't find any duplicate ids, but perhaps I'm just 
> missing it.  I have attached the EAD file from ArchivesSpace.
> 
> Thanks!
> 
> Justin Dalton
> Applications Administrator
> W&M Libraries | William & Mary
> 757-221-3101
> [email protected] <mailto:[email protected]>
> 
> From:Majewski, Steven Dennis (sdm7g)
> Sent: Thursday, January 16, 2020 2:28 PM
> To: Dalton, Justin
> Cc: [email protected] 
> <mailto:[email protected]>
> Subject: Re: [Archivesspace_Users_Group] Error Generating PDF
> 
> It’s saying you’ve got more than one EAD element with id=“d3e97” . 
> I assume you’re generating PDF from the staff interface, which first 
> serializes resource as EAD XML and then runs that thru the FOP processor ( 
> which is where it’s catching and complaining about the error in the EAD ( 
> org.apache.fop.fo…  ) 
> 
> You should export resource as EAD and look for duplicate id’s , or post it 
> here and we’ll take a look. 
> 
> 
> I don’t think ArchivesSpace would have generated or assigned duplicate IDs: 
> was this resource created by importing EAD that might have contained 
> duplicates ?  
> 
> 
> 
> — Steve M. 
> 
> 
> 
>> On Jan 16, 2020, at 2:06 PM, Dalton, Justin <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> That is what I get for trying to write an email right before lunch.  Sorry 
>> about that, the error is below.
>> 
>> Generating PDF for Georgia Ragsdale Curtis Papers  
>> org.apache.fop.fo.ValidationException: Property ID "d3e97" (found on 
>> "fo:block") previously used; ID values must be unique within a document! 
>> (See position 363:37)
>> org.apache.xalan.transformer.TransformerIdentityImpl.transform(org/apache/xalan/transformer/TransformerIdentityImpl.java:502)
>> java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:498)
>> org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(org/jruby/javasupport/JavaMethod.java:468)
>> org.jruby.javasupport.JavaMethod.invokeDirect(org/jruby/javasupport/JavaMethod.java:326)
>> RUBY.to_pdf(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:49)
>> RUBY.block in 
>> run(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/job_runners/print_to_pdf_runner.rb:51)
>> archivesspace.data.tmp.jetty_minus_0_dot_0_dot_0_dot_0_minus_8089_minus_backend_dot_war_minus___minus_any_minus_.webapp.WEB_minus_INF.app.lib.request_context.open(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:24)
>> RUBY.run(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/job_runners/print_to_pdf_runner.rb:14)
>> archivesspace.data.tmp.jetty_minus_0_dot_0_dot_0_dot_0_minus_8089_minus_backend_dot_war_minus___minus_any_minus_.webapp.WEB_minus_INF.app.lib.background_job_queue.invokeOther45:run(archivesspace/data/tmp/jetty_minus_0_dot_0_dot_0_dot_0_minus_8089_minus_backend_dot_war_minus___minus_any_minus_/webapp/WEB_minus_INF/app/lib//archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/background_job_queue.rb:126)
>> archivesspace.data.tmp.jetty_minus_0_dot_0_dot_0_dot_0_minus_8089_minus_backend_dot_war_minus___minus_any_minus_.webapp.WEB_minus_INF.app.lib.background_job_queue.run_pending_job(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/background_job_queue.rb:126)
>> RUBY.block in 
>> start_background_thread(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/background_job_queue.rb:169)
>> org.jruby.RubyProc.call(org/jruby/RubyProc.java:289)
>> org.jruby.RubyProc.call(org/jruby/RubyProc.java:246)
>> java.lang.Thread.run(java/lang/Thread.java:748)
>> 
>> 
>> Justin Dalton
>> Applications Administrator
>> W&M Libraries | William & Mary
>> 757-221-3101
>> [email protected] <mailto:[email protected]>
>> 
>> From:Majewski, Steven Dennis (sdm7g)
>> Sent: Thursday, January 16, 2020 2:02 PM
>> To: Dalton, Justin
>> Subject: Re: [Archivesspace_Users_Group] Error Generating PDF
>> 
>> 
>> What error ? 
>> 
>> 
>>> On Jan 16, 2020, at 12:04 PM, Dalton, Justin <[email protected] 
>>> <mailto:[email protected]>> wrote:
>>> 
>>> I'm receiving the following error message when trying to generate a PDF.  
>>> Anyone else had this error, or suggestions on how to fix it?
>>> 
>>> Thanks
>>> 
>>> Justin Dalton
>>> Applications Administrator
>>> W&M Libraries | William & Mary
>>> 757-221-3101
>>> [email protected] 
>>> <mailto:[email protected]>_______________________________________________
>>> Archivesspace_Users_Group mailing list
>>> [email protected] 
>>> <mailto:[email protected]>
>>> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group 
>>> <http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group>
> <Mss._Acc._2010.500_20200116_164419_UTC__ead.zip>

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Archivesspace_Users_Group mailing list
[email protected]
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group

Reply via email to