EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #07521


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

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


Hi Enio,

hmmm, Tnks, This installation is:   EPrints Version: 3.3.14
without this fixing…


Regards,

Avi 
---————————------------------








Am 09.10.2018 um 16:35 schrieb Enio Carboni via Eprints-tech <eprints-tech@ecs.soton.ac.uk>:

Hi Avi,

 which version of EPrints do you have?

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

See the diff file.

  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: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/