X2 0.0.0.43 Ctrl-F doesn't search archives correctly??

Chitchat about x² / 2X products

Moderators: fgagnon, nikos, Site Mods

User avatar
JRz
Gold Member
Gold Member
Posts: 560
Joined: 2003 Jun 10, 23:19
Location: NL

X2 0.0.0.43 Ctrl-F doesn't search archives correctly??

Post by JRz »

Hi Nikos,

Congratulations on another job well done!! I've been waiting to get rid off the crappy find files from Windows XP (doesn't find all the files you specify in many cases :cry: ) and now I can !!! Thanks to you my friend :lol:

I've come across one issue though. When I search a folder with only .zip files in them for content, it doesn't find anything, though there are files with the specified text in the archives. Search options are:

Look in folder with .zip files
Do search subfolders
Do search Archived content
No local search
No name specified
Search for Files and Folders
Look for specified text in files
Not case sensitive
No whole words
Do not search all files

When I change the last option to 'Do search all files' X2 does find the right files. I would have guessed that specifying no file filter (or an *, which yields the same result as above) should search all files anyway :?

What is the meaning of the option 'Search All Files' ? the alpha.txt doesn't mention this option. Could you please explain?

Thanks a million for a fantastic tool :D
Dumb questions are the ones that are never asked :turn:
User avatar
nikos
Site Admin
Site Admin
Posts: 16341
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

"find text" (aka grep) is for text files, those that are readable by notepad or ed2

if x2 sees "funny" characters it assumes the file is "binary". A word .doc is "binary" in this context

"search all files" instructs x2 to look into such binary files too, which may be time consuming
User avatar
JRz
Gold Member
Gold Member
Posts: 560
Joined: 2003 Jun 10, 23:19
Location: NL

Post by JRz »

OK. Search All Files is clear.

Leaves the mystery of the non-matching of a .txt file (i.e. your own alpha.txt!!) which is in a .zip file (again, your own alpha.zip!) when crawling through archives is activated :?

It doesn't match the text search unless I specify search All Files. Any ideas :?:
Dumb questions are the ones that are never asked :turn:
User avatar
JRz
Gold Member
Gold Member
Posts: 560
Joined: 2003 Jun 10, 23:19
Location: NL

Post by JRz »

Have done some more testing. It seems X2 isn't able to access some files inside .zip archives. It can show the contents of the archive, but refuses to open a file, for example your alpha.txt. Editor2 doesn't open the file and another program (I use Vim a lot) is also unable to open the file. X2 rsponds with the following message in the status bar:

Cannot access contents of selected item(s)

