Split at Pattern - bug in version 8.4.9

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

DFH
Posts: 636
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

Split at Pattern - bug in version 8.4.9

Postby DFH » Wed Feb 24, 2010 4:59 am

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.

User avatar
DataMystic Support
Site Admin
Posts: 2138
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Re: Split at Pattern - bug in version 8.4.9

Postby DataMystic Support » Wed Feb 24, 2010 11:56 am

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.
Regards,

Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments

DFH
Posts: 636
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

Re: Split at Pattern - bug in version 8.4.9

Postby DFH » Thu Feb 25, 2010 7:05 am

Downloaded it. Will post a further comment after testing.

DFH
Posts: 636
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

Re: Split at Pattern - bug in version 8.4.9

Postby DFH » Thu Feb 25, 2010 6:18 pm

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

Thanks.


Return to “TextPipe Tips and Tricks, Questions and Support”

Who is online

Users browsing this forum: No registered users and 1 guest