<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=utf-8">
<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;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"Trebuchet MS";
        panose-1:2 11 6 3 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-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;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
p.moz-signature, li.moz-signature, div.moz-signature
        {mso-style-name:moz-signature;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:white;}
p.siginlibro, li.siginlibro, div.siginlibro
        {mso-style-name:sig_inlibro;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Trebuchet MS",sans-serif;
        color:#888888;}
p.sigcontent, li.sigcontent, div.sigcontent
        {mso-style-name:sig_content;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        background:#F6F6F6;
        border:none;
        padding:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
p.nom, li.nom, div.nom
        {mso-style-name:nom;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:#005B85;
        font-weight:bold;}
p.inlibro, li.inlibro, div.inlibro
        {mso-style-name:inlibro;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:#BFD13D;}
p.in, li.in, div.in
        {mso-style-name:in;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:14.5pt;
        font-family:"Calibri",sans-serif;
        color:#BFD13D;}
p.libro, li.libro, div.libro
        {mso-style-name:libro;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:14.5pt;
        font-family:"Calibri",sans-serif;
        color:#005B85;}
p.desc, li.desc, div.desc
        {mso-style-name:desc;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
p.small, li.small, div.small
        {mso-style-name:small;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:9.5pt;
        font-family:"Calibri",sans-serif;}
p.tagline, li.tagline, div.tagline
        {mso-style-name:tagline;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:#00BCE4;}
p.sigfooter, li.sigfooter, div.sigfooter
        {mso-style-name:sig_footer;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        background:#EEEFEA;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.nom1
        {mso-style-name:nom1;
        color:#005B85;
        font-weight:bold;}
span.tagline1
        {mso-style-name:tagline1;
        color:#00BCE4;}
span.in1
        {mso-style-name:in1;
        color:#BFD13D;}
span.libro1
        {mso-style-name:libro1;
        color:#005B85;}
span.m-4631623723468276600term
        {mso-style-name:m_-4631623723468276600term;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
span.EmailStyle37
        {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:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Thanks Michael and Ian for helping out.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Stephen<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Philippe Blouin <philippe.blouin@inlibro.com>
<br>
<b>Sent:</b> 31 July 2020 13:16<br>
<b>To:</b> Bays, Ian <ian.bays@ptfs-europe.com>; Stephen Graham <s.graham4@herts.ac.uk><br>
<b>Cc:</b> koha-devel <koha-devel@lists.koha-community.org><br>
<b>Subject:</b> Re: [Koha-devel] ModBiblio function error<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p>+1<o:p></o:p></p>
<div>
<div>
<div style="border-top:solid #DDDDDD 1.5pt;border-left:none;border-bottom:solid #BFD13D 1.5pt;border-right:none;padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal" style="background:#F6F6F6"><span class="nom1"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif">Philippe Blouin,</span></span><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#888888"><br>
</span><span class="tagline1"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif">Directeur de la technologie</span></span><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#888888"><o:p></o:p></span></p>
<p class="desc" style="background:#F6F6F6"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#888888">Tél.  : (833) 465-4276, poste 230<br>
<a href="mailto:philippe.blouin@inLibro.com"><span style="color:#005B85;text-decoration:none">philippe.blouin@inLibro.com</span></a>
<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:#EEEFEA"><span class="in1"><span style="font-size:12.0pt;font-family:"Trebuchet MS",sans-serif">in</span></span><span class="libro1"><span style="font-size:12.0pt;font-family:"Trebuchet MS",sans-serif">Libro</span></span><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#888888">
</span><span class="tagline1"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif">| pour esprit libre |</span></span><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#888888">
<a href="http://www.inLibro.com"><span style="font-size:8.0pt;color:#005B85;text-decoration:none">www.inLibro.com</span></a>
<o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal">On 2020-07-30 5:51 p.m., Bays, Ian wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">I have seen this message when loading bib data if there are no authorities loaded. I think it's a quirk of having no authorities in the database. I have got round it by creating a single authority. I believe the message is cosmetic but
 it is disturbing. <o:p></o:p></p>
<div>
<p class="MsoNormal">Seems you have solved it anyway. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Ian <o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Thu, 30 Jul 2020, 19:54 Stephen Graham, <<a href="mailto:s.graham4@herts.ac.uk">s.graham4@herts.ac.uk</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:12.0pt">Thanks for the reply Michael. We did have the
<span class="m-4631623723468276600term">BiblioAddsAuthorities sys pref set to allow. I changed to don’t allow, and now my script doesn’t generate the error. Hmmmmm…. We are not using authorities so I guess it’s OK  keep this set to “don’t allow”?</span></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span class="m-4631623723468276600term"><span style="font-size:12.0pt"> </span></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span class="m-4631623723468276600term"><span style="font-size:12.0pt">Stephen</span></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Michael Hafen (TECH) <<a href="mailto:michael.hafen@washk12.org" target="_blank">michael.hafen@washk12.org</a>>
<br>
<b>Sent:</b> 30 July 2020 18:56<br>
<b>To:</b> Stephen Graham <<a href="mailto:s.graham4@herts.ac.uk" target="_blank">s.graham4@herts.ac.uk</a>><br>
<b>Cc:</b> koha-devel <<a href="mailto:koha-devel@lists.koha-community.org" target="_blank">koha-devel@lists.koha-community.org</a>><br>
<b>Subject:</b> Re: [Koha-devel] ModBiblio function error</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I did a quick look over the code.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">If your searchengine is set to Elasticsearch, then when ModZebra() is called it tries to index the record in the background at that time (at least that's the way it reads to me,
 I could be wrong).<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Also if you have the BiblioAddsAuthorities preference set, then ModBiblio calls BiblioAutoLink() to update authorities links, which will create an authority record if the AutoCreateAuthorities
 preference is set, which calls AuthorityMarc::AddAuthority(), which calls ModZebra().<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">The error to me looks like it's trying to contact the search engine to add/update an authority record, and can't find it.  But you have to have a lot of system preferences set just
 so to get that far.  So I'm not sure that's what's happening.<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">On Thu, Jul 30, 2020 at 4:46 AM Stephen Graham <<a href="mailto:s.graham4@herts.ac.uk" target="_blank">s.graham4@herts.ac.uk</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hi All – I have a script which uses the ModBiblio function (i.e.
<a href="https://perldoc.koha-community.org/19.11.x/C4/Biblio.html#ModBiblio" target="_blank">
https://perldoc.koha-community.org/19.11.x/C4/Biblio.html#ModBiblio</a>). I haven’t used the script for a while, and we’ve upgraded to 19.11 since I ran it last. Running the script today and I’m getting the following “error”:<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">oAuth error: Database unavailable (109) authorities Bib-1<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I’m seeing this 4-5 times for each bibilo I’ve updated. The update does work. The record looks fine in staff/OPAC, it’s findable etc. I’ve only updated 10 records on our test server,
 and before I update any more I’m just wondering why I’m getting this message and it will have an adverse effect on our indexing/database if I just ignore and update the reamining 6000+ records?<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Any advice would be most welcome!<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Cheers, Stephen<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">--------------------------------------<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Stephen Graham<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Library Technology Consultant<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Content and Collections Team<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Library and Computing Services<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">University of Hertfordshire<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Tel: 01707 286111<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Ext: 77751<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Email:
<a href="mailto:s.graham4@herts.ac.uk" target="_blank"><span style="color:#0563C1">s.graham4@herts.ac.uk</span></a><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">_______________________________________________<br>
Koha-devel mailing list<br>
<a href="mailto:Koha-devel@lists.koha-community.org" target="_blank">Koha-devel@lists.koha-community.org</a><br>
<a href="https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel" target="_blank">https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel</a><br>
website : <a href="http://www.koha-community.org/" target="_blank">http://www.koha-community.org/</a><br>
git : <a href="http://git.koha-community.org/" target="_blank">http://git.koha-community.org/</a><br>
bugs : <a href="http://bugs.koha-community.org/" target="_blank">http://bugs.koha-community.org/</a><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><br clear="all">
<br>
-- <o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Michael Hafen<o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Washington County School District Technology Department<o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt">Systems Analyst<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal">_______________________________________________<br>
Koha-devel mailing list<br>
<a href="mailto:Koha-devel@lists.koha-community.org" target="_blank">Koha-devel@lists.koha-community.org</a><br>
<a href="https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel" target="_blank">https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel</a><br>
website : <a href="http://www.koha-community.org/" target="_blank">http://www.koha-community.org/</a><br>
git : <a href="http://git.koha-community.org/" target="_blank">http://git.koha-community.org/</a><br>
bugs : <a href="http://bugs.koha-community.org/" target="_blank">http://bugs.koha-community.org/</a><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Koha-devel mailing list<o:p></o:p></pre>
<pre><a href="mailto:Koha-devel@lists.koha-community.org">Koha-devel@lists.koha-community.org</a><o:p></o:p></pre>
<pre><a href="https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel">https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel</a><o:p></o:p></pre>
<pre>website : <a href="http://www.koha-community.org/">http://www.koha-community.org/</a><o:p></o:p></pre>
<pre>git : <a href="http://git.koha-community.org/">http://git.koha-community.org/</a><o:p></o:p></pre>
<pre>bugs : <a href="http://bugs.koha-community.org/">http://bugs.koha-community.org/</a><o:p></o:p></pre>
</blockquote>
</div>
</body>
</html>