Split at Pattern - bug in version 8.4.9

Get help with installation and running here.

Moderators: DataMystic Support, Moderators, DataMystic Support, Moderators, DataMystic Support, Moderators

Post Reply
dfhtextpipe
Posts: 986
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

Split at Pattern - bug in version 8.4.9

Post 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.
David
User avatar
DataMystic Support
Site Admin
Posts: 2227
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Re: Split at Pattern - bug in version 8.4.9

Post 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.
dfhtextpipe
Posts: 986
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

Re: Split at Pattern - bug in version 8.4.9

Post by dfhtextpipe »

Downloaded it. Will post a further comment after testing.
David
dfhtextpipe
Posts: 986
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

Re: Split at Pattern - bug in version 8.4.9

Post by dfhtextpipe »

My split filter now works OK after I installed version 8.4.9.1 yesterday.

Thanks.
David
Post Reply