Error building

Lee's Avatar

Lee

31 Mar, 2015 04:51 PM

Keep getting this error:

Number of entries expected in End Of Central Directory does not correspond to number of entries in Central Directory.

Looks like an issue your side?

  1. Support Staff 1 Posted by Feodor Fitsner on 31 Mar, 2015 04:57 PM

    Feodor Fitsner's Avatar

    Where do you see that error? Could you drop a screenshot please?

    -Feodor

  2. 2 Posted by Lee on 31 Mar, 2015 04:58 PM

    Lee's Avatar

    See attached.

  3. Support Staff 3 Posted by Feodor Fitsner on 31 Mar, 2015 05:06 PM

    Feodor Fitsner's Avatar

    Well, it worked on a test BitBucket git repo: https://ci.appveyor.com/project/FeodorFitsner/test-git-public

    Might be something specific to your repo. Was it a sporadic error or you are seeing it all the time?

  4. 4 Posted by Lee on 31 Mar, 2015 05:08 PM

    Lee's Avatar

    The build has been working fine for weeks. but has failed consistently all day today.

  5. 5 Posted by Lee on 31 Mar, 2015 05:10 PM

    Lee's Avatar

    Going to try re-building an old commit to see if that still works - if it does, would imply it's something i've done.

  6. Support Staff 6 Posted by Feodor Fitsner on 31 Mar, 2015 05:12 PM

    Feodor Fitsner's Avatar

    Yeah, give it a try. Last AppVeyor update was on March 21st: http://www.appveyor.com/updates/2015/03/21

    Disable "Download repo as zip archive" to make it use git command for cloning repo.

  7. Support Staff 7 Posted by Feodor Fitsner on 31 Mar, 2015 05:20 PM

    Feodor Fitsner's Avatar

    A quick question - how big repo's zip could be? Larger than 4GB?

  8. 8 Posted by Lee on 31 Mar, 2015 05:25 PM

    Lee's Avatar

    its big. Was over 1.6 GB last time I checked. Can't imagine it's 4gb. Rebuilding an old commit worked.

    I'm trying the disabling the 'download as zip option '

  9. Support Staff 9 Posted by Feodor Fitsner on 31 Mar, 2015 05:29 PM

    Feodor Fitsner's Avatar

    Yes, and set "Git clone depth" to 1 (or other minimal value depending on the frequency of commits).

  10. 10 Posted by Lee on 31 Mar, 2015 05:38 PM

    Lee's Avatar

    so telling it to do a clone failed as wel,l with the same message, which is odd as it seems to be referring to a zip operation.

  11. Support Staff 11 Posted by Feodor Fitsner on 31 Mar, 2015 05:40 PM

    Feodor Fitsner's Avatar

    Could you drop a screenshot of that as well?

  12. 12 Posted by Lee on 31 Mar, 2015 05:42 PM

    Lee's Avatar

    Attached

  13. Support Staff 13 Posted by Feodor Fitsner on 31 Mar, 2015 05:45 PM

    Feodor Fitsner's Avatar

    Nope, it should use git clone ... command. Do you have appveyor.yml?

  14. 14 Posted by Lee on 31 Mar, 2015 05:48 PM

    Lee's Avatar

    Ah, Yes I do, I changed in web admin, I'm guessing yml take priority?. Give me a sec, i'll try that.

  15. Support Staff 15 Posted by Feodor Fitsner on 31 Mar, 2015 05:49 PM

    Feodor Fitsner's Avatar

    Yep, exactly.

  16. 16 Posted by Lee on 31 Mar, 2015 05:59 PM

    Lee's Avatar

    Well that made it clone out successfully. Intrigued as to what the original issue was though. Obviously freaking out on extracting the zip file for some reason.

  17. Support Staff 17 Posted by Feodor Fitsner on 31 Mar, 2015 06:04 PM

    Feodor Fitsner's Avatar

    It's definitely unzip issue of .NET built-in ZipArchive library. Few google search results hinted it might be size issue.

    For the sake of curiosity could you download your BitBucket repo as a zip to check its size:

    https://bitbucket.org/{owner}/{repo}/get/{commit-id}.zip
    
  18. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:55 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac