EPrints Technical Mailing List Archive

Message: #04557


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

[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