<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <p><font size="4">Hi Agung,</font></p>
    <p><font size="4">So the problem seems to be that the
        Time::Local::timegm function has been called without any
        parameters.&nbsp; As $sec (i.e. seconds past the minute) is the first
        parameter.&nbsp; In theory, you should never call </font><font size="4">Time::Local::timegm itself as should only be called
        through an EPrints::Time function or some other core codebase
        file, which should not call this function without parameters. <br>
      </font></p>
    <p><font size="4">Looking through the codebase to see where timegm
        or functions that call timegm are called, the one that is most
        likely to affect generating abstracts is the use in
        perl_lib/EPrints/Script/Compiled.pm.&nbsp; To help debug this is
        would be useful to see the following files if you have modified
        them for your archive configuration, i.e. under
        archives/ARCHIVEID/cfg/:</font></p>
    <p><font size="4">cfg.d/eprint_render.pl</font></p>
    <p><font size="4">citations/eprint/default.xml</font></p>
    <p><font size="4">citations/eprint/summary_page.xml</font></p>
    <p><font size="4">citations/document/default.xml</font></p>
    <p><font size="4">Whilst I was checking through this, I noted that I
        recently (post 3.4.3 release) made a change to lib/</font><font size="4"><font size="4">citations/eprint/document/default.xml so
          it uses the comparison of the embargo date with today to
          determine what to display.&nbsp; Just to confirm you are not trying
          to install EPrints from the latest revision of EPrints 3.4 on
          GitHub (i.e. Git HEAD), which you would get if you run the
          following without a further git checkout to get a specific
          version:</font></font></p>
    <p><font size="4"><font size="4">git clone
          <a class="moz-txt-link-freetext" href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints3.4.git&amp;data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cad0aa21f24644e78e65208da3bdc95c3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637888115864695192%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=uL9J2NNARmzWeoRzx%2F2F3amSjtbwgcKUFG0e0ahv8eU%3D&amp;reserved=0" originalSrc="https://github.com/eprints/eprints3.4.git" shash="jDUWhtNU6cjfGdY8k/MlVaScZprNMAG4ug9wPPZ7OFGqm/ecqJ6I0Q+yAzpC50nUfXBTVx70y0nvcmQpCjJuYdjxzIlJIOmC8IiQA4fVz4vSU2XvdSA8TLolUJv36frOvlE0wjd7vBP2XJcB4SRm9qCKCUYGBOmQQlJO8rz3Dbc=">https://github.com/eprints/eprints3.4.git</a></font></font></p>
    <p><font size="4"><font size="4">If so are any restricted documents
          for the abstracts pages generated by you running
          generate_abstracts?</font></font></p>
    <p><font size="4"><font size="4">Based on the two sets of error
          messages, it looks like both abstract pages are affected, so
          this is a general rather than specific&nbsp; issue.&nbsp; So I need to
          checks some details about you install:</font></font></p>
    <p><font size="4"><font size="4">1. Is this upgrade installed on a
          new server or are you upgrading your live repository?</font></font></p>
    <p><font size="4"><font size="4">2. If this is a new server, what
          version of Ubuntu or other type of Linux are you currently
          running for your live repository on?</font></font></p>
    <p><font size="4"><font size="4">3. What version of EPrints are you
          upgrading from?</font></font></p>
    <p><font size="4"><font size="4">4. What process of upgrading
          EPrints are you using?&nbsp; Are you installing the new version of
          EPrints from source?&nbsp; If so please give some details are where
          you are getting the source for EPrints 3.4.3 and the process
          you are using to deploy it.</font></font></p>
    <p><font size="4"><font size="4">Regards</font></font></p>
    <p><font size="4"><font size="4">David Newman<br>
        </font></font></p>
    <div class="moz-cite-prefix">On 22/05/2022 3:32 am, Ajunk Pracetio
      via Eprints-tech wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:CACOEPmOny_DMBFNacSzDSnS3UCuWjSV72Rk-k2qKUs=F1-JyNw@mail.gmail.com">
      
      <div style="padding-bottom: 10px; padding-top: 5px;">
        <div style="padding:12px; border:1px solid #8D3970;
          background-color:#F7F9FA; color:#8D3970; font-size:14px;
          line-height:22px; font-family: Calibri, Arial, Helvetica,
          sans-serif;">
          <strong>CAUTION:</strong> This e-mail originated outside the
          University of Southampton.
        </div>
      </div>
      <div>
        <div dir="ltr">Hi,
          <div><br>
          </div>
          <div>I just installed eprints 3.4.3 on Ubuntu 20.04 LTS. When
            I running generate_abstract command, the result like this :</div>
          <div>----------------------------------------------<br>
          </div>
          <div><font face="arial, sans-serif">eprints@repository:~$
              ./bin/generate_abstracts ARCHIVEID --verbose<br>
              Possible attempt to put comments in qw() list at (eval
              167) line 29.<br>
              <br>
              Starting EPrints Repository.<br>
              Connecting to DB ... done.<br>
              Writing abstracts<br>
              Use of uninitialized value $sec in numeric ge (&gt;=) at
              /usr/share/perl/5.30/Time/Local.pm line 136.<br>
              Use of uninitialized value $sec in numeric lt (&lt;) at
              /usr/share/perl/5.30/Time/Local.pm line 136.<br>
              Use of uninitialized value $sec in addition (+) at
              /usr/share/perl/5.30/Time/Local.pm line 154.<br>
              Use of uninitialized value $sec in numeric ge (&gt;=) at
              /usr/share/perl/5.30/Time/Local.pm line 136.<br>
              Use of uninitialized value $sec in numeric lt (&lt;) at
              /usr/share/perl/5.30/Time/Local.pm line 136.<br>
              Use of uninitialized value $sec in addition (+) at
              /usr/share/perl/5.30/Time/Local.pm line 154.<br>
              Writing:
              /usr/share/eprints/archives/ARCHIVEID/html/en/archive/00/00/00/01/index<br>
              Generated 1<br>
              Generated 2<br>
              Done writing 2 abstracts<br>
              Ending EPrints Repository.<br>
              eprints@repository:~$</font><br>
          </div>
          <div>----------------------------------------------<font face="arial, sans-serif"><br>
            </font></div>
          <div><br>
          </div>
          <div>Does the error message affect eprints or not? Is there a
            way to get rid of the message, because in previous versions
            of eprints, the error message did not appear.</div>
          <div><br>
          </div>
          <div>Thank you.</div>
          <div><br>
          </div>
          <div>Best regards,</div>
          <div>Agung Prasetyo Wibowo</div>
          <div><a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fagungprasetyo.net%2F&amp;data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cad0aa21f24644e78e65208da3bdc95c3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637888115864695192%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=N1HEqJrngOT%2FwtWkpm8GyJ2wPaaBwWX0ObV3AWPP5Q0%3D&amp;reserved=0" originalSrc="https://agungprasetyo.net/" shash="sfaPh6jXJLo/HpjQukpJszLUkiB4DjIgTkS2R/hZ7UrpFOgf2pcBq0Sx9QhX9dNvS2zNUxF9FBHQq+g1E1KnqkxsywXn+c3Rff0IeMJ7S2oSQd7qvKd9y8Av4ld14AvfWfS3sqm8Vc7Zfh8vY6bBqmwOatVpT5zA1hfnvSmsXBM=" originalsrc="https://agungprasetyo.net/" shash="gMOc5ppQJFU+L+JUYVeXIy0IFAR4e8HH8eOrJRTYBnkTCUgn/eUMRajhyCZoInIfoKTV7BrQu9XUx+kZyl9E1iuHoKjVPdkBuLTUQaUrTeuABwrB0Pmu7DvUD6vhWPWEKrgeBJk4tVlsij2KLIoMk/8YIYssAd8Vy/H7kDmgMjk=" moz-do-not-send="true">https://agungprasetyo.net/</a>&nbsp;</div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div><br>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></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&amp;data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cad0aa21f24644e78e65208da3bdc95c3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637888115864695192%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=Ha0lKoqbbd73Rxg6SWyJH7tI4t51AG0AjBZ9KhSSI4E%3D&amp;reserved=0" originalSrc="http://www.eprints.org/tech.php/" shash="ngx93PGOJy7035eUlBrluPXfkpQpMfWliULgNsWgjYl8+VTbCXI3nfaFAQEohhSAI6FrMSiVjIYooc8DJ5ytcB45MGNcKTLT9uB7HDsSC8dWKsCyRATHrCJlWMJCpbNQzQ3P5odA/XmU14K+YFk2VviAEWwt62Z5rZVPvnCS1UI=">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=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cad0aa21f24644e78e65208da3bdc95c3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637888115864695192%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=T%2FcIGUKpySFeGYzvw%2BOLwZ2rDwQnNKgnC3ufDAmb5hQ%3D&amp;reserved=0" originalSrc="http://wiki.eprints.org/" shash="Wmq2tmf4bz/g4tdQDomz6yiCoIiQlvaffF53P9dTVvGCU+I+yaQjNl5twzZj8RXPk46V/QJ7Ehjq046OUBa81zjr0c7/FY5vjWmEmgMxauyMC0ZQdGR/DdhEi+03rG+u85goTqZRvX5aGcnO6nVVOVpbX3oZVaN7n6TwuQh+q4o=">http://wiki.eprints.org/</a></pre>
    </blockquote>
  </body>
</html>