?Synchronizing dirs from zip file asks for disk number 1

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
EricB
Senior Member
Senior Member
Posts: 355
Joined: 2008-03-25, 22:21 UTC
Location: The Netherlands

?Synchronizing dirs from zip file asks for disk number 1

Post by *EricB »

When using synchronize Dirs with on one side a normal folder and on the other side a zip file, the copy action in the direction zip -> unzipped shows the dialog "Please insert Disk number 1". This happens for any file marked for copy and is quite annoying, since you have to press enter every time.

Regards, EricB

Using TC 9.0 Beta 1 32-bit on Windows 8.1 Pro x64.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48104
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

NOT confirmed. Does this happen with ZIP files created by Total Commander too? The ZIP you have may have been packed as a multi-volume ZIP (it has special extra header).
Author of Total Commander
https://www.ghisler.com
User avatar
EricB
Senior Member
Senior Member
Posts: 355
Joined: 2008-03-25, 22:21 UTC
Location: The Netherlands

Post by *EricB »

Christian,

The zip file itself contains a folder under which some files and subfolders with more files. It is a freeware program (GPU Caps Viewer) that I downloaded. I used the synchronize directories function to upgrade an older version of the program.

Also when I unpack this zip file with TC and repack it with TC, maintaining the folder structure, I see the same behaviour as described before.

It looks like the wrong dialog is shown, one would expect the Copy dialog with Overwrite, All, Older etc.

Even though I used Cancel in this wrong dialog, it seems that everything is copied (and overwritten) anyway.

One thing that I thought that might be the cause: I always use BTM for unzipping [AlwaysUnpackInBackground=2], but putting it to 0 did not change the behaviour.

So to make sure it was none of my settings, I started TC with a complete clean ini. Even then I got the incorrect dialog in the described situation.

If you want, I can send you screenshots, the zip file (and also the older version) for test purposes.

Regards, EricB
User avatar
Hacker
Moderator
Moderator
Posts: 13073
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Happened to me as well while using Sync dirs to update my existing KeePass instalation from this ZIP file. I am not really sure what the trigger might be. The files were copied correctly, though.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
EricB
Senior Member
Senior Member
Posts: 355
Joined: 2008-03-25, 22:21 UTC
Location: The Netherlands

Post by *EricB »

Thanks Hacker,

I second your observation with KeePass portable as well.

Regards, EricB
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48104
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately I couldn't reproduce it so far. I made a few changes in beta 2 in what I think could be the reason, but I have no idea whether it helped or not. Please test it.
Author of Total Commander
https://www.ghisler.com
User avatar
EricB
Senior Member
Senior Member
Posts: 355
Joined: 2008-03-25, 22:21 UTC
Location: The Netherlands

Post by *EricB »

Hi Christian,

I reran the use case with TC 9.0 Beta 2 and I still encounter the Insert Disk dialog, so it does not appear to be fixed.


Regards, EricB
Regards, EricB
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48104
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately I could not reproduce it, although I tried many many times. :(

Maybe you can send me step by step instructions of what you do? I probably do something differently, e.g. show the ZIP on the wrong side, try to unpack from ZIP subdir etc. etc.
Author of Total Commander
https://www.ghisler.com
User avatar
EricB
Senior Member
Senior Member
Posts: 355
Joined: 2008-03-25, 22:21 UTC
Location: The Netherlands

Post by *EricB »

Hi Christian,

Here a step-by-step scenario, I hope this will be sufficient to reproduce.

- Download these two zips:
- GPU_Caps_Viewer_1.25.0.0.zip http://www.geeks3d.com/dl/showd/449
- GPU_Caps_Viewer_1.30.0.0.zip http://www.geeks3d.com/dl/showd/518
- Start Total Commander (32 bit) with clean ini
- Right panel: the download directory
- Left panel: a temp folder, might be a subfolder of the download directory
- Select GPU_Caps_Viewer_1.25.0.0.zip and unpack into the temp folder using Alt-F9
- The temp folder will show a single program folder, enter into this folder
- On the right panel enter or CTRL-PGDN the GPU_Caps_Viewer_1.30.0.0.zip
- In the zip enter into the single directory named GPU_Caps_Viewer
- Now start Synchronize dirs and compare
- Lots of files will be marked for copy to the left
- Press Synchronize button
- First a Synchronize dialog will show, click OK
- Then the overwrite dialog will be shown, click Overwrite all Older (All will also work)
- Unzip dialog will pop up, with message Please insert disk number 1
- Click OK or Cancel, this does not matter anymore
- Repeat until all copies have been done (a total of 16 times)

Regards, EricB
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48104
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I made a second attempt to fix this problem in beta 3, please test it!
Author of Total Commander
https://www.ghisler.com
User avatar
EricB
Senior Member
Senior Member
Posts: 355
Joined: 2008-03-25, 22:21 UTC
Location: The Netherlands

Post by *EricB »

Sorry Christian,

I totally overlooked this line in the History.txt:
22/06/2016 Fixed: Synchronize dirs: Should no longer ask for next disk/zip part when unpacking single part ZIP files (32/64)
I was watching this thread for a 'should be fixed in beta 3'.

Anyhow, I reran the scenario both with clean ini and my full settings, and the problem did not occur anymore. Consider it fixed in beta 3.

Regards, EricB
Post Reply