<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body smarttemplateinserted="true">
<div id="smartTemplate4-template">Hi James,<br>
<br>
The &quot;Duplicate field name encountered: user.orcid&quot; error will occur if you have an ORCID field defined for your user dataset elsewhere. The ORCID Plugin attempts to add one as well, operating under the assumption that the repository doesn't yet have fields
 for storing ORCIDs in. It makes some attempt to try and work out if such a field is already present, but it looks like this is not as sophisticated as it needs to be.
<br>
<br>
Therefore to fix this problem rather than simply disable orcid_support.pl completely I'd recommend just commenting out the lines where it tries to add the ORCID field to the user dataset, i.e. the lines between #---Users---# (line 26) and #---Eprints---# (line
 47) and then perhaps run an epadmin test (which should highlight issues such as duplicate field definitions) to see if it is ok to restart the server again.<br>
<br>
I can't see why the &quot;Undefined subroutine &amp;EPrints::ORCID::Utils::get_normalised_orcid called at (eval 222) line 9.&quot; error should appear as the Bazaar plugin appears to have this file and this function. Re-enabling z_orcid_support.pl may well fix this however,
 once the previous fix is in place.<br>
<br>
Many thanks,<br>
<br>
Will<br>
</div>
<div id="smartTemplate4-quoteHeader"><br>
<hr>
<b>From:</b> James Kerwin Via Eprints-tech <a class="moz-txt-link-rfc2396E" href="mailto:eprints-tech@ecs.soton.ac.uk">
&lt;eprints-tech@ecs.soton.ac.uk&gt;</a> [<a class="moz-txt-link-abbreviated" href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a>]
<b>Sent:</b> 04 April 2019 10:39 <b>To:</b> Eprints-tech <a class="moz-txt-link-rfc2396E" href="mailto:eprints-tech@ecs.soton.ac.uk">
&lt;eprints-tech@ecs.soton.ac.uk&gt;</a> <b>Subject:</b> [EP-tech] Bazaar Update Gone Wrong - ORCID Support
<br>
</div>
<div class="replaced-blockquote" cite="mid:EMEW3|e21e06bcb02e7433fa374aaf08eb0081v33Ae514eprints-tech-bounces|ecs.soton.ac.uk|CAKkNZ9DN7n2EFWs_CudPVjN8XTeftm=Yo0vR58kT6q75ZqrcyQ@mail.gmail.com" type="cite">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">Hello again,
<div><br>
</div>
<div>I have a follow-up question to me earlier one.</div>
<div><br>
</div>
<div>I attempted to upgrade the orcid support plugin to V1.7. I got an error page saying:</div>
<div><br>
</div>
</div>
<blockquote style="margin:0px 0px 0px
            40px;border:none;padding:0px">
<blockquote style="margin:0px 0px 0px
              40px;border:none;padding:0px">
<div dir="ltr">
<div>Duplicate field name encountered: user.orcid</div>
<div><br>
</div>
</div>
</blockquote>
</blockquote>
After restarting the server the repository went down. I changed all the following in the&nbsp;<a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Forcid_zupport.pl%2F&amp;data=01%7C01%7C%7C107b81e7d39249b6e95c08d6b8e2eae0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=5yvX6ptrIlgi7SN9GEnjxFBZAIpY7UgleTMYLICjS%2FY%3D&amp;reserved=0" originalsrc="http://orcid_zupport.pl/" shash="ciu6N4XtPqbvkbVtUH&#43;gztfCCX7Kus3RoclLbxeZtInBvsf9qbUigBX&#43;VlXHJkigjedobd7JF&#43;Q0j8DdKWc8h&#43;pS&#43;Ebi6SQMV9&#43;iDjx9KqTFIEOCMGSo&#43;3Wa9d3HSMmBfldKmQAML8BRXQE7e5YpOIEIWk5hFLJGm5GzUnn4e6U=" originalsrc="http://orcid_zupport.pl/" shash="MYyEpI3Y1oSl8vdlZqOybGHdQe2qZkdIuB5yrwPXOp7&#43;PJsAo8yXWkkehft7ISqIU0UxiYpe37GpCCavozzQunZfpDNpU7/lgOVesPAUieXM6DhKVq0J5GFkogbijWnP2Fx24GOvbFFS&#43;UeaBBLBkQvNe8uhVT/4yix8nNsOzcw=" target="_blank" moz-do-not-send="true">orcid_zupport.pl</a>&nbsp;script
 to:
<div><br>
</div>
<div>
<div>#Enable the plugin!</div>
<div>$c-&gt;{plugins}{&quot;Orcid&quot;}{params}{disable} = 1;</div>
<div>$c-&gt;{plugins}{&quot;Screen::Report::Orcid::UserOrcid&quot;}{params}{disable} = 1;</div>
<div>$c-&gt;{plugins}{&quot;Screen::Report::Orcid::AllUsersOrcid&quot;}{params}{disable} = 1;</div>
<div>$c-&gt;{plugins}{&quot;Screen::Report::Orcid::CreatorsOrcid&quot;}{params}{disable} = 1;</div>
<div>$c-&gt;{plugins}{&quot;Export::Report::CSV::CreatorsOrcid&quot;}{params}{disable} = 1;</div>
</div>
<div><br>
</div>
<div>In order to disable the plugin. Still no signs of life from the server. Changed the name of the script to end in .&quot;.pl.broken&quot;. Restarted the server and got life, but on the staff view of an eprint I get an error:</div>
<div><br>
</div>
</div>
<blockquote style="margin:0px 0px 0px
          40px;border:none;padding:0px">
<blockquote style="margin:0px 0px 0px
            40px;border:none;padding:0px">
<div dir="ltr">
<div>
<pre style="white-space:pre-wrap;color:rgb(0,0,0)">Undefined subroutine &amp;EPrints::ORCID::Utils::get_normalised_orcid called at (eval 222) line 9.</pre>
</div>
</div>
</blockquote>
</blockquote>
<div dir="ltr">
<div><br>
</div>
<div>Does anybody know what caused this and how I fix it?</div>
<div><br>
</div>
<div>Thanks,</div>
<div>James&nbsp;</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset> <br>
<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&amp;data=01%7C01%7C%7C107b81e7d39249b6e95c08d6b8e2eae0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=ARqa2OTjnZd%2BzZ6HDFv1gCgHYFYCpeLJsuQI4bMYza4%3D&amp;reserved=0" originalsrc="http://www.eprints.org/tech.php/" shash="S&#43;SK4tRVp&#43;3mhOKd5Re48yDTdqR2kHiiv/VrYmQxnyE8Az10LXQtbeOHx9&#43;diGBsc2bvVc8bnPxIYPwvNGbxqQPuG5xIrFMAOpLTNFtGrEl7ET/zffGwN7CxQS&#43;dJBNHb/dlZzLgquukUVjTnlR2R6zLb8LbfIhINgDzs3CkOtY=">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&amp;data=01%7C01%7C%7C107b81e7d39249b6e95c08d6b8e2eae0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=874gAzz%2BbitOOcb479tlt3%2BIAhT%2FWf1dg3CBAu4U5L8%3D&amp;reserved=0" originalsrc="http://wiki.eprints.org/" shash="FxCysr09/Ci&#43;fNxBgurOtcnky8WZHsNLXxo&#43;p9cRF4CyTiaY6eVgpHw88ArkW4moc&#43;Vts9AXd32EvRWuwrmYuA3Bg1Hjq7GBfvY1go9CxkU2UQb0N&#43;xk763SI9sIzRJG4lfKQFszW71VKF97Fhjrp3FdK//Y4MwTAn6cp4QJ8OQ=">http://wiki.eprints.org/</a>
*** EPrints developers Forum: <a class="moz-txt-link-freetext" href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&amp;data=01%7C01%7C%7C107b81e7d39249b6e95c08d6b8e2eae0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=pTfLP44F23c8qJII%2FCh%2BeWKd%2Bofpyjv0Uo9u1wgk%2FFk%3D&amp;reserved=0" originalsrc="http://forum.eprints.org/" shash="P97kkDuvuKkaZCQYY8uCorCCV6H4a/7Ir&#43;qAytx1X045bdY&#43;CiExHm/qAXhMQY1WnCsVd1hbtdMlDKz0qYYpunGEwceH9USpnDF9magNZvg9pw5WAJYD7kyCDuupK2wMxEBoGFpBThvACKBBd5CLvQC2h2FRsxd07e&#43;FyINJW3E=">http://forum.eprints.org/</a>
</pre>
</div>
<br>
</body>
</html>