Re: [Archivesspace_Users_Group] Error generating PDF export for a finding aid.

2022-03-15 Thread Kirill Batyuk
We have found the problem with a link and were able to resolve it and export a 
finding aid. Thank you everyone for the help!

Kirill.

From: archivesspace_users_group-boun...@lyralists.lyrasis.org 
 On Behalf Of Brian 
Harrington
Sent: Tuesday, March 15, 2022 9:49 AM
To: Archivesspace Users Group 
Subject: Re: [Archivesspace_Users_Group] Error generating PDF export for a 
finding aid.

Hi Kirill,

Usually this error means that you have a  or  with a target that 
doesn't exist.  If you have trouble finding it, and want to post an EAD export 
from the collection here, we can help you track it down.

Brian

From: 
archivesspace_users_group-boun...@lyralists.lyrasis.org<mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>
 
mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>>
 on behalf of Kirill Batyuk mailto:kbat...@whoi.edu>>
Date: Tuesday, March 15, 2022 at 9:15 AM
To: Archivesspace Users Group 
mailto:archivesspace_users_group@lyralists.lyrasis.org>>
Subject: Re: [Archivesspace_Users_Group] Error generating PDF export for a 
finding aid.
Thank you,

I found an ampersand that was causing this problem, Now I'm getting another 
error:

Generating PDF for Titanic Discovery collection
org.apache.fop.fo.ValidationException: Missing attribute on fo:basic-link: 
Either external-destination or internal-destination must be specified. (See 
position 1107:86)
net.sf.saxon.s9api.Xslt30Transformer.applyTemplates(net/sf/saxon/s9api/Xslt30Transformer.java:451)
java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:498)
org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(org/jruby/javasupport/JavaMethod.java:426)
org.jruby.javasupport.JavaMethod.invokeDirect(org/jruby/javasupport/JavaMethod.java:293)
org.jruby.RubyClass.finvokeWithRefinements(org/jruby/RubyClass.java:514)
org.jruby.RubyBasicObject.send(org/jruby/RubyBasicObject.java:1755)
org.jruby.RubyKernel.send(org/jruby/RubyKernel.java:2200)
org.jruby.RubyKernel$INVOKER$s$send.call(org/jruby/RubyKernel$INVOKER$s$send.gen)
RUBY.invocation_lambda(/data/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/executable.rb:270)
org.jruby.RubyProc.call(org/jruby/RubyProc.java:291)
org.jruby.RubyProc$INVOKER$i$call.call(org/jruby/RubyProc$INVOKER$i$call.gen)
RUBY.to_destination(/data/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/invocation.rb:73)
RUBY.to_fo(/data/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:44)


Kirill.


From: 
archivesspace_users_group-boun...@lyralists.lyrasis.org<mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>
 
mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>>
 On Behalf Of Dan Michelson
Sent: Tuesday, March 15, 2022 8:44 AM
To: Archivesspace Users Group 
mailto:archivesspace_users_group@lyralists.lyrasis.org>>
Subject: Re: [Archivesspace_Users_Group] Error generating PDF export for a 
finding aid.

Hi Kirill,

The relevant line in your error message is this:
org.xml.sax.SAXParseException; lineNumber: 139; columnNumber: 16002; The 
reference to entity "G" must end with the ';' delimiter.

I have not seen that specific error before, but I find it's often easiest to 
export the resource as EAD and look at the XML for the issue.

Also, the staff interface and PUI use different PDF exporters.  Sometimes you 
can generate a PDF from one and not the other.

All the best,

Dan

P. S. Minor qualification to Jim's note about ampersands.  In our experience, 
ampersands work fine if there are spaces after them.  It's ampersands 
immediately followed by a character that throws errors.

On Tue, Mar 15, 2022 at 8:34 AM James E. Cross 
mailto:jcr...@clemson.edu>> wrote:
I am wondering if this is the "&" problem. A PDF cannot be generated if there 
is an "&" anywhere in the description. We ran into that problem here at Clemson.

Jim Cross
Manuscripts Archivist



