Hello,
do you mean, why this error occurs "technically"? That would be the
missing parameter "-e" as the error message states:
Required parameter -e missing!
so "/dspace/bin/dspace curate -t checklinks -i all -e
[email protected]" should work (as long as an account with that
email exists).
Or do you mean, why an eperson is necessary for this operations?
Regards
Johannes
Am 10.03.23 um 14:35 schrieb Karol:
Hi,
I'm trying to use "curate" using the command line
/dspace/bin/dspace curate -t checklinks -i all
/dspace/bin/dspace curate -t noop
and other, but every time i see error below:
usage: curate
-e,--eperson <arg> email address of curating eperson
-h,--help help
-i,--id <arg> Id (handle) of object to perform task on, or 'all'
to perform on whole repository
-p,--parameter <arg> a task parameter 'NAME=VALUE'
-q,--queue <arg> name of task queue to process
-r,--reporter <arg> relative or absolute path to the desired report
file. Use '-' to report to console. If absent, no
reporting
-s,--scope <arg> transaction scope to impose: use 'object',
'curation', or 'open'. If absent, 'open' applies
-t,--task <arg> curation task name; options: [noop,
profileformats, requiredmetadata, checklinks,
registerdoi]
-T,--taskfile <arg> file containing curation task names
-v,--verbose report activity to stdout
whole repo: CurationCli -t estimate -i all
single item: CurationCli -t generate -i itemId
task queue: CurationCli -q monthly
org.apache.commons.cli.ParseException: Required parameter -e missing!
at
org.dspace.curate.CurationCli.assignCurrentUserInContext(CurationCli.java:45)
at org.dspace.curate.Curation.setup(Curation.java:230)
at org.dspace.scripts.DSpaceRunnable.parse(DSpaceRunnable.java:86)
at org.dspace.scripts.DSpaceRunnable.initialize(DSpaceRunnable.java:75)
at
org.dspace.app.launcher.ScriptLauncher.executeScript(ScriptLauncher.java:148)
at
org.dspace.app.launcher.ScriptLauncher.handleScript(ScriptLauncher.java:131)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:98)
Why? Best,
Karol
--
All messages to this mailing list should adhere to the Code of
Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google
Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dspace-tech/7ce90f29-5b9a-4710-80a6-adf14676dfb9n%40googlegroups.com
<https://groups.google.com/d/msgid/dspace-tech/7ce90f29-5b9a-4710-80a6-adf14676dfb9n%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
Dipl. Inf. Johannes Schultze
Gesellschafter / Entwicklung
Tel. +49 40 60940857-5
Fax. +49 40 60940857-1
[email protected]
effective WEBWORK GmbH
Neuer Wall 18
20354 Hamburg
http://www.effective-webwork.de
GF Dr. Matthias Finck
HRB 101108 (Hamburg)
UStId DE254169943
--
All messages to this mailing list should adhere to the Code of Conduct:
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dspace-tech/94ac765b-5ee3-66bd-632e-1912d1e8e3e0%40effective-webwork.de.