<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body>
<p>Hi Tomasz,</p>
<p>I have do deal with these sorts of issues quite a lot. As you
probably won't be surprised to hear, I do not know of the top of
my head what is causing this issue. However, what typical I do is
grep over the archive's cfg and possibly bin directories to see if
I can spot any code that may relate to this error. Using the
following command you will find any code that could lead to that
error on line 379:</p>
<p>grep -rn " eq " EPRINTS_PATH/archives/ARCHIVE_NAME/cfg/
EPRINTS_PATH/archives/ARCHIVE_NAME/bin/ | grep ":379:"</p>
<p>If you don't find anything then it may be worth having a look in
perl_lib, lib, flavours/pub_lib. ingredients, site_lib etc. The
reason for the "(eval 173)" is probably due to line 379 calling a
user-defined function (sub).</p>
<p>If you can tell me the specific version of EPrints you are
running I can probably have a look though the code codebase to
give some suggestions. There is a good chance that line 379 will
be in the core codebase and line 173 will be the line in the
archive level user-defined function.</p>
<p>Regards</p>
<p>David Newman<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 10/07/2020 23:01, Tomasz Neugebauer
via Eprints-tech wrote:<br>
</div>
<blockquote type="cite" cite="mid:EMEW3|17287876062c784834bef3919bddc8abw69N2o14eprints-tech-bounces|ecs.soton.ac.uk|YTBPR01MB3967F7ADF6B4DDFE66385CB38B650@YTBPR01MB3967.CANPRD01.PROD.OUTLOOK.COM">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Tahoma",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Tahoma",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Tahoma",sans-serif;}
@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]-->
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">I just finished a CLI
script that updates some metadata field values in some items
in my repository. Everything is working fine as far as I can
tell, values get saved/updated, except that when I run the
script, I get this warning every time I do
$eprint->commit:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">“Use of uninitialized
value in string eq at (eval 173) line 379.”<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Has anyone seen this
before? It is rather cryptic and I can’t even tell what
file it is referring to?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Tomasz<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">*** Options: <a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a class="moz-txt-link-freetext" href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=01%7C01%7C%7C9094edf1035c419be5d808d8251e6ff2%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=2aG0MN%2FK3%2FYPHHoAMGlODORNGGwHJfHwUcp7htJGrqw%3D&reserved=0" originalSrc="http://www.eprints.org/tech.php/" shash="dROWP9ReJ1yWOMbGBFjBFa7eNqA15d1JRY4X+/DYfvmLoA1yqd+SdwltXewcUWSvbDVOu6YqDGId+qjWfaerAoBddWN6eGNwHUNl/NnP1DftuUNvy/M2FRUwUVPz9gS3rrXfrY5zt17EAtUT5vCoFtWNQWk5nBazYD2BWTYEbmw=">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a class="moz-txt-link-freetext" href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=01%7C01%7C%7C9094edf1035c419be5d808d8251e6ff2%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=LTbJKFB34%2Bl%2FEqu9qNIh1YMj40%2Fn7hdkNPmcNJwpp0E%3D&reserved=0" originalSrc="http://wiki.eprints.org/" shash="PrF4sRc+MRI2onq1yY2/xP3GSegj47PYbH2+Xn1QOh62kYO0pWwGyOBT8kcecntM3vIyaTyvlfQ5G/8bCjVvZbzaP0RGyFjC6cgB++FUwZZlhZIVIBgC+pn3ICISkSBh8T/6pxNQCYvXa3fHIShXhoENtFb+zAtYKSDpMxL2ako=">http://wiki.eprints.org/</a></pre>
</blockquote>
<div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top: 1px solid #D3D4DE;">
        <tr>
<td style="width: 55px; padding-top: 13px;"><a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&data=01%7C01%7C%7C9094edf1035c419be5d808d8251e6ff2%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=ag7oTT8xT0BDN43OV89uURF2DHN29wyJi4oKqiFe864%3D&reserved=0" originalSrc="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" shash="yQ1tqJncVxkiRE1d4dV2soXekFZ4Icykjt8+pj1Zowq0dL+6SnbwztDBcKf4iRS5+ipwQQPs3XO3hcQiFXOgf9Gndgwe8dFpCmjEMIflEoDcrw4+yRCsNs0u1REkOL9mYFDKWmHCRYPqXM2DkGQrHY3PStnjW5O03EpeSvUAcJI=" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png" alt="" width="46" height="29" style="width: 46px; height: 29px;"></a></td>
                <td style="width: 470px; padding-top: 12px; color: #41424e; font-size: 13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;">Virus-free. <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&data=01%7C01%7C%7C9094edf1035c419be5d808d8251e6ff2%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=ag7oTT8xT0BDN43OV89uURF2DHN29wyJi4oKqiFe864%3D&reserved=0" originalSrc="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" shash="yQ1tqJncVxkiRE1d4dV2soXekFZ4Icykjt8+pj1Zowq0dL+6SnbwztDBcKf4iRS5+ipwQQPs3XO3hcQiFXOgf9Gndgwe8dFpCmjEMIflEoDcrw4+yRCsNs0u1REkOL9mYFDKWmHCRYPqXM2DkGQrHY3PStnjW5O03EpeSvUAcJI=" target="_blank" style="color: #4453ea;">www.avg.com</a>
                </td>
        </tr>
</table><a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body>
</html>