[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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 at ecs.soton.ac.uk<mailto:eprints-tech at 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<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%7Cf7cb8cc0e714477ffe0108d62e82b472%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=Y2EIcNAymXiAjqbBltpJ4KCJrINaenuFZ1ERWRNVVUY%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%7Cf7cb8cc0e714477ffe0108d62e82b472%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=wSLgx1g6DIIOaLwt8roe%2BTwW9d09gWYYLDBV5vFiNuI%3D&amp;reserved=0<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%7Cf7cb8cc0e714477ffe0108d62e82b472%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=wSLgx1g6DIIOaLwt8roe%2BTwW9d09gWYYLDBV5vFiNuI%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%7Cf7cb8cc0e714477ffe0108d62e82b472%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=ze44QEZxcLPCfIicqes%2BAWe5LzBDxWeBQBnqh33BzHw%3D&amp;reserved=0<https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf7cb8cc0e714477ffe0108d62e82b472%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=ze44QEZxcLPCfIicqes%2BAWe5LzBDxWeBQBnqh33BzHw%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%7Cf7cb8cc0e714477ffe0108d62e82b472%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=M47v41NAQVOwNq89XJkmHFf67ks0GOjJzcHipJTFaKs%3D&amp;reserved=0<https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf7cb8cc0e714477ffe0108d62e82b472%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=M47v41NAQVOwNq89XJkmHFf67ks0GOjJzcHipJTFaKs%3D&amp;reserved=0>


*** 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%7Cf7cb8cc0e714477ffe0108d62e82b472%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=wSLgx1g6DIIOaLwt8roe%2BTwW9d09gWYYLDBV5vFiNuI%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%7Cf7cb8cc0e714477ffe0108d62e82b472%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=ze44QEZxcLPCfIicqes%2BAWe5LzBDxWeBQBnqh33BzHw%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%7Cf7cb8cc0e714477ffe0108d62e82b472%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=M47v41NAQVOwNq89XJkmHFf67ks0GOjJzcHipJTFaKs%3D&amp;reserved=0

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