File names within ZIP mangled

Bugs - Put em' here! We'll Squash them.

Moderator: Mods

File names within ZIP mangled

Postby curtissm » Sun Feb 25, 2018 8:52 pm

X1 Search 8.5.2 6001si (64-bit) on Windows 10

When my search matches files inside a .ZIP file, the names of the matching files usually have additional characters appended. These always seem to be 8 alphanumerics followed by dot "." and 3 more alphanumerics.

Example files and the filename shown in the "Name" column:
    OposSOInfo.rc => OposSOInfo.rcvujxbjdh.ala
    OposSOInfo.cpp => OposSOInfo.cpp2qxh2kxb.a53
    resource.h => resource.htxupxos1.plm
This makes it impossible for me to refine the search based on "Type" column, which I did quite often with my previous X1 6.7.4 (which didn't have this issue - plus was faster :( ).

(I think that this is similar to part of the bug report "Not previewing content of ZIP files" by diesis. Dec 26, 2017 12:03 pm)
curtissm
 
Posts: 6
Joined: Sun Feb 25, 2018 8:29 pm

Re: File names within ZIP mangled

Postby curtissm » Tue Feb 27, 2018 6:57 am

As my initial file indexing continued, I realized a second and very important (to me) effect of the mangling of file extensions with a ZIP file:
>> The file contents are not indexed, because the extension doesn't match an indexed extension.
Since I have many old projects in ZIP files (and only in ZIP files), I no longer can find those that referenced search terms within them.
curtissm
 
Posts: 6
Joined: Sun Feb 25, 2018 8:29 pm

Re: File names within ZIP mangled

Postby Jogy » Wed Feb 28, 2018 3:35 am

Hi,

does this happen with all .zip files or only with some specific ones?

Since we cannot reproduce the issue, can you please provide an example .zip file that would show this problem?

Jogy
Jogy
X1 Super User
X1 Super User
 
Posts: 359
Joined: Mon Oct 31, 2011 9:19 am

Re: File names within ZIP mangled

Postby curtissm » Wed Feb 28, 2018 7:11 am

It happens on all ZIP files with a .zip or .zipx extension. (Most of the .zip files were created by the old command line zip.exe 2.2 by Mark Adler et al, while the .zipx are by WinZip 19.5.) My index shows 4725 .zip files, of which 69 are .zipx.

The only exceptions that I have found are:

(1) .zip files without a .zip extension: I sometimes rename a file to save old copies, so I found a couple cases of files such as "xxx.zip.000" where the filenames that it contains are shown correctly, without the seemingly random 8.3 characters added.

(2) .zip files within a .zip file: For these cases, the name of the second .zip file is mangled but its file name is not. Example to show to pattern that I see:
If "C:\Dir1\Dir2\Zfile1.zip" contains "Dir3\Dir4\Zfile2.zip" which contains "Dir5\Dir6\Filename.txt", then the line for Filename.txt will show this (where mangledx.ext is a seemingly random 8.3 string):
- Path column: C:\Dir1\Dir2\Zfile1.zip\Dir3\Dir4\Zfile2.zip
- Name column: Dir3/Dir4/Zfile2.zipmangledx.ext\Dir5\Dir6\Filename.txt

Please let me know if I should upload a couple sample files (e.g. to Dropbox) or if there are any diagnostic files that would be helpful. And whether to post them here or to a private location.

Note: After posting my response "the file contents are not indexed", I changed the indexing options for many of my directories to "Everything (all files)" from "File names and sizes, plus content for specified extensions)". This caused X1 to index into my source and other files, although probably causes X1 to look at the contents of more files than I need.
curtissm
 
Posts: 6
Joined: Sun Feb 25, 2018 8:29 pm

Re: File names within ZIP mangled

Postby Jogy » Thu Mar 01, 2018 8:29 am

Hi,

If a file is not too large, can you try to send it to jogy at x1dev dot com?

Jogy
Jogy
X1 Super User
X1 Super User
 
Posts: 359
Joined: Mon Oct 31, 2011 9:19 am

Re: File names within ZIP mangled

Postby curtissm » Thu Mar 01, 2018 12:32 pm

Thanks for your interest in this.
I have emailed you 2 sample ZIP files plus screenshots of how they appear on my system.
- Curtiss
curtissm
 
Posts: 6
Joined: Sun Feb 25, 2018 8:29 pm

Re: File names within ZIP mangled

Postby Jogy » Sun Mar 04, 2018 9:38 am

Hi,

I tested with the files you provided and there was indeed a bug in 8.5.2, which is already fixed in the upcoming version 8.6.

The new version will be released pretty soon, perhaps next week if all goes well.

Jogy
Jogy
X1 Super User
X1 Super User
 
Posts: 359
Joined: Mon Oct 31, 2011 9:19 am

Re: File names within ZIP mangled

Postby curtissm » Sun Mar 04, 2018 8:36 pm

That is great news. I look forward to updating to the new software.
Since other features are working well in my tests, I plan to purchase your software within the next few days.
curtissm
 
Posts: 6
Joined: Sun Feb 25, 2018 8:29 pm

Re: File names within ZIP mangled

Postby curtissm » Sat Mar 17, 2018 7:16 am

I installed X1 Search 8.6 6003ch (64-bit) on 3/14, and am pleased to report that this issue is resolved! (In my limited testing thus far.)

In addition, the display of name vs. path is much cleaner. Repeating the example from my 2/28 post in this thread:

If "C:\Dir1\Dir2\Zfile1.zip" contains "Dir3\Dir4\Zfile2.zip" which contains "Dir5\Dir6\Filename.txt", then the line for Filename.txt showed this with 8.5.2 (where mangledx.ext was a seemingly random 8.3 string):
- Path column: C:\Dir1\Dir2\Zfile1.zip\Dir3\Dir4\Zfile2.zip
- Name column: Dir3/Dir4/Zfile2.zipmangledx.ext\Dir5\Dir6\Filename.txt

But with 8.6, it shows this much better result:
- Path column: C:\Dir1\Dir2\Zfile1.zip\Dir3\Dir4\Zfile2.zip\Dir5\Dir6
- Name column: Filename.txt

Thank you!
curtissm
 
Posts: 6
Joined: Sun Feb 25, 2018 8:29 pm


Return to Bugs V8

Who is online

Users browsing this forum: No registered users and 11 guests