Does this help (or does this make things worse) :(
Dumb questions are the ones that are never asked :turn:
User avatar
nikos
Site Admin
Site Admin
Posts: 16341
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

so you are saying that F3 won't view alpha.txt within a zip whereas a search with "all files" checked will find text contained in it? I'll have to see the dbmon output for this!
User avatar
JRz
Gold Member
Gold Member
Posts: 560
Joined: 2003 Jun 10, 23:19
Location: NL

Post by JRz »

Situation has gotten worse. Ctrl-F doesn't find the file at all (as you guessed correctly), whether he search all files option is active or not. It seems access to the (zip)folder and files therein is prohibited in some way. There are no NTFS access rights which could get in the way, so I'm puzzled... :?

Here is the dbmon output for two find files commands (without and with search all files option turned on) and an attempt to view the file alpha.txt by hitting F3. I'm curious what is going on here...

DBMON output
3796: *** TID=808, Generating folder instance '::{20D04FE0-3AEA-1069-A2D8-08002B
30309D}\E:\Programma's\Xplorer2'
3796: Filesystem path = E:\Programma's\Xplorer2
3796: Shell attributes: (0x7080017f) FILESYSANCESTOR | FILESYSTEM | STORAGEANCES
TOR |
3796: Assigned folder type: FITYPE_NORMAL [forced]
3796: Folder CLSID: {F3364BA0-65B9-11CE-A9BA-00AA004AE837}
3796: *** TID=808, Generating folder instance '::{20D04FE0-3AEA-1069-A2D8-08002B
30309D}\E:\Programma's\Xplorer2'
3796: Filesystem path = E:\Programma's\Xplorer2
3796: Shell attributes: (0x7080017f) FILESYSANCESTOR | FILESYSTEM | STORAGEANCES
TOR |
3796: Assigned folder type: FITYPE_FILESYSTEM [deciphered]
3796: Folder CLSID: {F3364BA0-65B9-11CE-A9BA-00AA004AE837}
3796: Enumerated 4 objects in the folder, code=1
3796: *** TID=808, Generating folder instance '::{20D04FE0-3AEA-1069-A2D8-08002B
30309D}\E:\Programma's\Xplorer2\x2alpha.zip'
3796: Filesystem path = E:\Programma's\Xplorer2\x2alpha.zip
3796: Shell attributes: (0x68400177) FILESYSTEM | BROWSABLE | STREAM |
3796: Assigned folder type: FITYPE_ALMOSTFS [forced]
3796: Folder CLSID: {E88DCCE0-B7B3-11D1-A9F0-00AA0060FA31}
3796: Enumerated 6 objects in the folder, code=1
3796: *** TID=808, Generating folder instance '::{20D04FE0-3AEA-1069-A2D8-08002B
30309D}\E:\Programma's\Xplorer2\editor2.zip'
3796: Filesystem path = E:\Programma's\Xplorer2\editor2.zip
3796: Shell attributes: (0x68400177) FILESYSTEM | BROWSABLE | STREAM |
3796: Assigned folder type: FITYPE_ALMOSTFS [forced]
3796: Folder CLSID: {E88DCCE0-B7B3-11D1-A9F0-00AA0060FA31}
3796: Enumerated 4 objects in the folder, code=1
3796: *** TID=808, Generating folder instance '::{20D04FE0-3AEA-1069-A2D8-08002B
30309D}\E:\Programma's\Xplorer2\ed2_2007.zip'
3796: Filesystem path = E:\Programma's\Xplorer2\ed2_2007.zip
3796: Shell attributes: (0x68400177) FILESYSTEM | BROWSABLE | STREAM |
3796: Assigned folder type: FITYPE_ALMOSTFS [forced]
3796: Folder CLSID: {E88DCCE0-B7B3-11D1-A9F0-00AA0060FA31}
3796: Enumerated 3 objects in the folder, code=1
3796: *** TID=808, Generating folder instance '::{20D04FE0-3AEA-1069-A2D8-08002B
30309D}\E:\Programma's\Xplorer2\2xex1412.zip'
3796: Filesystem path = E:\Programma's\Xplorer2\2xex1412.zip
3796: Shell attributes: (0x68400177) FILESYSTEM | BROWSABLE | STREAM |
3796: Assigned folder type: FITYPE_ALMOSTFS [forced]
3796: Folder CLSID: {E88DCCE0-B7B3-11D1-A9F0-00AA0060FA31}
3796: Enumerated 1 objects in the folder, code=1
3796: *** TID=808, Generating folder instance '::{20D04FE0-3AEA-1069-A2D8-08002B
30309D}\E:\Programma's\Xplorer2\2xex1412.zip\2xExplorer'
3796: Filesystem path =
3796: Shell attributes: (0x20000163)
3796: Assigned folder type: FITYPE_ALMOSTFS [forced]
3796: Folder CLSID: {E88DCCE0-B7B3-11D1-A9F0-00AA0060FA31}
3796: Enumerated 10 objects in the folder, code=1
3796: Thread 808: ErrorBeep(48)
3796: status_f0208 alert msg: No items match the specified filter
3796: ThreadID=808: Destroying frame 0x0008020e 'ATL:ScrapFrame' [Scrap containe
r #1]
3796: Frame_70186 handling command 32885
3796: List view 901c6 created, sty=56300349, ex=4420, depth=16
3796: [MFV_901c6]-SPY(00000045): Installed on ''
3796: List view 901dc created, sty=56300349, ex=4420, depth=16
3796: [MFV_901dc]-SPY(00000046): Installed on ''
3796: ThreadID=808: Adding frame 0x000b01c8 'ATL:ScrapFrame' [Scrap container #]

3796: *** TID=808, Generating folder instance '::{20D04FE0-3AEA-1069-A2D8-08002B
30309D}\E:\Programma's\Xplorer2'
3796: Filesystem path = E:\Programma's\Xplorer2
3796: Shell attributes: (0x7080017f) FILESYSANCESTOR | FILESYSTEM | STORAGEANCES
TOR |
3796: Assigned folder type: FITYPE_NORMAL [forced]
3796: Folder CLSID: {F3364BA0-65B9-11CE-A9BA-00AA004AE837}
3796: *** TID=808, Generating folder instance '::{20D04FE0-3AEA-1069-A2D8-08002B
30309D}\E:\Programma's\Xplorer2'
3796: Filesystem path = E:\Programma's\Xplorer2
3796: Shell attributes: (0x7080017f) FILESYSANCESTOR | FILESYSTEM | STORAGEANCES
TOR |
3796: Assigned folder type: FITYPE_FILESYSTEM [deciphered]
3796: Folder CLSID: {F3364BA0-65B9-11CE-A9BA-00AA004AE837}
3796: Enumerated 4 objects in the folder, code=1
3796: *** TID=808, Generating folder instance '::{20D04FE0-3AEA-1069-A2D8-08002B
30309D}\E:\Programma's\Xplorer2\x2alpha.zip'
3796: Filesystem path = E:\Programma's\Xplorer2\x2alpha.zip
3796: Shell attributes: (0x68400177) FILESYSTEM | BROWSABLE | STREAM |
3796: Assigned folder type: FITYPE_ALMOSTFS [forced]
3796: Folder CLSID: {E88DCCE0-B7B3-11D1-A9F0-00AA0060FA31}
3796: Enumerated 6 objects in the folder, code=1
3796: *** TID=808, Generating folder instance '::{20D04FE0-3AEA-1069-A2D8-08002B
30309D}\E:\Programma's\Xplorer2\editor2.zip'
3796: Filesystem path = E:\Programma's\Xplorer2\editor2.zip
3796: Shell attributes: (0x68400177) FILESYSTEM | BROWSABLE | STREAM |
3796: Assigned folder type: FITYPE_ALMOSTFS [forced]
3796: Folder CLSID: {E88DCCE0-B7B3-11D1-A9F0-00AA0060FA31}
3796: Enumerated 4 objects in the folder, code=1
3796: *** TID=808, Generating folder instance '::{20D04FE0-3AEA-1069-A2D8-08002B
30309D}\E:\Programma's\Xplorer2\ed2_2007.zip'
3796: Filesystem path = E:\Programma's\Xplorer2\ed2_2007.zip
3796: Shell attributes: (0x68400177) FILESYSTEM | BROWSABLE | STREAM |
3796: Assigned folder type: FITYPE_ALMOSTFS [forced]
3796: Folder CLSID: {E88DCCE0-B7B3-11D1-A9F0-00AA0060FA31}
3796: Enumerated 3 objects in the folder, code=1
3796: *** TID=808, Generating folder instance '::{20D04FE0-3AEA-1069-A2D8-08002B
30309D}\E:\Programma's\Xplorer2\2xex1412.zip'
3796: Filesystem path = E:\Programma's\Xplorer2\2xex1412.zip
3796: Shell attributes: (0x68400177) FILESYSTEM | BROWSABLE | STREAM |
3796: Assigned folder type: FITYPE_ALMOSTFS [forced]
3796: Folder CLSID: {E88DCCE0-B7B3-11D1-A9F0-00AA0060FA31}
3796: Enumerated 1 objects in the folder, code=1
3796: *** TID=808, Generating folder instance '::{20D04FE0-3AEA-1069-A2D8-08002B
30309D}\E:\Programma's\Xplorer2\2xex1412.zip\2xExplorer'
3796: Filesystem path =
3796: Shell attributes: (0x20000163)
3796: Assigned folder type: FITYPE_ALMOSTFS [forced]
3796: Folder CLSID: {E88DCCE0-B7B3-11D1-A9F0-00AA0060FA31}
3796: Enumerated 10 objects in the folder, code=1
3796: Thread 808: ErrorBeep(48)
3796: status_701ee alert msg: No items match the specified filter
3796: ThreadID=808: Destroying frame 0x000b01c8 'ATL:ScrapFrame' [Scrap containe
r #2]
3796: *** TID=808, Generating folder instance '::{20D04FE0-3AEA-1069-A2D8-08002B
30309D}\E:\Programma's\Xplorer2\x2alpha.zip'
3796: Filesystem path = E:\Programma's\Xplorer2\x2alpha.zip
3796: Shell attributes: (0x68400177) FILESYSTEM | BROWSABLE | STREAM |
3796: Assigned folder type: FITYPE_ALMOSTFS [forced]
3796: Folder CLSID: {E88DCCE0-B7B3-11D1-A9F0-00AA0060FA31}
3796: Enumerated 6 objects in the folder, code=1
3796: Delay-creating column handler...IShellFolder2; Columns = 9 (new)
3796: UWM_VIEWDELAYSORT got rid of 0 redundant messages
3796: SPY(00000047): Installed on '::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\E:\P
rogramma's\Xplorer2\x2alpha.zip'
3796: Frame_70186 handling command 32788
3796: Thread 808: ErrorBeep(48)
3796: status_7018a alert msg: Cannot access contents of selected item(s)

