Page 1 of 1
Find Files using contents Yields Error 6
Posted: 12 Feb 2015 18:04
by kmccabe
Error 6
Error: 6 (0x00000006)
Desc: Overflow
Dll: 0
Proc: bBM@56
Source: XYplorer
XY ver: XYplorer 14.80.0200
OS: Windows 7 Professional (Service Pack 1), 64-bit
Locale: 1033
ANSI: 1252
ACP: 1252 (ANSI - Latin I)
DBCS: No
DPI: 96 (100%)
Date: 2/12/2015 10:41:41 AM
Searching within a location and subfolders errors with the above.
Have narrowed it down to a single file, which if not present, the find succeeds, but if present will generate this error every time.
file is an XPS
An XPS document is any file that is saved in the XML Paper Specification, or .xps, file format. You can create XPS documents (.xps files) by using any program that you can print from in Windows; however, you can only view XPS documents by using an XPS Viewer, such as the one included in this version of Windows.
For the record, I removed the xps file and put in other xps files and it didn't matter which one was present, they all errored. Additionally, i tried different words in the Contents box and that didn't seem to matter either.
kevin
see attachment for sample xps file
Re: Find Files using contents Yields Error 6
Posted: 12 Feb 2015 20:55
by TheQwerty
Please try the following:
- Select an XPS.
- In the address bar paste the following script and hit enter.
Code: Select all
::text replace(extracttext(), chr(0), "__NUL__<crlf>");
- This should show you the text extracted from the XPS if it works correctly.
- Report back on what happened.

Re: Find Files using contents Yields Error 6
Posted: 12 Feb 2015 21:34
by kmccabe
That yielded the following:
Code: Select all
- - - - - - - - - - - - - - - - - - - - - - - -__NUL__
** Oak Village North P.O.A. **__NUL__
- - - - - - - - - - - - - - - - - - - - - - - -__NUL__
__NUL__
Date:__NUL__
__NUL__
06/11/12__NUL__
Amount:__NUL__
__NUL__
$15.00__NUL__
Card Number:__NUL__
__NUL__
xxxxxxxxxxxx4614__NUL__
Auth Number:__NUL__
__NUL__
H23078__NUL__
Transaction ID: __NUL__
__NUL__
ME0100959377__NUL__
#7078 __NUL__
$__NUL__
15.00 __NUL__
- - - - - - - - - - - - - - - - - - - - - - - -__NUL__
T H A N K Y O U !__NUL__
- - - - - - - - - - - - - - - - - - - - - - - -__NUL__
https://billpay.quickbooks.com/j/crm/64106950/mas?a=a&iinfo=Vp...__NUL__
1 of 16/11/2012 10:15 PM__NUL__
...and no errors in the process
Re: Find Files using contents Yields Error 6
Posted: 12 Feb 2015 23:00
by TheQwerty
Hmmm... I think Don will have to look into this.
My hope was you'd get an error which would point to there being a problem with the IFilter (or its registration) but that proved that XY can extract the text just fine and the overflow is caused by something else.
Sorry that's not more helpful!
Re: Find Files using contents Yields Error 6
Posted: 12 Feb 2015 23:26
by kmccabe
Figured that's where you were going.
Funny thing is, i tried your command on a PDF and DID get an error: Failed to load an IFilter. Error 80004001. But the presence of same PDF did not bomb the Find Files operation
BTW, did you try to reproduce this using the file in the attachment?
Re: Find Files using contents Yields Error 6
Posted: 13 Feb 2015 00:34
by TheQwerty
kmccabe wrote:BTW, did you try to reproduce this using the file in the attachment?
I did, and it seemed to work normally without causing any errors. Though, I honestly didn't do too much tinkering trying to break it.
kmccabe wrote:Funny thing is, i tried your command on a PDF and DID get an error: Failed to load an IFilter. Error 80004001. But the presence of same PDF did not bomb the Find Files operation
If you are using Adobe's IFilter this might be expected as they annoyingly do some checks to ensure they only operate with Windows Explorer. Others here have had varying levels of success using non-Adobe packages, but I've never tried and thus have no experience to speak from.
Usually Don is pretty quick to chime in when errors like these appear, but I'd bet he got started on his
Carnival celebrations a bit early.
Unfortunately, we might not hear from him until next week.
Re: Find Files using contents Yields Error 6
Posted: 13 Feb 2015 12:49
by admin
Between 2 beers:
1) I cannot repro the error with your file.
2) Does the latest beta maybe fix it ? (it replaces NULLs)

Re: Find Files using contents Yields Error 6
Posted: 13 Feb 2015 21:31
by kmccabe
Thanks for taking a look.
Running latest beta yields same problem
Error 6
Error: 6 (0x00000006)
Desc: Overflow
Dll: 0
Proc: bBM@56
Source: XYplorer
XY ver: XYplorer 14.80.0234
OS: Windows 7 Professional (Service Pack 1), 64-bit
Locale: 1033
ANSI: 1252
ACP: 1252 (ANSI - Latin I)
DBCS: No
DPI: 96 (100%)
Date: 2/13/2015 2:03:14 PM
However, here is some more info for you:
1. I am current on all Windows 7 updates
2. Probably not a surprise to you, but was to me: If I change the extension of the file name to .xps1 the Find Files SUCCEEDS! Then changing back to .xps it fails.
In case anyone else deals with something like this, my workaround is to use the Excluded tab with file:.xps
Re: Find Files using contents Yields Error 6
Posted: 14 Feb 2015 10:12
by admin
I'll try something else in the next beta.