Coder Social home page Coder Social logo

delphizip's People

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

stlcours

delphizip's Issues

Temporary file failure on fixed disk with 160GB free

What steps will reproduce the problem?
1. Create a zip file with 12 files (say 32 KB each)
2. Extract all files and modify one.
3. Use the 'Add' method to update just the one file.

What is the expected output? What do you see instead?
Fails with 'Temporary file failure' even though huge amount of disk space left. 
Same error occurs whether KAV virus scanning is disabled or enabled.

What version of the product are you using? On what operating system?
v1.90. Problem experienced under Win 7 x64 (32 bit process) with 160GB free on 
temp drive. Not experienced under Windows XP (x32) with 4.1Gb free on temp 
drive.

Please provide any additional information below.

I expect that the problem relates to the free space on the drive being so large 
that the temporary file allocation code gets upset.

Sample code fragment:
  with zip do
  begin
    Verbose := False;
    Trace := false;
    Unattended := true;

    ExtrOptions := [ExtrOverWrite,ExtrDirNames,ExtrForceDirs];
    ExtrBaseDir := userFolder + 'tempzip';
    rootDir := ExtrBaseDir;

    SpanOptions := [];
    KeepFreeOnDisk1 := 0;
    KeepFreeOnAllDisks := 0;
    AddCompLevel := 9;
    AddOptions := AddOptions + [AddRecurseDirs,AddDirNames,AddMove,{AddFreshen, }AddHiddenFiles{,AddUpdate}]; {delete from disk after moved into archive}
    AddStoreSuffixes := [assGIF, assPNG, assZ, assZIP, assZOO, assARC, assLZH, assARJ, assTAZ, assTGZ, assLHA, assRAR, assACE, assCAB, assGZ, assGZIP, assJAR];
  end;


then later, when we update one file 
      zip.FSpecArgs.add( filename );

      zip.Add;
      if (zip.errMessage <> '') then
        logError( currentFilename + ':' + zip.errMessage, zip.zipfilename );

The add triggers the error.

Original issue reported on code.google.com by [email protected] on 7 Jun 2013 at 12:43

obsolete code

This repo contains code 1.91.10
Homepage provides code 1.91.14

Either this repo to be ocnsidered outdated, closed and not mentioned from the 
home page

Or should be kept current...

Original issue reported on code.google.com by [email protected] on 20 Mar 2013 at 3:17

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.