Jan.
Dumb questions are the ones that are never asked :turn:
User avatar
nikos
Site Admin
Site Admin
Posts: 16341
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

the problem looks like a total collapse of zipfolder contents. You can't read files for some reason. Try d-clicking on a file, will that open it?

Another possibility: is this just in x2 or (2x)explorer fails too? Perhaps a reboot will sort things out
User avatar
JRz
Gold Member
Gold Member
Posts: 560
Joined: 2003 Jun 10, 23:19
Location: NL

Post by JRz »

Hmmm, I think you are right (as was to be expected with an expert :wink: )

Even in Bills Explorer the files won't open when accessed through compressed folders.

Reboot won't help (have done so several times in the meantime). I guess it is the time of the year to reinstall Windows :cry: (though I can't really complain about XP; has been very stable up to now)

Strike this one from your list. Its my problem now :roll:

Thanks for the replies
Dumb questions are the ones that are never asked :turn:
User avatar
JRz
Gold Member
Gold Member
Posts: 560
Joined: 2003 Jun 10, 23:19
Location: NL

Zipfolders mess up!!

Post by JRz »

Hello again Nikos,

this time no direct issue with X2, but a note on 'my' problem with zipfolders. Might be interesting for others too, including yourself.

Of course I couldn't stand that my zipfolders were 'out of order', so I did some investigating. The following is what I can conclude:

