<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 15 (filtered medium)">
<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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:10.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
font-size:10.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle24
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.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;}
/* List Definitions */
@list l0
{mso-list-id:838156747;
mso-list-type:hybrid;
mso-list-template-ids:1827706148 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level2
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level3
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level4
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level5
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level6
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level7
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level8
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level9
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l1
{mso-list-id:1242720006;
mso-list-template-ids:1575397244;}
@list l2
{mso-list-id:1392843458;
mso-list-template-ids:-1884151044;}
@list l3
{mso-list-id:1885170116;
mso-list-type:hybrid;
mso-list-template-ids:105707846 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l3:level1
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l3:level2
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l3:level3
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l3:level4
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l3:level5
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l3:level6
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l3:level7
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l3:level8
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l3:level9
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></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="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Aha! Thank you. I’ll investigate 008 with our cataloging librarians.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri"><font face="Calibri">__________________________________ <br><br style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri">Sarah Newhouse <em>(she, her, hers)</em> <br style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri">Digital Preservation Archivist <br style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri"></font><span style="font-size: 14.6667px;">Othmer Library of Chemical History</span><font face="Calibri"> <br style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri">t. +1.215.873.8249
<br></font></p>
<p style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri"><font face="Calibri"><strong>Science History Institute </strong><br style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri">Chemistry • Engineering
• Life Sciences <br style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri">315
Chestnut Street • Philadelphia, PA 19106 • U.S.A. <br style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri">Learn about the scientific
discoveries that changed our world at <a title="" href="https://www.sciencehistory.org/learn">sciencehistory.org/learn</a></font></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt">From:</span></b><span style="font-size:11.0pt"> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org>
<b>On Behalf Of </b>Brian Harrington<br>
<b>Sent:</b> Tuesday, January 24, 2023 11:13 AM<br>
<b>To:</b> Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] MARC XML import<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Hi Sarah,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<ol style="margin-top:0in" start="1" type="1">
<li class="MsoListParagraph" style="margin-left:0in;mso-list:l0 level1 lfo3"><span style="font-size:11.0pt">The MARCXML importer gets the language from 008/35-37. I’m not sure what happened to it, but the 008 in your record looks short. Looking at the code,
if the language positions are blank the language is set to undefined. But that would only work if there are actual blanks in those positions.<o:p></o:p></span></li><li class="MsoListParagraph" style="margin-left:0in;mso-list:l0 level1 lfo3"><span style="font-size:11.0pt">Underneath the error messages, you can see a representation of the JSON record that ASpace is trying to load. If you look at “notes”=>, the first one
(position 0) has an empty "subnotes"=>[{"jsonmodel_type"=>"note_text"}]. You can see this is an odd note with a label of “Publication date”. In this case, ASpace is trying to create a date note from the 260$c, which is blank in your case, so the it creates
a bad note. However, it’s only trying to create that note because it can’t get the date from the 008. ASpace only recognizes 008 dates if 008/06 is an i, k, or s, and you have a q there. It probably should recognize the q, but the quick fix would be to
change that to an i or an s.<o:p></o:p></span></li></ol>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I hope this helps.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Brian<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">-- <o:p></o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">Brian Harrington (he/him)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Data Migration Specialist<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">LYRASIS<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><a href="mailto:brian.harrington@lyrasis.org">brian.harrington@lyrasis.org</a><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;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 Newhouse, Sarah <<a href="mailto:snewhouse@sciencehistory.org">snewhouse@sciencehistory.org</a>><br>
<b>Date: </b>Monday, January 23, 2023 at 5:05 PM<br>
<b>To: </b>Archivesspace Users Group <<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org">archivesspace_users_group@lyralists.lyrasis.org</a>><br>
<b>Subject: </b>[Archivesspace_Users_Group] MARC XML import<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt">Hi all, <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I would really appreciate another set of eyes on these two errors I’m getting while testing ingest of MARC XML (resource records) from our library catalog into 3.2:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> <o:p></o:p></span></p>
<ol style="margin-top:0in" start="1" type="1">
<li class="MsoListParagraph" style="margin-left:0in;mso-list:l3 level1 lfo6"><i><span style="font-size:11.0pt">lang_materials/0/language_and_script/language : Property is required but was missing</span></i><span style="font-size:11.0pt"><br>
I’ve tried a few different things here and can’t pinpoint the problem. There isn’t a MARC field that maps to this ASpace field in
<a href="https://docs.google.com/spreadsheets/d/1jU6MYF7UI7a-UKdd5XhYCV6W1UyrMMCzYDFlgb8iNW8/edit#gid=1527709562">
the most recent import map</a> (unless I’m misreading it, which is entirely possible – it’s been a long day), but native ASpace resource records exported as MARCXML will import back in with language and script data, so I can tell there
<i>is</i> a MARC field that maps to this. Based on MARC XML from resource records created in ASpace, I tried adding language info in 040$a or 041$b, but neither resulted in a successful import, just the same error message. Is there a MARC field I’m missing
in the import map and/or the ASpace-generated MARC? The <a href="https://archivesspace.atlassian.net/wiki/spaces/ArchivesSpaceUserManual/pages/917405730/Languages+Sub-Record+as+of+v2.7.0">
Help Center</a> does say this field can be imported as MARC XML, but doesn’t say how. <o:p></o:p></span></li><li class="MsoListParagraph" style="margin-left:0in;mso-list:l3 level1 lfo6"><i><span style="font-size:11.0pt">notes/0/subnotes/0/content : Property is required but was missing</span></i><span style="font-size:11.0pt"><o:p></o:p></span></li></ol>
<p class="MsoListParagraph"><span style="font-size:11.0pt">I see that other folks have encountered this error with an index number to point them to the note that’s missing content, but lacking one here I’m not sure where to start. And looking at my sample files
with my fallible human eyes I don’t see any empty fields. Has anyone run into this before? Is this just pointing at my missing language field?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">If there’s a resource or guide I’ve missed – especially for interpreting import job errors -- please point me to it! MARC XML is attached (with the added 040 and 041 fields) in case it’s helpful.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Thank you! <o:p></o:p></span></p>
<p>__________________________________ <br>
<br>
Sarah Newhouse <em><span style="font-family:"Calibri",sans-serif">(she, her, hers)</span></em>
<br>
Digital Preservation Archivist <br>
Othmer Library of Chemical History <br>
t. +1.215.873.8249 <o:p></o:p></p>
<p><strong><span style="font-family:"Calibri",sans-serif">Science History Institute </span></strong><br>
Chemistry • Engineering • Life Sciences <br>
315 Chestnut Street • Philadelphia, PA 19106 • U.S.A. <br>
Learn about the scientific discoveries that changed our world at <a href="https://www.sciencehistory.org/learn">
sciencehistory.org/learn</a><o:p></o:p></p>
</div>
</body>
</html>