DSpace 7.5 and curate

44 views
Skip to first unread message

Karol

unread,
Mar 10, 2023, 8:35:18 AM3/10/23
to DSpace Technical Support
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

Johannes Schultze

unread,
Mar 10, 2023, 8:42:05 AM3/10/23
to dspac...@googlegroups.com
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 karols...@gmail.com" 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:
--
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 dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/7ce90f29-5b9a-4710-80a6-adf14676dfb9n%40googlegroups.com.

-- 
Dipl. Inf. Johannes Schultze
Gesellschafter / Entwicklung

Tel. +49 40 60940857-5
Fax. +49 40 60940857-1
schu...@effective-webwork.de    
effective WEBWORK GmbH
Neuer Wall 18
20354 Hamburg
http://www.effective-webwork.de

GF Dr. Matthias Finck
HRB 101108 (Hamburg)
UStId DE254169943

Karol

unread,
Mar 12, 2023, 6:31:47 AM3/12/23
to DSpace Technical Support
Hi,

My mistake, now working. Thanks,

Karol 

Reply all
Reply to author
Forward
0 new messages