m_mapDst

General questions about using WildEdit

Moderators: AmigoJack, helios, bbadmin, Bob Hansen, MudGuard

Post Reply
Scirocco
Posts: 2
Joined: Fri Nov 16, 2007 8:33 pm

m_mapDst

Post by Scirocco »

anyone seen an "m_mapDst too small" error before? How do I get rid of it?
User avatar
Bob Hansen
Posts: 1517
Joined: Sun Mar 02, 2003 8:15 pm
Location: Salem, NH
Contact:

Post by Bob Hansen »

Not familiar, but suspect it may be related to a mapping program with a reference to DaylightSavingsTime (DST).

How is this related to WildEdit?
What are you doing when it occurs?
Is the message from Widows or some other program?
Hope this was helpful.............good luck,
Bob
Scirocco
Posts: 2
Joined: Fri Nov 16, 2007 8:33 pm

Wild Edit error

Post by Scirocco »

Running WildEdit against a directory with a single 3GB delimited text file, attempting a simple single char replace with "nothing". Here is the log:

=== BEGIN REPLACE COMMAND ===
{
Time: 2007-Nov-16 14:54:21
Search Pattern: þ
Replacement Format:
Character Encoding: windows-1252
Root folder: T:\ReDo3\(edited)
File Filter: *.dat.txt
Regular Expression: false
Replacement Format: false
Match Case: false
Match Words: false
Search Subfolders: false
}
T:/ReDo3/(edited)/Review.dat: m_mapDst too small
Number of files searched: 1
Number of files modified: 0
Total changes made: 0
=== END REPLACE COMMAND ===
User avatar
Bob Hansen
Posts: 1517
Joined: Sun Mar 02, 2003 8:15 pm
Location: Salem, NH
Contact:

Post by Bob Hansen »

Until someone who know more can help, I am just offering comments to help trigger some thoughts.

I no longer think this is Map and DST related, I am now thinking that the Dst stands for Destination instead.

It looks like the b]þ[/b] character you are searcing for may be a "non-standard" character. Do you need to use a different Character Encoding value?

Is the File Filter correct? Maybe need a space or delimiter?

My comments above are probably not correct, but may help steer you to the correct solution. Good luck.
Hope this was helpful.............good luck,
Bob
ben_josephs
Posts: 2456
Joined: Sun Mar 02, 2003 9:22 pm

Post by ben_josephs »

Scirocco is using windows-1252 (WinLatin1, the default in English-speaking countries), in which þ is the character with value 0xFE. It's a lower-case thorn, used every day in mediaeval England and modern Iceland. There's nothing non-standard about it.

I don't use WildEdit, so I haven't got a licence for it, and I can't try it out on big files.

But I wouldn't use a GUI application for such a straightforward edit. Using the unixish utility sed, for example, you can do it with a one-line command:

sed -e s/þ// oldfile > newfile

(Be sure you use an 8-bit clean version of sed; all modern versions should be 8-bit clean).

On this 1.8 GHz lap-top that takes 10 - 15 min on a 3 GB file.

Edit: Corrected units!
Post Reply