[Archivesspace_Users_Group] MARCXML Import Error

2020-05-20 Thread Eddie Clem
Hi! I am trying to import a MARCXML file (for Resource) into ArchivesSpace.
I am getting the following error. I’ve searched the Help Center and Google,
and I can’t figure out what it means. I’ve also validated the XML file with
Oxygen, and it says “validation successful.” Can anyone help me decipher
what this error means and how I can fix my file so that I can import them?



Thanks!
Eddie



!!

IMPORT ERROR

!!





The following errors were found:

  dates : At least 1 item(s) is required





For JSONModel(:resource):

 #"resource", "external_ids"=>[],
"subjects"=>[{"ref"=>"/subjects/import_6fa10e99-e450-4716-8d2b-71e29a999aff"},
{"ref"=>"/subjects/import_d0cc91c6-9e30-48f5-a35f-3c9baf4f85d4"},
{"ref"=>"/subjects/import_0a5f133d-1760-45d2-be64-271410195fbe"},
{"ref"=>"/subjects/import_c8529087-60a9-4c2a-a182-d1ae2b0f87d3"},
{"ref"=>"/subjects/import_de69be06-90fd-4a10-b9c8-2ab9168511d4"}],
"linked_events"=>[], "extents"=>[{"jsonmodel_type"=>"extent", "uri"=>nil,
"number"=>"96", "extent_type"=>"pages ;", "container_summary"=>"96 pages ;
20 cm", "portion"=>"whole"}], "dates"=>[], "external_documents"=>[],
"rights_statements"=>[], "linked_agents"=>[{"role"=>"creator", "terms"=>[],
"ref"=>"/agents/people/import_adeb7943-39cb-4d6b-ab28-d73897843cb6"}],
"restrictions"=>false, "revision_statements"=>[], "instances"=>[],
"deaccessions"=>[], "related_accessions"=>[], "classifications"=>[],
"notes"=>[{"jsonmodel_type"=>"note_multipart",
"subnotes"=>[{"jsonmodel_type"=>"note_text", "content"=>"On cover: A guide
to Bible reading for the average man."}], "uri"=>nil, "label"=>"General
Note", "type"=>"odd"}],
"uri"=>"/repositories/import/resources/import_d9b1ad80-0a30-46d1-9ded-715442ce5096",
"level"=>"item", "language"=>"eng", "finding_aid_description_rules"=>"rda",
"title"=>"An Old Testament primer / : / by Walter Evans Cooke; introduction
by Burton J. Hendrick.",
"id_0"=>"imported-c0ee1ab4-6789-4f90-8997-8dcbdf30c88e"}>

!!



*Eddie Clem, MLS*

Technical Services Librarian

E.S. Farley Library | Wilkes University

Acquisitions, Cataloging, & Systems

[image:
https://cdn2.hubspot.net/hubfs/53/tools/email-signature-generator/icons/phone-icon-2x.png]

570-408-4258

[image:
https://cdn2.hubspot.net/hubfs/53/tools/email-signature-generator/icons/email-icon-2x.png]

carl.c...@wilkes.edu

[image:
https://cdn2.hubspot.net/hubfs/53/tools/email-signature-generator/icons/link-icon-2x.png]

www.wilkes.edu/library

[image:
https://cdn2.hubspot.net/hubfs/53/tools/email-signature-generator/icons/address-icon-2x.png]

84 W. South St., Wilkes-Barre, PA 18766
___
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group@lyralists.lyrasis.org
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group


Re: [Archivesspace_Users_Group] Print to PDF Failed

2020-05-20 Thread Blake Carver
That file should be in "./lib/"
Is it missing?
If it is there, what version of Java and ArchivesSpace are you running?

From: archivesspace_users_group-boun...@lyralists.lyrasis.org 
 on behalf of Elise 
Tanner 
Sent: Wednesday, May 20, 2020 5:12 PM
To: archivesspace_users_group@lyralists.lyrasis.org 

Subject: [Archivesspace_Users_Group] Print to PDF Failed

Hello,

We are new users to AS 2.7 and are having an issue with the print to pdf 
failing. Here is the error we see on the staff back-end:


Generating PDF for Little Rock Scenes photograph collection, 1945-1965

fop.jar not found.
C:/Users/Admin/ArchivesSpace/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop_external.rb:83:in
 `path_to_fop_jar'
C:/Users/Admin/ArchivesSpace/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop_external.rb:40:in
 `to_pdf'
C:/Users/Admin/ArchivesSpace/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/job_runners/print_to_pdf_runner.rb:49:in
 `block in run'
C:/Users/Admin/ArchivesSpace/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:24:in
 `open'
C:/Users/Admin/ArchivesSpace/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/job_runners/print_to_pdf_runner.rb:14:in
 `run'
C:/Users/Admin/ArchivesSpace/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/background_job_queue.rb:126:in
 `run_pending_job'
C:/Users/Admin/ArchivesSpace/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/background_job_queue.rb:169:in
 `block in start_background_thread'

Can anyone help us troubleshoot this particular error? Thank you!

Best,
Elise

--
Elise Tanner | Director of Digital Projects and Initiatives
Center for Arkansas History and Culture
University of Arkansas at Little Rock
501-320-5770 | emtan...@ualr.edu | 
ualr.edu/cahc
facebook.com/ualrcahc | 
twitter.com/ualrcahc
[https://ualr.edu/communications/files/2011/04/ua-little-rock-h-rgb.jpg]
___
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group@lyralists.lyrasis.org
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group


[Archivesspace_Users_Group] Print to PDF Failed

2020-05-20 Thread Elise Tanner
Hello,

We are new users to AS 2.7 and are having an issue with the print to pdf
failing. Here is the error we see on the staff back-end:

Generating PDF for Little Rock Scenes photograph collection, 1945-1965
fop.jar not found.
C:/Users/Admin/ArchivesSpace/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop_external.rb:83:in
`path_to_fop_jar'
C:/Users/Admin/ArchivesSpace/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop_external.rb:40:in
`to_pdf'
C:/Users/Admin/ArchivesSpace/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/job_runners/print_to_pdf_runner.rb:49:in
`block in run'
C:/Users/Admin/ArchivesSpace/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:24:in
`open'
C:/Users/Admin/ArchivesSpace/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/job_runners/print_to_pdf_runner.rb:14:in
`run'
C:/Users/Admin/ArchivesSpace/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/background_job_queue.rb:126:in
`run_pending_job'
C:/Users/Admin/ArchivesSpace/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/background_job_queue.rb:169:in
`block in start_background_thread'

Can anyone help us troubleshoot this particular error? Thank you!

Best,
Elise

-- 
Elise Tanner | Director of Digital Projects and Initiatives
Center for Arkansas History and Culture
University of Arkansas at Little Rock
501-320-5770 | emtan...@ualr.edu | ualr.edu/cahc
facebook.com/ualrcahc | twitter.com/ualrcahc
___
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group@lyralists.lyrasis.org
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group


Re: [Archivesspace_Users_Group] MARCXML Import Error

2020-05-20 Thread Custer, Mark
Eddie,

ArchivesSpace requires a few different data elements to be present before a new 
Resource record can be saved.  Based on this error, it looks like the MARC 
record does not have any date information where the ArchiveSpace MARCXML 
importer would expect dates to be present (i.e. dates : At least 1 item(s) is 
required).  And yet, dates are not required in a MARC bibliographic record, 
which is why the file can still be completely valid but not import.

If you have dates in any of the likely places, like the 008 control field, or 
even if there are no dates worth mentioning but you add something like 
"undated" to a 245 field, subfield f, then I *think* your file will likely 
import fine.  But if not, can you attach the file so that someone can take a 
look?

I hope that helps,

Mark





From: archivesspace_users_group-boun...@lyralists.lyrasis.org 
 on behalf of Eddie 
Clem 
Sent: Wednesday, May 20, 2020 4:18 PM
To: archivesspace_users_group@lyralists.lyrasis.org 

Subject: [Archivesspace_Users_Group] MARCXML Import Error


Hi! I am trying to import a MARCXML file (for Resource) into ArchivesSpace. I 
am getting the following error. I’ve searched the Help Center and Google, and I 
can’t figure out what it means. I’ve also validated the XML file with Oxygen, 
and it says “validation successful.” Can anyone help me decipher what this 
error means and how I can fix my file so that I can import them?



Thanks!
Eddie



!!

IMPORT ERROR

!!





The following errors were found:

  dates : At least 1 item(s) is required





For JSONModel(:resource):

 #"resource", "external_ids"=>[], 
"subjects"=>[{"ref"=>"/subjects/import_6fa10e99-e450-4716-8d2b-71e29a999aff"}, 
{"ref"=>"/subjects/import_d0cc91c6-9e30-48f5-a35f-3c9baf4f85d4"}, 
{"ref"=>"/subjects/import_0a5f133d-1760-45d2-be64-271410195fbe"}, 
{"ref"=>"/subjects/import_c8529087-60a9-4c2a-a182-d1ae2b0f87d3"}, 
{"ref"=>"/subjects/import_de69be06-90fd-4a10-b9c8-2ab9168511d4"}], 
"linked_events"=>[], "extents"=>[{"jsonmodel_type"=>"extent", "uri"=>nil, 
"number"=>"96", "extent_type"=>"pages ;", "container_summary"=>"96 pages ; 20 
cm", "portion"=>"whole"}], "dates"=>[], "external_documents"=>[], 
"rights_statements"=>[], "linked_agents"=>[{"role"=>"creator", "terms"=>[], 
"ref"=>"/agents/people/import_adeb7943-39cb-4d6b-ab28-d73897843cb6"}], 
"restrictions"=>false, "revision_statements"=>[], "instances"=>[], 
"deaccessions"=>[], "related_accessions"=>[], "classifications"=>[], 
"notes"=>[{"jsonmodel_type"=>"note_multipart", 
"subnotes"=>[{"jsonmodel_type"=>"note_text", "content"=>"On cover: A guide to 
Bible reading for the average man."}], "uri"=>nil, "label"=>"General Note", 
"type"=>"odd"}], 
"uri"=>"/repositories/import/resources/import_d9b1ad80-0a30-46d1-9ded-715442ce5096",
 "level"=>"item", "language"=>"eng", "finding_aid_description_rules"=>"rda", 
"title"=>"An Old Testament primer / : / by Walter Evans Cooke; introduction by 
Burton J. Hendrick.", "id_0"=>"imported-c0ee1ab4-6789-4f90-8997-8dcbdf30c88e"}>

!!



Eddie Clem, MLS

Technical Services Librarian

E.S. Farley Library | Wilkes University

Acquisitions, Cataloging, & Systems

[https://cdn2.hubspot.net/hubfs/53/tools/email-signature-generator/icons/phone-icon-2x.png]

570-408-4258

[https://cdn2.hubspot.net/hubfs/53/tools/email-signature-generator/icons/email-icon-2x.png]

carl.c...@wilkes.edu

[https://cdn2.hubspot.net/hubfs/53/tools/email-signature-generator/icons/link-icon-2x.png]

www.wilkes.edu/library

[https://cdn2.hubspot.net/hubfs/53/tools/email-signature-generator/icons/address-icon-2x.png]

84 W. South St., Wilkes-Barre, PA 18766




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


Re: [Archivesspace_Users_Group] Mrs. Husband's Name / updates in our ArchivesSpace database

2020-05-20 Thread L. Rebecca Johnson Melvin
Mark,

Can I just add - above and beyond and the back-end technical work that is
being discussed here - thanks for this project, which is helping to Find
Women in the Archives !

best to all,

Rebecca

L. Rebecca Johnson Melvin
Manuscripts Librarian and Curator, Joseph R. Biden, Jr., Senatorial Papers
Special Collections and Museums
University of Delaware Library, Museums and Press
181 South College Avenue
Newark, DE  19717-5267
302.831.6089 / 302.831.1046 (fax)
l...@udel.edu


On Tue, May 19, 2020 at 5:02 PM Custer, Mark  wrote:

> Kevin,
>
> Not counting our 3 collection guides with Mrs. in the title (e.g. Mrs. W.
> K. Clifford papers), it looks like we have just over 11k levels of
> description to consider.  See
> https://archives.yale.edu/search?q[]=mrs&op[]=&field[]=title&from_year[]=&to_year[]=&filter_fields[]=primary_type&filter_values[]=archival_object.
> (but many of those wouldn't need to be updated in the same way as the
> "Chesterton, G. K., Mrs." example)
>
> Definitely the next phase of the project, after we focus on the Agent
> records (that report is less than 500 names).  Wish us luck!!!
>
> Regarding updates to the collection guides, I'm curious if you or anyone
> else have local instructions for that when changing existing containers
> lists...  and would you also contend with changing things on physical
> housings at the same time, etc.???
>
> Mark
>
>
> --
> *From:* archivesspace_users_group-boun...@lyralists.lyrasis.org <
> archivesspace_users_group-boun...@lyralists.lyrasis.org> on behalf of
> Kevin W. Schlottmann 
> *Sent:* Tuesday, May 19, 2020 4:40 PM
> *To:* Archivesspace Users Group <
> archivesspace_users_group@lyralists.lyrasis.org>
> *Subject:* Re: [Archivesspace_Users_Group] Mrs. Husband's Name / updates
> in our ArchivesSpace database
>
> Hi Mark,
>
> Indeed; to your point of having the data available, we publish our HTML
> finding aids from EAD, so we have a cache of all EADs that is updated
> nightly with any deltas.  So it's an easy and up-to-date data source for me
> to turn to.
>
> We turned up over 6,000 unittitles with the string 'Mrs', although some of
> them will need no remediation (e.g., Mrs Doubtfire -- a unittitle from a
> movie reviewer's collection.)
>
> Kevin
>
> On Tue, May 19, 2020 at 4:08 PM Custer, Mark  wrote:
>
> Kevin,
>
>
>
> I love that approach!  Much cleaner to write those queries against the
> EAD/EAC exports than having to do all of the table joins directly on the
> database.  Of course, it does require having all of that data exported from
> ArchivesSpace, but that’s already a good goal to have to share your
> description with services like ArchiveGrid, etc. 😊
>
>
>
> To partially answer your question Lara, the database query that I shared
> previously will export bioghist notes that are attached to agent records,
> but it keeps those notes in the format of the ArchivesSpace JSON records.
> Good to have in the reports to eyeball, at least, but not something that
> you’d want to edit directly.  Here’s an example, which gets stuffed into a
> single cell in our report:
>
>
>
> {
> "jsonmodel_type": "note_bioghist",
> "subnotes": [
> {
> "jsonmodel_type": "note_text",
> "content": "English stage actor.",
> "publish": true,
> "subnote_guid": "7e7523151fa57827315ceb1772346741"
> }
> ],
> "persistent_id": "497d3dd4284731aa1331eac06928d10a"
> }
>
>
>
> Of course, you could further process that output, or grab the contents of
> the note directly with an API query, etc.   But as Blake mentioned, I don’t
> think that any of the built-in reports include those notes right now since
> it does require extra processing to make the notes human readable.   But
> ASpace already includes a lot of code to do just that…  I just don’t know
> if any of the current reports tap into that.  The previous reporting system
> in ArchivesSpace, which used Jasper Reports, had an option to easily get
> those notes out and add them to the reports (e.g. that big blog above would
> become “English stage actor”), but even that wouldn’t take any EAD tags
> that might be present and convert those to something else.
>
>
>
> Kevin, your sample reports also include searching across unit titles in a
> finding aid, which is another great use case.  I’m afraid to see how many
> we have of those, but we should definitely look.  I know we’ve got quite a
> few, like
> https://archives.yale.edu/repositories/11/archival_objects/526696, which
> I’ve been meaning to update for quite some time.  In that case, though, my
> thought was just to add a new agent heading for
> http://id.loc.gov/authorities/names/no93005770
>