Page 1 of 1

Split at Pattern - bug in version 8.4.9

Posted: Wed Feb 24, 2010 4:59 am
by dfhtextpipe
One of my filters no longer works properly in TextPipe Standard 8.4.9 which I downloaded on 18 Feb 2010.
It was working fine in version 8.4.8, so there must be a bug somewhere in the updated version.

Here is the split filter:

Code: Select all

Split before pattern ^\\id (\w+)$, filename %2.2d_%f.usfm, number 0 count 1
Symptoms: Only the last split file output file remained after the filter had been completed.

Analysis (from logging): All the output filenames were the same, each began with string ".2d_" rather than with the formatted split file counter.

NB. The release notes "What's new?" indicated that this feature was recently updated, yet there was no corresponding revision for the Help file!
"Environment variables are now allowed in the split filename."
It looks like this code revision was inadequately tested.

Re: Split at Pattern - bug in version 8.4.9

Posted: Wed Feb 24, 2010 11:56 am
by DataMystic Support
In retrospect, we're going to remove the environment variable capability from the split filename, because of conflicts with %f, %e and %d macros for the file name, extension and number.

An 8.4.9.1 release will be up shortly.

Re: Split at Pattern - bug in version 8.4.9

Posted: Thu Feb 25, 2010 7:05 am
by dfhtextpipe
Downloaded it. Will post a further comment after testing.

Re: Split at Pattern - bug in version 8.4.9

Posted: Thu Feb 25, 2010 6:18 pm
by dfhtextpipe
My split filter now works OK after I installed version 8.4.9.1 yesterday.

Thanks.