James Edward Cross, C.A. CLEMSON UNIVERSITY
Manuscripts Archivist
Special Collections and Archives
Clemson University Libraries
Box 343001
Clemson, SC  29634-3001
Phone: (864) 656-5182
Website: 
http://library.clemson.edu/depts/specialcollections/<https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Flibrary.clemson.edu%2Fdepts%2Fspecialcollections%2F=04%7C01%7Ckbatyuk%40whoi.onmicrosoft.com%7C990e159455244d8742d508da068a8a08%7Cd44c5cc6d18c46cc8abd4fdf5b6e5944%7C0%7C0%7C637829489935909486%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000=e67Gv6HqfjiS1g71adlxI8208w5ssm94G8zShkKHQWI%3D=0>
Pronouns: he/him/his
Traditional Cherokee Lands | Site of Fort Hill Plantation
Please do not feel obligated to respond to this message outside of your normal 
working hours.


From: 
archivesspace_users_group-boun...@lyralists.lyrasis.org<mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>
 
mailto:archivesspace_users

Re: [Archivesspace_Users_Group] Error generating PDF export for a finding aid.

2022-03-15 Thread Brian Harrington
Hi Kirill,

Usually this error means that you have a  or  with a target that 
doesn’t exist.  If you have trouble finding it, and want to post an EAD export 
from the collection here, we can help you track it down.

Brian

From: archivesspace_users_group-boun...@lyralists.lyrasis.org 
 on behalf of Kirill 
Batyuk 
Date: Tuesday, March 15, 2022 at 9:15 AM
To: Archivesspace Users Group 
Subject: Re: [Archivesspace_Users_Group] Error generating PDF export for a 
finding aid.
Thank you,

I found an ampersand that was causing this problem, Now I’m getting another 
error:

Generating PDF for Titanic Discovery collection
org.apache.fop.fo.ValidationException: Missing attribute on fo:basic-link: 
Either external-destination or internal-destination must be specified. (See 
position 1107:86)
net.sf.saxon.s9api.Xslt30Transformer.applyTemplates(net/sf/saxon/s9api/Xslt30Transformer.java:451)
java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:498)
org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(org/jruby/javasupport/JavaMethod.java:426)
org.jruby.javasupport.JavaMethod.invokeDirect(org/jruby/javasupport/JavaMethod.java:293)
org.jruby.RubyClass.finvokeWithRefinements(org/jruby/RubyClass.java:514)
org.jruby.RubyBasicObject.send(org/jruby/RubyBasicObject.java:1755)
org.jruby.RubyKernel.send(org/jruby/RubyKernel.java:2200)
org.jruby.RubyKernel$INVOKER$s$send.call(org/jruby/RubyKernel$INVOKER$s$send.gen)
RUBY.invocation_lambda(/data/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/executable.rb:270)
org.jruby.RubyProc.call(org/jruby/RubyProc.java:291)
org.jruby.RubyProc$INVOKER$i$call.call(org/jruby/RubyProc$INVOKER$i$call.gen)
RUBY.to_destination(/data/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/invocation.rb:73)
RUBY.to_fo(/data/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:44)


Kirill.


From: archivesspace_users_group-boun...@lyralists.lyrasis.org 
 On Behalf Of Dan 
Michelson
Sent: Tuesday, March 15, 2022 8:44 AM
To: Archivesspace Users Group 
Subject: Re: [Archivesspace_Users_Group] Error generating PDF export for a 
finding aid.

Hi Kirill,

The relevant line in your error message is this:
org.xml.sax.SAXParseException; lineNumber: 139; columnNumber: 16002; The 
reference to entity "G" must end with the ';' delimiter.

I have not seen that specific error before, but I find it's often easiest to 
export the resource as EAD and look at the XML for the issue.

Also, the staff interface and PUI use different PDF exporters.  Sometimes you 
can generate a PDF from one and not the other.

All the best,

Dan

P. S. Minor qualification to Jim's note about ampersands.  In our experience, 
ampersands work fine if there are spaces after them.  It's ampersands 
immediately followed by a character that throws errors.

On Tue, Mar 15, 2022 at 8:34 AM James E. Cross 
mailto:jcr...@clemson.edu>> wrote:
I am wondering if this is the “&” problem. A PDF cannot be generated if there 
is an “&” anywhere in the description. We ran into that problem here at Clemson.

Jim Cross
Manuscripts Archivist



James Edward Cross, C.A. CLEMSON UNIVERSITY
Manuscripts Archivist
Special Collections and Archives
Clemson University Libraries
Box 343001
Clemson, SC  29634-3001
Phone: (864) 656-5182
Website: 
http://library.clemson.edu/depts/specialcollections/<https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Flibrary.clemson.edu%2Fdepts%2Fspecialcollections%2F=04%7C01%7Ckbatyuk%40whoi.onmicrosoft.com%7Cce608bae4db044da6de208da06818539%7Cd44c5cc6d18c46cc8abd4fdf5b6e5944%7C0%7C0%7C637829451067255482%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000=MVbgBBYfRtD0vkIZcUN0eIsJ9AePbw2%2Fu3WY6CUixUk%3D=0>
Pronouns: he/him/his
Traditional Cherokee Lands | Site of Fort Hill Plantation
Please do not feel obligated to respond to this message outside of your normal 
working hours.


From: 
archivesspace_users_group-boun...@lyralists.lyrasis.org<mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>
 
mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>>
 On Behalf Of Kirill Batyuk
Sent: Tuesday, March 15, 2022 8:25 AM
To: 
archivesspace_users_group@lyralists.lyrasis.org<mailto:archivesspace_users_group@lyralists.lyrasis.org>
Subject: [Archivesspace_Users_Group] Error generating PDF export for a finding 
aid.

Hi,

Our Archivist is running into a problem with generating PDF for a finding aid. 
The job fails with the following log:

Generating PDF for Titanic Discovery collection
org.xml.sax.SAXParseException; lineNumber: 139; columnNumber: 16002; The 
reference to entity "G" must end with the ';' delimiter.
net.sf.saxon.s9api.DocumentBuilder.build(net/sf/saxon/s9api/DocumentBuilder.java:360)
java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:498)
org.jruby.javasupport.JavaMethod.invokeDirectWithE

Re: [Archivesspace_Users_Group] Error generating PDF export for a finding aid.

2022-03-15 Thread Kirill Batyuk
Thank you,

I found an ampersand that was causing this problem, Now I'm getting another 
error:

Generating PDF for Titanic Discovery collection
org.apache.fop.fo.ValidationException: Missing attribute on fo:basic-link: 
Either external-destination or internal-destination must be specified. (See 
position 1107:86)
net.sf.saxon.s9api.Xslt30Transformer.applyTemplates(net/sf/saxon/s9api/Xslt30Transformer.java:451)
java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:498)
org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(org/jruby/javasupport/JavaMethod.java:426)
org.jruby.javasupport.JavaMethod.invokeDirect(org/jruby/javasupport/JavaMethod.java:293)
org.jruby.RubyClass.finvokeWithRefinements(org/jruby/RubyClass.java:514)
org.jruby.RubyBasicObject.send(org/jruby/RubyBasicObject.java:1755)
org.jruby.RubyKernel.send(org/jruby/RubyKernel.java:2200)
org.jruby.RubyKernel$INVOKER$s$send.call(org/jruby/RubyKernel$INVOKER$s$send.gen)
RUBY.invocation_lambda(/data/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/executable.rb:270)
org.jruby.RubyProc.call(org/jruby/RubyProc.java:291)
org.jruby.RubyProc$INVOKER$i$call.call(org/jruby/RubyProc$INVOKER$i$call.gen)
RUBY.to_destination(/data/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/invocation.rb:73)
RUBY.to_fo(/data/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:44)


Kirill.


From: archivesspace_users_group-boun...@lyralists.lyrasis.org 
 On Behalf Of Dan 
Michelson
Sent: Tuesday, March 15, 2022 8:44 AM
To: Archivesspace Users Group 
Subject: Re: [Archivesspace_Users_Group] Error generating PDF export for a 
finding aid.

Hi Kirill,

The relevant line in your error message is this:
org.xml.sax.SAXParseException; lineNumber: 139; columnNumber: 16002; The 
reference to entity "G" must end with the ';' delimiter.

I have not seen that specific error before, but I find it's often easiest to 
export the resource as EAD and look at the XML for the issue.

Also, the staff interface and PUI use different PDF exporters.  Sometimes you 
can generate a PDF from one and not the other.

All the best,