When accessing a zip file as zipfolder (or compressed folder), the zipfldr.dll creates a temporary directory in your user %TEMP% path, on my system this is 'D:\Documents and Settings\Jan\Local Settings\Temp\Tijdelijke map 1 voor x2alpha.zip' for a file named x2alpha.zip (I have a dutch WindowsXP version :roll: )

Each time a .zip wih the same name is accessed, a new folder is created in the same location with climbing numbers. Here's the catch: the counter stops at 99 !! Then Windows simply refuses acces to the files :x You can still 'see' them, but opening in e.g. editor2 is not possible anymore. :evil:

Deleting the folders in your %TEMP% is the remedy. Then it works again until you reach the magic number of 99 times opening the same .zip (mind you, that seems a lot, but this also occurs when searching through zipfolders for instance)

So tidying your %TEMP% folder is recommendable. Serves me right for not listening to my mother when she tells me to clean up :)

Thought you'd like to know what I've discovered. It is a feature of Bills zip folders which is almost certain 'by design' (a poor one of course :cry: )

Regards, Jan.
Dumb questions are the ones that are never asked :turn:
User avatar
zippit
Silver Member
Silver Member
Posts: 240
Joined: 2003 Mar 11, 23:40
Location: Mississauga,ON,Canada

Thats absured

