Vista bug - edit inside a zip file

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

nirmelamoud
Junior Member
Junior Member
Posts: 76
Joined: 2005-04-20, 11:50 UTC

Vista bug - edit inside a zip file

Post by *nirmelamoud »

On my vista, when I edit a file (inside a zip) , Ifinish editing, close the editor,
I get the dialog asking me the file has change,,,,,
I click ok, I get error "function not supported"
it does not happen on XP (many years now)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This happens when you edit a file inside a zip which cannot be changed, e.g. because it has unknown headers, or is a multi-volume zip. TC doesn't modify such archives. The edited file should still be in the TEMP dir.
Author of Total Commander
https://www.ghisler.com
nirmelamoud
Junior Member
Junior Member
Posts: 76
Joined: 2005-04-20, 11:50 UTC

editing a zipped file

Post by *nirmelamoud »

Thanks forthe fast response,
can I do something on the zipped file level to fix it ?
BTW I zipped it with total commander

the same zip file is working on xp (I can edit the internal files)

thanks
User avatar
karlchen
Power Member
Power Member
Posts: 4603
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Re: Vista bug - edit inside a zip file

Post by *karlchen »

Hi, nirmelamoud
nirmelamoud wrote:On my vista, when I edit a file (inside a zip) , Ifinish editing, close the editor,
I get the dialog asking me the file has change,,,,,
I click ok, I get error "function not supported"
it does not happen on XP (many years now)
I have just tried it it:
+ created a ZIP file using T.C. and added 3 TXT files
+ edited 1 of the TXT files and closed the editor (saved the changes)
+ consented to update the ZIP file
+ the modified TXT file was updated inside the ZIP archive correctly.

Conclusion:
The problem which you experience is hardly caused by a bug, neither by a T.C. bug, nor by a Vista bug.
Perhaps you just put the ZIP archive in a folder where your current user account has not got write permissions?!

Kind regards,
Karl
nirmelamoud
Junior Member
Junior Member
Posts: 76
Joined: 2005-04-20, 11:50 UTC

Re: Vista bug - edit inside a zip file

Post by *nirmelamoud »

karlchen wrote:Hi, nirmelamoud
nirmelamoud wrote: Conclusion:
The problem which you experience is hardly caused by a bug, neither by a T.C. bug, nor by a Vista bug.
Perhaps you just put the ZIP archive in a folder where your current user account has not got write permissions?!

Kind regards,
Karl
nice conclusion but a wrong one, it is probbaly some configuration problem, I can add files to that zip , also delete files from it, or view files in it, just the edit feature is not working,
so your example of permission it wrong, sorry for not giving all the details.
anyone else any idea ?
(BTW it happen for every zip , on every folder ...)
CoolWater
Power Member
Power Member
Posts: 739
Joined: 2003-03-27, 16:33 UTC

Post by *CoolWater »

Is your system temp. dir writable for TC? TC extracts the file to the temp. dir and adds it again to the archive when you finished editing. Sounds like a permission problem.

HTH
nirmelamoud
Junior Member
Junior Member
Posts: 76
Joined: 2005-04-20, 11:50 UTC

Post by *nirmelamoud »

CoolWater wrote:Is your system temp. dir writable for TC? TC extracts the file to the temp. dir and adds it again to the archive when you finished editing. Sounds like a permission problem.

HTH
thanks for the idea's

yes my temp is writeable, when I go to the temp folder, I see the edited file (the one I edited inside the zip) for some reason trying to copy it back fail, I can manually get and edit that file from total commander,and also move / copy it into the zip file
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Maybe WCMZIP32.DLL is missing? It's needed for packing (but not for unpacking, that's done internally).

This can also happen when you try to create a shortcut to Totalcmd.exe somewhere (e.g. on the desktop) but instead copy the file there by mistake. When you then run that copied program, it cannot find all its supporting files...
Author of Total Commander
https://www.ghisler.com
nirmelamoud
Junior Member
Junior Member
Posts: 76
Joined: 2005-04-20, 11:50 UTC

Post by *nirmelamoud »

ghisler(Author) wrote:Maybe WCMZIP32.DLL is missing? It's needed for packing (but not for unpacking, that's done internally).

This can also happen when you try to create a shortcut to Totalcmd.exe somewhere (e.g. on the desktop) but instead copy the file there by mistake. When you then run that copied program, it cannot find all its supporting files...
thanks for the reply, but no.
WCMZIP32.dll is in the total commander folder
and I use a shortcut, just to be sure I browsed to the folder and run it directly from its folder, and it still have the same affect.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Have you tried to add some other file to the zip (with F5)? does this work, or do you get the same error?
Author of Total Commander
https://www.ghisler.com
nirmelamoud
Junior Member
Junior Member
Posts: 76
Joined: 2005-04-20, 11:50 UTC

Post by *nirmelamoud »

ghisler(Author) wrote:Have you tried to add some other file to the zip (with F5)? does this work, or do you get the same error?
YES thats what I do, I copy out of the zip, edit and copy back
nirmelamoud
Junior Member
Junior Member
Posts: 76
Joined: 2005-04-20, 11:50 UTC

Post by *nirmelamoud »

nirmelamoud wrote:
ghisler(Author) wrote:Have you tried to add some other file to the zip (with F5)? does this work, or do you get the same error?
YES thats what I do, I copy out of the zip, edit and copy back
Any other idea's logs I can look at ?

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

Post by *ghisler(Author) »

No, unfortunately I don't currently see any other reasons for the problem. :(
Author of Total Commander
https://www.ghisler.com
nirmelamoud
Junior Member
Junior Member
Posts: 76
Joined: 2005-04-20, 11:50 UTC

Post by *nirmelamoud »

ghisler(Author) wrote:No, unfortunately I don't currently see any other reasons for the problem. :(
can you send me a debug version, or how to turn on logs ?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

You can try to use process monitor from www.sysinternals.com to find out what goes wrong, e.g. what file operations fail.
Author of Total Commander
https://www.ghisler.com
Post Reply