EPrints Technical Mailing List Archive

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

Message: #04558


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

[EP-tech] Re: Problem with XML/DOM.pm


Hi again,

The operating system should be Ubuntu and not Debian.  Sorry about that.  Furthermore,  I made the upgrade on a few different machines and noted that after upgrading Ubuntu I had to manually add the Config::General Perl modules

apt-get install libconfig-general-perl

in order to get anything to work (saw a bug ticket on this for 3.3.13 but seems to be present for 3.3.14 as well).



Regards
Christer

-----Original Message-----
From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Christer Enkvist
Sent: den 11 augusti 2015 11:12
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Problem with XML/DOM.pm

Hi,

After an upgrade of Debian (wheezy/sid) the eprints software (3.3.14) begun to throw a lot of "subroutine redefined" for all eprints commands, e.g.

root@wasp:~# /etc/init.d/epindexer status Subroutine parse_xml_string redefined at /usr/share/eprints3/bin/../perl_lib/EPrints/XML/DOM.pm line 119.
Subroutine _parse_url redefined at /usr/share/eprints3/bin/../perl_lib/EPrints/XML/DOM.pm line 144.
Subroutine parse_xml redefined at /usr/share/eprints3/bin/../perl_lib/EPrints/XML/DOM.pm line 164.
Subroutine event_parse redefined at /usr/share/eprints3/bin/../perl_lib/EPrints/XML/DOM.pm line 211.
Subroutine _dispose redefined at /usr/share/eprints3/bin/../perl_lib/EPrints/XML/DOM.pm line 248.
Subroutine clone_and_own redefined at /usr/share/eprints3/bin/../perl_lib/EPrints/XML/DOM.pm line 261.
Subroutine document_to_string redefined at /usr/share/eprints3/bin/../perl_lib/EPrints/XML/DOM.pm line 276.
Subroutine make_document redefined at /usr/share/eprints3/bin/../perl_lib/EPrints/XML/DOM.pm line 286.
Subroutine version redefined at /usr/share/eprints3/bin/../perl_lib/EPrints/XML/DOM.pm line 295.
Indexer is running with PID 27690. Next index in 11 seconds.

Some seems to work (as above) but more worrying is that others commands crashes:

eprints@wasp:~$ generate_views ex
Subroutine parse_xml_string redefined at /usr/share/eprints3/bin/../perl_lib/EPrints/XML/DOM.pm line 119.
Subroutine _parse_url redefined at /usr/share/eprints3/bin/../perl_lib/EPrints/XML/DOM.pm line 144.
Subroutine parse_xml redefined at /usr/share/eprints3/bin/../perl_lib/EPrints/XML/DOM.pm line 164.
Subroutine event_parse redefined at /usr/share/eprints3/bin/../perl_lib/EPrints/XML/DOM.pm line 211.
Subroutine _dispose redefined at /usr/share/eprints3/bin/../perl_lib/EPrints/XML/DOM.pm line 248.
Subroutine clone_and_own redefined at /usr/share/eprints3/bin/../perl_lib/EPrints/XML/DOM.pm line 261.
Subroutine document_to_string redefined at /usr/share/eprints3/bin/../perl_lib/EPrints/XML/DOM.pm line 276.
Subroutine make_document redefined at /usr/share/eprints3/bin/../perl_lib/EPrints/XML/DOM.pm line 286.
Subroutine version redefined at /usr/share/eprints3/bin/../perl_lib/EPrints/XML/DOM.pm line 295.
Can't use an undefined value as an ARRAY reference at /usr/share/eprints3/bin/../perl_lib/XML/DOM/NamedNodeMap.pm line 136.

Any help would be most welcome!  

Christer

*** 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/