Post by zippit »

nikos wrote:"find text" (aka grep) is for text files, those that are readable by notepad or ed2

if x2 sees "funny" characters it assumes the file is "binary". A word .doc is "binary" in this context

"search all files" instructs x2 to look into such binary files too, which may be time consuming
Windows does it just fine,maybe you just don't input the right info,
like *.txt etc.
:D
War is Hell
Lest We Forget.
User avatar
zippit
Silver Member
Silver Member
Posts: 240
Joined: 2003 Mar 11, 23:40
Location: Mississauga,ON,Canada

Re: X2 0.0.0.43 Ctrl-F doesn't search archives correctly??

Post by zippit »

JRz wrote:Hi Nikos,

Congratulations on another job well done!! I've been waiting to get rid off the crappy find files from Windows XP (doesn't find all the files you specify in many cases :cry: ) and now I can !!! Thanks to you my friend :lol:

I've come across one issue though. When I search a folder with only .zip files in them for content, it doesn't find anything, though there are files with the specified text in the archives. Search options are:

Look in folder with .zip files
Do search subfolders
Do search Archived content
No local search
No name specified
Search for Files and Folders
Look for specified text in files
Not case sensitive
No whole words
Do not search all files

When I change the last option to 'Do search all files' X2 does find the right files. I would have guessed that specifying no file filter (or an *, which yields the same result as above) should search all files anyway :?

What is the meaning of the option 'Search All Files' ? the alpha.txt doesn't mention this option. Could you please explain?

Thanks a million for a fantastic tool :D

What in GODS name are you trying to do ? You don't seem to know how to "search" It's not that hard if you type what it is.
Contens of a zip file can be read with Winzip. :roll:
Why are you makeing this so complicated ???
:?:
War is Hell
Lest We Forget.
User avatar
JRz
Gold Member
Gold Member
Posts: 560
Joined: 2003 Jun 10, 23:19
Location: NL

Post by JRz »

Thanks for the comments zippit. Doesn't help though.

:cry:
Dumb questions are the ones that are never asked :turn:
User avatar
nikos
Site Admin
Site Admin
Posts: 16341
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

these temporary folders are a known issue
x2 or 2x automatically delete them after getting out of a zipfolder
however i'm not aware of a limit like 99 files per zipfolder
have you installed SP1 for XP by any chance?
User avatar
JRz
Gold Member
Gold Member
Posts: 560
Joined: 2003 Jun 10, 23:19
Location: NL

Post by JRz »

nikos wrote:these temporary folders are a known issue
x2 or 2x automatically delete them after getting out of a zipfolder...
Hmmm, are you looking for specific folder names when deleting them after leaving a zipfolder? Because on my dutch m$ WinXP they are not deleted! The folder names are something like '...\Tijdelijke map 1 voor x2alpha.zip' in my case. Maybe you're looking for the english version names??
nikos wrote:...however i'm not aware of a limit like 99 files per zipfolder
have you installed SP1 for XP by any chance?
Yes, SP1 installed!
The limit of 99 temp folders is even worse when you have copies of zipfolders (or for that matter, zipfolders with the same name, but different contents). Then you reach this limit sooner, because for all zipfolders with the same name, the same temp folder template is used, so only the number is different.
Dumb questions are the ones that are never asked :turn:
User avatar
nikos
Site Admin
Site Admin
Posts: 16341
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

i tried my XP and the limit is there too. What a daft thing for m$ to do! To add insult to injury the buggy zipfolders for w2000/ME don't have this limit! I'll have to see if there are any tweaks for that
Maybe you're looking for the english version names?
exactly right! Since there's no way to figure out the names of these temp folders I'll have to add a registry key so that users can manually set it according to their language. A bit of a blunder this!