<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>+1<br>
</p>
<div class="moz-signature">
<style type="text/css">
.moz-signature {
color: #FFFFFF;
}
.sig_inlibro {
padding-top : 2px;
color: #888888;
font-family : "Trebuchet MS", verdana;
font-size: 90%;
}
.sig_content {
border-top: 2px solid #DDDDDD;
border-bottom: 2px solid #BFD13D;
background-color : #F6F6F6;
padding-left:10px;
}
.sig_inlibro a:visited, .sig_inlibro a:hover, .sig_inlibro a:link {
text-decoration: none;
color: #005B85;
}
.nom {
color: #005B85;
font-weight : bold;
}
.inlibro, .in {
color: #BFD13D;
}
.libro {
color: #005B85;
}
.in, .libro {
font-size : 120%;
}
.desc {
margin-bottom: 0;
padding-bottom: 5px;
}
.small {
font-size: 80%;
}
.tagline {
color : #00BCE4;
}
.sig_footer {
padding-left : 10px;
background-color : #EEEFEA;
}
</style>
<div class="sig_inlibro">
<div class="sig_content"> <span class="nom">Philippe Blouin,</span><br>
<span class="tagline small">Directeur de la technologie</span><br>
<p class="desc small"> Tél. : (833) 465-4276, poste 230<br>
<!--
Tél. : (888) 604-2627<br/>
--> <a href="mailto:philippe.blouin@inLibro.com">philippe.blouin@inLibro.com</a>
</p>
</div>
<div class="sig_footer"> <span class="in">in</span><span
class="libro">Libro</span> <span class="tagline small">|
pour esprit libre |</span> <a class="small"
href="http://www.inLibro.com">www.inLibro.com</a> </div>
</div>
</div>
<div class="moz-cite-prefix">On 2020-07-30 5:51 p.m., Bays, Ian
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CADQzdZVsOvp_a00Ty2nctRjaEtQfhmLGC2G0Ozg1d1z8eWcmvg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="auto">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.
<div dir="auto">Seems you have solved it anyway. </div>
<div dir="auto">Ian </div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, 30 Jul 2020, 19:54
Stephen Graham, <<a href="mailto:s.graham4@herts.ac.uk"
moz-do-not-send="true">s.graham4@herts.ac.uk</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-GB">
<div class="m_-4631623723468276600WordSection1">
<p class="MsoNormal"><span style="font-size:12.0pt">Thanks
for the reply Michael. We did have the
</span><span class="m_-4631623723468276600term"><span
style="font-size:12.0pt">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></p>
<p class="MsoNormal"><span
class="m_-4631623723468276600term"><span
style="font-size:12.0pt"> </span></span></p>
<p class="MsoNormal"><span
class="m_-4631623723468276600term"><span
style="font-size:12.0pt">Stephen</span></span><span
style="font-size:12.0pt"></span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span
lang="EN-US"> Michael Hafen (TECH) <<a
href="mailto:michael.hafen@washk12.org"
target="_blank" rel="noreferrer"
moz-do-not-send="true">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"
rel="noreferrer" moz-do-not-send="true">s.graham4@herts.ac.uk</a>><br>
<b>Cc:</b> koha-devel <<a
href="mailto:koha-devel@lists.koha-community.org"
target="_blank" rel="noreferrer"
moz-do-not-send="true">koha-devel@lists.koha-community.org</a>><br>
<b>Subject:</b> Re: [Koha-devel] ModBiblio function
error</span></p>
<p class="MsoNormal"> </p>
<div>
<div>
<p class="MsoNormal">I did a quick look over the code.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">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).</p>
</div>
<div>
<p class="MsoNormal">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().</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">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.</p>
</div>
</div>
<p class="MsoNormal"> </p>
<div>
<div>
<p class="MsoNormal">On Thu, Jul 30, 2020 at 4:46 AM
Stephen Graham <<a
href="mailto:s.graham4@herts.ac.uk"
target="_blank" rel="noreferrer"
moz-do-not-send="true">s.graham4@herts.ac.uk</a>>
wrote:</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">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" rel="noreferrer"
moz-do-not-send="true">
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”:</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">oAuth error: Database
unavailable (109) authorities Bib-1</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">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?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Any advice would be most
welcome!</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Cheers, Stephen</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">--------------------------------------</p>
<p class="MsoNormal">Stephen Graham</p>
<p class="MsoNormal">Library Technology Consultant</p>
<p class="MsoNormal">Content and Collections Team</p>
<p class="MsoNormal">Library and Computing
Services</p>
<p class="MsoNormal">University of Hertfordshire</p>
<p class="MsoNormal">Tel: 01707 286111</p>
<p class="MsoNormal">Ext: 77751</p>
<p class="MsoNormal">Email:
<a href="mailto:s.graham4@herts.ac.uk"
target="_blank" rel="noreferrer"
moz-do-not-send="true"><span
style="color:#0563c1">s.graham4@herts.ac.uk</span></a></p>
<p class="MsoNormal"> </p>
</div>
</div>
<p class="MsoNormal">_______________________________________________<br>
Koha-devel mailing list<br>
<a href="mailto:Koha-devel@lists.koha-community.org"
target="_blank" rel="noreferrer"
moz-do-not-send="true">Koha-devel@lists.koha-community.org</a><br>
<a
href="https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel"
target="_blank" rel="noreferrer"
moz-do-not-send="true">https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel</a><br>
website : <a href="http://www.koha-community.org/"
target="_blank" rel="noreferrer"
moz-do-not-send="true">http://www.koha-community.org/</a><br>
git : <a href="http://git.koha-community.org/"
target="_blank" rel="noreferrer"
moz-do-not-send="true">http://git.koha-community.org/</a><br>
bugs : <a href="http://bugs.koha-community.org/"
target="_blank" rel="noreferrer"
moz-do-not-send="true">http://bugs.koha-community.org/</a></p>
</blockquote>
</div>
<p class="MsoNormal"><br clear="all">
<br>
-- </p>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">Michael Hafen</p>
</div>
<p class="MsoNormal">Washington County School
District Technology Department</p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Systems
Analyst</p>
</div>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br>
Koha-devel mailing list<br>
<a href="mailto:Koha-devel@lists.koha-community.org"
target="_blank" rel="noreferrer" moz-do-not-send="true">Koha-devel@lists.koha-community.org</a><br>
<a
href="https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true">https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel</a><br>
website : <a href="http://www.koha-community.org/"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true">http://www.koha-community.org/</a><br>
git : <a href="http://git.koha-community.org/"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true">http://git.koha-community.org/</a><br>
bugs : <a href="http://bugs.koha-community.org/"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true">http://bugs.koha-community.org/</a><br>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Koha-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Koha-devel@lists.koha-community.org">Koha-devel@lists.koha-community.org</a>
<a class="moz-txt-link-freetext" href="https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel">https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel</a>
website : <a class="moz-txt-link-freetext" href="http://www.koha-community.org/">http://www.koha-community.org/</a>
git : <a class="moz-txt-link-freetext" href="http://git.koha-community.org/">http://git.koha-community.org/</a>
bugs : <a class="moz-txt-link-freetext" href="http://bugs.koha-community.org/">http://bugs.koha-community.org/</a>
</pre>
</blockquote>
</body>
</html>