As I'm working through trying to learn ducttape, I'm getting some error messages that I don't understand. I tried 1 simple workflow, then edited it to name the output file with a name of choice rather than with the name of the variable. So that I would start fresh, I removed the directories from the previous run. I rerun the tape, and I get:
ducttape preprocess.tape -p Tokenize
ducttape 0.3-pre1
by Jonathan Clark
WARNING: 1 corrupt or incomplete workflow versions found. Ignoring them. (This could be due to upgrading from an older version of ducttape that doesn'\
t support versioning)
Have 0 previous workflow versions
Discovering plan
Finding hyperpaths contained in plan...
Found 1 vertices implied by realization plan Tokenize
Union of all planned vertices has size 1
Discovering versions
Loading workflow version history...
WARNING: 1 corrupt or incomplete workflow versions found. Ignoring them. (This could be due to upgrading from an older version of ducttape that doesn'\
t support versioning)
Checking for completed tasks
Finding packages...
Found 1 packages
Checking for already built packages...
Checking inputs...
Work plan (arbitrary traversal):
^[[32mRUN:^[[0m /home/jmicher/canonical/./^[[36mtok_en^[[0m/^[[34mBaseline.baseline^[[0m (^[[33mBaseline.baseline^[[0m)
Are you sure you want to run these 1 tasks? [y/n] y
Exception in thread "main" java.lang.RuntimeException: Version history directory already exists (this is probably a bug in ducttape. please report it.\
for now, you can try deleting the directory): /home/jmicher/canonical/./.versions/1
at ducttape.versioner.WorkflowVersionStore$.create(WorkflowVersionStore.scala:97)
at ducttape.cli.ExecuteMode$.run(ExecuteMode.scala:113)
at Ducttape$$anonfun$main$9.apply(ducttape.scala:872)
at ducttape.cli.ErrorUtils$.ex2err(ErrorUtils.scala:59)
at Ducttape$.main(ducttape.scala:573)
at Ducttape.main(ducttape.scala)
^[[0m
^[[0m
So, I looked in /home/jmicher/canonical/.. and there is no ./versions directory. So I don't know where it is to delete it.
Also, any idea why I'm getting stdout containing things starting with ^[[ ?
Jeffrey