[EP-tech] WARNING: Use of uninitialized value in subroutine

Enio Carboni enio.carboni at gmail.com
Tue Oct 9 15:35:37 BST 2018


Hi Avi,

  which version of EPrints do you have?

The bugfix was introduced in 2015 with the commit number 
899e7765a69b72afb784d691469ebf4061eab22b.

Seethe diff file 
<https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints%2Fcommit%2F899e7765a69b72afb784d691469ebf4061eab22b%23diff-7ede0be21a790fc96e46e897f5abbbb1&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ce9c48472263d47a2b18808d62df47cdf%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=O2hAlTE6p%2BcniByFRGO9Wt9eM5qWmp1i5BRtFDjNjk0%3D&amp;reserved=0>.

   Enio Carboni


Il 09/10/2018 15:52, Stenger, Avischai via Eprints-tech ha scritto:
> hello all,
>
>
> just a notice: in an existing repository that i got „as is“ i noticed 
> lots of warning while calling, (for example)  bin/generate_abstracts 
> REPOSITORY-NAME eprintid
>
>
> WARNING: Use of uninitialized value in subroutine entry at 
> /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50
>
> CODE in ID.pm:
>
> 48       if( $session->{database}->{dbh}->{Driver}->{Name} eq "mysql" )
> 49        {
> 50                utf8::decode( $row->[0] );
> 51        }
>
>
> if the  „if- statement“ exclude an undef/empty $row->[0] this will not 
> appear.
>
>
> Enjoy the Day
>
> Avi
>
>
>
>
>
>
>
>
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ce9c48472263d47a2b18808d62df47cdf%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=VG2FTnf3EJiIzV%2BDBmvJWobmOFmjSgc1Wueua6rSIh8%3D&amp;reserved=0
> *** EPrints community wiki: https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ce9c48472263d47a2b18808d62df47cdf%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=AVIqQxVDiR%2FgSSxLPRJwRZ7A4%2F%2FF9WGh4vgk6%2FnBwNI%3D&amp;reserved=0
> *** EPrints developers Forum: https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ce9c48472263d47a2b18808d62df47cdf%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=3e75PEgzbh%2FIdowOh%2FndfW5Dsvw7GonBNfHKdXYGCl0%3D&amp;reserved=0

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20181009/88828b6e/attachment-0001.html 


More information about the Eprints-tech mailing list