Dan

P. S. Minor qualification to Jim's note about ampersands.  In our experience, 
ampersands work fine if there are spaces after them.  It's ampersands 
immediately followed by a character that throws errors.

On Tue, Mar 15, 2022 at 8:34 AM James E. Cross 
mailto:jcr...@clemson.edu>> wrote:
I am wondering if this is the "&" problem. A PDF cannot be generated if there 
is an "&" anywhere in the description. We ran into that problem here at Clemson.

Jim Cross
Manuscripts Archivist



James Edward Cross, C.A. CLEMSON UNIVERSITY
Manuscripts Archivist
Special Collections and Archives
Clemson University Libraries
Box 343001
Clemson, SC  29634-3001
Phone: (864) 656-5182
Website: 
http://library.clemson.edu/depts/specialcollections/<https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Flibrary.clemson.edu%2Fdepts%2Fspecialcollections%2F=04%7C01%7Ckbatyuk%40whoi.onmicrosoft.com%7Cce608bae4db044da6de208da06818539%7Cd44c5cc6d18c46cc8abd4fdf5b6e5944%7C0%7C0%7C637829451067255482%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000=MVbgBBYfRtD0vkIZcUN0eIsJ9AePbw2%2Fu3WY6CUixUk%3D=0>
Pronouns: he/him/his
Traditional Cherokee Lands | Site of Fort Hill Plantation
Please do not feel obligated to respond to this message outside of your normal 
working hours.


From: 
archivesspace_users_group-boun...@lyralists.lyrasis.org<mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>
 
mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>>
 On Behalf Of Kirill Batyuk
Sent: Tuesday, March 15, 2022 8:25 AM
To: 
archivesspace_users_group@lyralists.lyrasis.org<mailto:archivesspace_users_group@lyralists.lyrasis.org>
Subject: [Archivesspace_Users_Group] Error generating PDF export for a finding 
aid.

Hi,

Our Archivist is running into a problem with generating PDF for a finding aid. 
The job fails with the following log:

Generating PDF for Titanic Discovery collection
org.xml.sax.SAXParseException; lineNumber: 139; columnNumber: 16002; The 
reference to entity "G" must end with the ';' delimiter.
net.sf.saxon.s9api.DocumentBuilder.build(net/sf/saxon/s9api/DocumentBuilder.java:360)
java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:498)
org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(org/jruby/javasupport/JavaMethod.java:456)
org.jruby.javasupport.JavaMethod.invokeDirect(org/jruby/javasupport/JavaMethod.java:317)
RUBY.build(/data/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/document_builder.rb:225)
RUBY.to_fo(/data/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:42)
RUBY.to_pdf(/data/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:58)
RUBY

Re: [Archivesspace_Users_Group] Error generating PDF export for a finding aid.

2022-03-15 Thread Dan Michelson
Hi Kirill,

The relevant line in your error message is this:

> org.xml.sax.SAXParseException; lineNumber: 139; columnNumber: 16002; The
> reference to entity "G" must end with the ';' delimiter.
>

I have not seen that specific error before, but I find it's often easiest
to export the resource as EAD and look at the XML for the issue.

Also, the staff interface and PUI use different PDF exporters.  Sometimes
you can generate a PDF from one and not the other.

All the best,

Dan

P. S. Minor qualification to Jim's note about ampersands.  In our
experience, ampersands work fine if there are spaces after them.  It's
ampersands immediately followed by a character that throws errors.

On Tue, Mar 15, 2022 at 8:34 AM James E. Cross  wrote:

