Using the core version of pipeline (would be really useful for batching conversion , if it worked)
if you set a values with a space you'll get an exception for yyy invalid parameter (yyy is the word after the space char).
using "--dccreator=your name" or --dccreator="your name" doesn't solve, at least not if you don't edit
pipeline.sh and put quotes around the last $@ :
"$@"
But I still can't test if it works that way, cause
I get the errors below even for operations that
worked with the gui version:
------------------------------------------------
[STATE] Task OPS Creator just started
[ERROR, Pipeline Core] null
org.daisy.pipeline.exception.JobFailedException: Error running script: null.
at org.daisy.pipeline.core.script.Runner.execute(Runner.java:106)
at org.daisy.pipeline.core.DMFCCore.execute(DMFCCore.java:239)
at org.daisy.pipeline.ui.CommandLineUI.main(CommandLineUI.java:212)
java.lang.NullPointerException
at java.util.regex.Matcher.quoteReplacement(Matcher.java:598)
at org.daisy.pipeline.core.script.AbstractProperty.getValue(AbstractProperty.java:97)
at org.daisy.pipeline.core.script.Runner.addTaskParameters(Runner.java:141)
at org.daisy.pipeline.core.script.Runner.execute(Runner.java:81)
at org.daisy.pipeline.core.DMFCCore.execute(DMFCCore.java:239)
at org.daisy.pipeline.ui.CommandLineUI.main(CommandLineUI.java:212)
----------------------------------------------------
Logged In: NO
P.S.: I get the above error with quoteReplacement message even when removing any space
from the command line and NOT changhing the pipeline.sh file, eg:
./pipeline.sh scripts/creation/simple/OPSCreator.taskScript --input=Mytitle.xml --output=trying.epub --dctitle=Mytitle --dcidentifier=B4F52DFF-1FBA-4F58-5517-B942E637FE78 --dclanguage=en --dccreator=Myname
Logged In: YES
user_id=1234214
Originator: NO
As a workaround, if you put the output into a subdirectory instead of your current working directory, the script should succeed (i.e. --output=subdir/trying.epub).
The $@ should indeed be enclosed in quotes in pipeline.sh. A fix for that has been committed to the trunk.