eprintsug / meprints

0 stars 0 forks source link

meprints enable error (w. ulcc-core) #1

Open cziaarm opened 9 years ago

cziaarm commented 9 years ago

So looks like there is an enable action that doesn't know to check in lib/defaultcfg. Installs ok, but I imagine the user workflow is not as MePrints as it should be.

Though that is all speculation.

------------------------------------------------------------------
---------------- EPrints System Error ----------------------------
------------------------------------------------------------------
Can't read XML file: '/opt/eprints3/archives/repo/cfg/workflows/user/default.xml'
------------------------------------------------------------------
EPrints System Error inducing stack dump
 at /opt/eprints3/tools/../perl_lib/EPrints.pm line 147.
        EPrints::abort() called at /opt/eprints3/tools/../perl_lib/EPrints/XML/LibXML.pm line 108
        EPrints::XML::parse_xml('/opt/eprints3/archives/repo/cfg/...') called at /opt/eprints3/tools/../perl_lib/EPrints/XML.pm line 1000
        EPrints::XML::add_to_xml('/opt/eprints3/archives/repo/cfg/...', '\x{a} <workflow xmlns="http://eprints.org/ep3/workflow" xmlns:epc...', 'meprints') called at /opt/eprints3/lib/plugins/EPrints/Plugin/Screen/EPMC/MePrints.pm line 62
        EPrints::Plugin::Screen::EPMC::MePrints::action_enable('EPrints::Plugin::Screen::EPMC::MePrints=HASH(0x706e0f8)') called at ./tools/epm line 249
        main::action_enable('EPrints::Repository=HASH(0xcc2cb8)') called at ./tools/epm line 109
cziaarm commented 9 years ago

or maybe this should be under ulcc-core?

drtjmb commented 9 years ago

The README.md on the develop branch of ulcc-core has specific instructions for enabling certain packages, meprints being one of them.

Also note I added a change so that when packages like meprints edit workflow XML files, they don’t turn it into a single line file anymore, whitespace is (to an extent) preserved.

Tim

Timothy Miles-Board Web & Repositories Development Specialist, University of London Computing Centre 020 7863 1342 | 07742 970 351 | timothy.miles-board@london.ac.ukmailto:timothy.miles-board@london.ac.uk The University of London is an exempt charity in England and Wales

From: Rory McNicholl [mailto:notifications@github.com] Sent: 29 January 2015 16:15 To: eprintsug/meprints Subject: Re: [meprints] meprints enable error (w. ulcc-core) (#1)

or maybe this should be under ulcc-core?

— Reply to this email directly or view it on GitHubhttps://github.com/eprintsug/meprints/issues/1#issuecomment-72052478.