> I am wondering if this is the “&” problem. A PDF cannot be generated if
> there is an “&” anywhere in the description. We ran into that problem here
> at Clemson.
>
>
>
> Jim Cross
>
> Manuscripts Archivist
>
>
>
>
>
>
>
> *James Edward Cross, C.A.* CLEMSON UNIVERSITY
>
> Manuscripts Archivist
>
> Special Collections and Archives
>
> Clemson University Libraries
>
> Box 343001
>
> Clemson, SC  29634-3001
>
> Phone: (864) 656-5182
>
> Website: http://library.clemson.edu/depts/specialcollections/
>
> Pronouns: he/him/his
>
> Traditional Cherokee Lands | Site of Fort Hill Plantation
>
> *Please do not feel obligated to respond to this message outside of your
> normal working hours.*
>
>
>
>
>
> *From:* archivesspace_users_group-boun...@lyralists.lyrasis.org <
> archivesspace_users_group-boun...@lyralists.lyrasis.org> *On Behalf Of *Kirill
> Batyuk
> *Sent:* Tuesday, March 15, 2022 8:25 AM
> *To:* archivesspace_users_group@lyralists.lyrasis.org
> *Subject:* [Archivesspace_Users_Group] Error generating PDF export for a
> finding aid.
>
>
>
> Hi,
>
>
>
> Our Archivist is running into a problem with generating PDF for a finding
> aid. The job fails with the following log:
>
>
>
> Generating PDF for Titanic Discovery collection
>
> org.xml.sax.SAXParseException; lineNumber: 139; columnNumber: 16002; The
> reference to entity "G" must end with the ';' delimiter.
>
>
> net.sf.saxon.s9api.DocumentBuilder.build(net/sf/saxon/s9api/DocumentBuilder.java:360)
>
> java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:498)
>
>
> org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(org/jruby/javasupport/JavaMethod.java:456)
>
>
> org.jruby.javasupport.JavaMethod.invokeDirect(org/jruby/javasupport/JavaMethod.java:317)
>
>
> RUBY.build(/data/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/document_builder.rb:225)
>
>
> RUBY.to_fo(/data/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:42)
>
>
> RUBY.to_pdf(/data/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:58)
>
>
> RUBY.run(/data/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/job_runners/print_to_pdf_runner.rb:50)
>
>
> data.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(/data/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:24)
>
>
> RUBY.run(/data/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/job_runners/print_to_pdf_runner.rb:13)
>
>
> data.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.invokeOther31:run(data/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//data/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/background_job_queue.rb:126)
>
>
> data.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(/data/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/background_job_queue.rb:126)
>
>
> RUBY.start_background_thread(/data/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:318)
>
> java.lang.Thread.run(java/lang/Thread.java:750)
>
>
>
>
>
> Any idea how to resolve this problem?
>
>
>
> Thank you,
>
>
>
> Kirill Batyuk
>
> Systems

Re: [Archivesspace_Users_Group] Error generating PDF export for a finding aid.

2022-03-15 Thread James E. Cross
I am wondering if this is the "&" problem. A PDF cannot be generated if there 
is an "&" anywhere in the description. We ran into that problem here at Clemson.

Jim Cross
Manuscripts Archivist



James Edward Cross, C.A. CLEMSON UNIVERSITY
Manuscripts Archivist
Special Collections and Archives
Clemson University Libraries
Box 343001
Clemson, SC  29634-3001
Phone: (864) 656-5182
Website: http://library.clemson.edu/depts/specialcollections/
Pronouns: he/him/his
Traditional Cherokee Lands | Site of Fort Hill Plantation
Please do not feel obligated to respond to this message outside of your normal 
working hours.


From: archivesspace_users_group-boun...@lyralists.lyrasis.org 
 On Behalf Of Kirill 
Batyuk
Sent: Tuesday, March 15, 2022 8:25 AM
To: archivesspace_users_group@lyralists.lyrasis.org
Subject: [Archivesspace_Users_Group] Error generating PDF export for a finding 
aid.

Hi,

Our Archivist is running into a problem with generating PDF for a finding aid. 
The job fails with the following log:

Generating PDF for Titanic Discovery collection
org.xml.sax.SAXParseException; lineNumber: 139; columnNumber: 16002; The 
reference to entity "G" must end with the ';' delimiter.
net.sf.saxon.s9api.DocumentBuilder.build(net/sf/saxon/s9api/DocumentBuilder.java:360)
java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:498)
org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(org/jruby/javasupport/JavaMethod.java:456)
org.jruby.javasupport.JavaMethod.invokeDirect(org/jruby/javasupport/JavaMethod.java:317)
RUBY.build(/data/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/document_builder.rb:225)
RUBY.to_fo(/data/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:42)
RUBY.to_pdf(/data/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:58)
RUBY.run(/data/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/job_runners/print_to_pdf_runner.rb:50)
data.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(/data/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:24)
RUBY.run(/data/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/job_runners/print_to_pdf_runner.rb:13)
data.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.invokeOther31:run(data/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//data/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/background_job_queue.rb:126)
data.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(/data/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/background_job_queue.rb:126)
RUBY.start_background_thread(/data/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:318)
java.lang.Thread.run(java/lang/Thread.java:750)


Any idea how to resolve this problem?

Thank you,

Kirill Batyuk
Systems Librarian
MBLWHOI Library
Data Library and Archives
Woods Hole Oceanographic Institution
508-289-2850
kbat...@whoi.edu<mailto:kbat...@whoi.edu>
mblwhoilibrary.org<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.com%2Fv3%2F__http%3A%2Fmblwhoilibrary.org%2F__%3B!!NkSChLMW7qAT!qzl-Bw_htCSDBNQJszDywSpH7dOtkXO9Vs5MFihCtlGhhw559rfEgq-mCQ8O4cqor2tQ47n6Alhw%24=02%7C01%7Ckbatyuk%40whoi.edu%7C22c0a3f635574b32bbc708d869775c57%7Cd44c5cc6d18c46cc8abd4fdf5b6e5944%7C0%7C0%7C637375308676908325=JUxSBfV4tndevzK45XLBwhtOIu6glwiUh4J15EFAEiA%3D=0>
 --- 
whoi.edu<https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwhoi.edu%2F=02%7C01%7Ckbatyuk%40whoi.edu%7C22c0a3f635574b32bbc708d869775c57%7Cd44c5cc6d18c46cc8abd4fdf5b6e5944%7C0%7C0%7C637375308676918319=RKd1NDGHHeIeKE7Fnf%2BT0hgmxfQymHBSR2TdbmL%2Bvqg%3D=0>
ORCID<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.com%2Fv3%2F__http%3A%2Forcid.org%2F-0003-0240-2209__%3B!!NkSChLMW7qAT!qzl-Bw_htCSDBNQJszDywSpH7dOtkXO9Vs5MFihCtlGhhw559rfEgq-mCQ8O4cqor2tQ46IK8ae6%24=02%7C01%7Ckbatyuk%40whoi.edu%7C22c0a3f635574b32bbc708d869775c57%7Cd44c5cc6d18c46cc8abd4fdf5b6e5944%7C0%7C0%7C637375308676918319=dpSW2YomKCqBKXj4aGam%2BrIpKqFhF2%2FV9hxt9Nu6wGI%3D=0>

___
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group@lyralists.lyrasis.org
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group


[Archivesspace_Users_Group] Error generating PDF export for a finding aid.

2022-03-15 Thread Kirill Batyuk
Hi,

Our Archivist is running into a problem with generating PDF for a finding aid. 
The job fails with the following log:

Generating PDF for Titanic Discovery collection
org.xml.sax.SAXParseException; lineNumber: 139; columnNumber: 16002; The 
reference to entity "G" must end with the ';' delimiter.
net.sf.saxon.s9api.DocumentBuilder.build(net/sf/saxon/s9api/DocumentBuilder.java:360)
java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:498)
org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(org/jruby/javasupport/JavaMethod.java:456)
org.jruby.javasupport.JavaMethod.invokeDirect(org/jruby/javasupport/JavaMethod.java:317)
RUBY.build(/data/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/document_builder.rb:225)
RUBY.to_fo(/data/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:42)
RUBY.to_pdf(/data/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:58)
RUBY.run(/data/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/job_runners/print_to_pdf_runner.rb:50)
data.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(/data/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:24)
RUBY.run(/data/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/job_runners/print_to_pdf_runner.rb:13)
data.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.invokeOther31:run(data/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//data/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/background_job_queue.rb:126)
data.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(/data/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/background_job_queue.rb:126)
RUBY.start_background_thread(/data/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:318)
java.lang.Thread.run(java/lang/Thread.java:750)


Any idea how to resolve this problem?

Thank you,

Kirill Batyuk
Systems Librarian
MBLWHOI Library
Data Library and Archives
Woods Hole Oceanographic Institution
508-289-2850
kbat...@whoi.edu
mblwhoilibrary.org
 --- 
whoi.edu
ORCID

___
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group@lyralists.lyrasis.org
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group