[8.52a] Error reading file from archive after Sync
Moderators: Hacker, petermad, Stefan2, white
[8.52a] Error reading file from archive after Sync
I have a ZIP archive with XPI extension (Firefox addon). When I update its files using Sync tool, I can't view files by F3 until I reenter archive or change current archive directory.
- ghisler(Author)
- Site Admin
- Posts: 49100
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
The file names probably contain strange prefixes like ./name or similar. Try viewing the archive itself with F3 to check the names.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 49100
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Was the archive changed during sync (by packing)? This would change all the offsets. But TC should re-read and recompare after sync.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I was able to reproduce it with mostly clean configuration. Bug reason is quite strange for me: Sync window should be opened with SYNCOPEN command.
1. Please try unpacking this archive into any folder and put TOTALCMD.exe and WCMZIP32.DLL to it, then start TOTALCMD.exe.
2. Open test\test dir in left panel and test\test.zip archive in right one and click SYNCOPEN buttonbar button.
3. Sync dir and archive, there are two files that should be copied to the archive.
4. Close Sync dialog and try viewing archive files by F3. TC can't view HISTORY(1).TXT, it shows a error message.
5. Click re-test buttonbar button and you can repeat from step 3.
It is strange that I can't reproduce this bug using Sync command from TC main menu.
1. Please try unpacking this archive into any folder and put TOTALCMD.exe and WCMZIP32.DLL to it, then start TOTALCMD.exe.
2. Open test\test dir in left panel and test\test.zip archive in right one and click SYNCOPEN buttonbar button.
3. Sync dir and archive, there are two files that should be copied to the archive.
4. Close Sync dialog and try viewing archive files by F3. TC can't view HISTORY(1).TXT, it shows a error message.
5. Click re-test buttonbar button and you can repeat from step 3.
It is strange that I can't reproduce this bug using Sync command from TC main menu.
- ghisler(Author)
- Site Admin
- Posts: 49100
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
When you open the tool with SYNCOPEN, then it runs as a separate program. The main TC does not notice that the ZIP was changed, so it doesn't know about the changed offsets.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com