script still dies when calling subtitle2pgm
Brought to you by:
ozzzy42
Okay, so after filing the previous bug, I commented out
the -X option to subtitle2pgm. Upon re-running, I get
the error below, which is caused by the SUBPGM
directory not yet existing. ( If I create it, and then
run the subtitle2pgm command manually, there is no error. )
07/31/05 04:24:51 nice -+19 subtitle2pgm -i
/tmp/TERMINATOR2/TERMINATOR2.sub -o
/tmp/TERMINATOR2/SUBPGM/TERMIN
ATOR2 -g 5 -t 1 2>
/tmp/TERMINATOR2/subtitle2pgmdebug.txt failed!
subtitle2pgm reported an error
creating subtitle images
Run terminated!
Output of debug file
nice: `-+19' option is obsolete; use `-n -+19' since
this will be removed in the future
Cannot open tagfile: No such file or directory
Logged In: YES
user_id=972280
Originator: NO
Hello ozzzy,
It's almost holiday so I am using your program again to copy DVD's that I'll watch when while I am staying in Austria. I am experiencing the same problem as described by gente libre. I fixed dvdsfunctions version 2.6.1-10 (see patch below message).
Regards,
Marvin Raaijmakers
--- /tmp/dvdsfunctions 2007-05-04 17:04:50.000000000 +0200
+++ /usr/bin/dvdsfunctions 2007-06-18 16:09:41.000000000 +0200
@@ -1569,6 +1569,7 @@ function createsubtitles {
# done test
SBCMD="nice -n +19 subtitle2pgm -i $SUBFILE -o $WORKDIR/SUBPGM/$PROJNAME $TVRESVAL -g 5 -t 1 2> $DEBUGFILE"
+ mkdir $WORKDIR/SUBPGM/
eval "$SBCMD"
if (($?)); then errortrap 5b; fi
rm -f $DEBUGFILE