EOCD Signature errors with Archive::Zip

Ask a Question related to PERL Modules, Design and Development.

  1. #1

    Default EOCD Signature errors with Archive::Zip

    I'm getting "can't find EOCD signature" errors from Archive::Zip 1.16 on
    files that seem to be valid i.e. I can open them fine with WinZip. Anyone
    know why this might be?


    PK Guest

  2. Similar Questions and Discussions

    1. Transient errors: Invalid Method Signature
      I'm experiencing same problem too. but it only happen to coldfusion server running on linux. It never happen to my coldfusion server running on...
    2. Signature generation
      I am trying to set up forms on a Gateway PC Tablet. My forms have been created in Word and converted to PDF. In PDF, I added fields and have added...
    3. supress errors at the page level? Undefined index errors.
      I'm creating a simple reply form, and if a form item isn't answered I get an error: "Notice: Undefined index: rb_amntspent in...
    4. XML SIgnature and RetreivalMethod
      Hi The KeyInfoRetrievalMethod object, when used to create RetirevalMethod, the signature is created with RetirevalElement as oppose to...
    5. Signature
      When a photo has what appears to be a hand-written signature IN the print (not ON it) is it likely that a PS layer containing a scanned original...
  3. #2

    Default Re: EOCD Signature errors with Archive::Zip


    "PK" <dsiomtw@earthlink.net> wrote in message
    news:4KidnakXn7du_l_ZnZ2dnUVZ_sGdnZ2d@comcast.com. ..
    > I'm getting "can't find EOCD signature" errors from Archive::Zip 1.16 on
    > files that seem to be valid i.e. I can open them fine with WinZip. Anyone
    > know why this might be?
    >
    I don't really know - though the error presumably comes from the
    _findEndOfCentralDirectory() subroutine in Zip.pm. Looks like that sub scans
    the zip file for the string that has been assigned to the constant
    Archive::Zip::END_OF_CENTRAL_DIRECTORY_SIGNATURE_S TRING, and if it doesn't
    find that string, it then throws that error.

    I guess, therefore, that if WinZip also looks for the EOCD signature (which
    seems to me a reasonable assumption), it must be looking for (and finding) a
    different string than that being sought by Archive::Zip.

    Can you upload a small zip file (that demonstrates the problem) to somewhere
    on the web so that others can get a copy of it ?
    How are these zip files being created ?

    Cheers,
    Rob


    Sisyphus Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139