{
  "WorkItem": {
    "AffectedComponent": {
      "Name": "",
      "DisplayName": ""
    },
    "ClosedComment": "",
    "ClosedDate": null,
    "CommentCount": 0,
    "Custom": null,
    "Description": "I was zipping a directory and the zip never finished, despite working fine for some other directories. Through a painstaking process of removing files bit by bit, I narrowed the zip getting stuck to 3 files. I'm not sure if I can send those files yet but any ideas why it might be never finishing and how to troubleshoot? See attached image for the folder I'm zipping. Code and output is below.\n \n \nMy code is below:\n \nusing System;\nusing System.IO;\nusing System.Linq;\nusing Ionic.Zip;\nusing Ionic.Zlib;\n \nnamespace DotNetZipTest\n{\n    class Program\n    {\n        static void Main(string[] args)\n        {\n            BackupWithDotNetZip();\n \n            Console.WriteLine(\"Press Enter to exit\");\n            Console.ReadLine();\n        }\n \n        private static void BackupWithDotNetZip()\n        {\n            var rootRolder = new DirectoryInfo(AppDomain.CurrentDomain.BaseDirectory).Parent.Parent;\n \n            rootRolder.GetFiles(\"*.tmp\").ToList().ForEach(x => x.Delete());\n            rootRolder.GetFiles(\"*.zip\").ToList().ForEach(x => x.Delete());\n \n            var folderToBackup = Path.Combine(rootRolder.FullName, \"_FolderToBackup\");\n            var zipFilename = Path.Combine(rootRolder.FullName, \"Test.zip\");\n            var zipFileObject = new ZipFile(zipFilename, Console.Out);\n            zipFileObject.CompressionLevel = CompressionLevel.BestSpeed;\n            zipFileObject.AddDirectory(folderToBackup);\n            Console.WriteLine(\"Saving zip...\");\n            zipFileObject.SaveProgress += (sender, e) =>\n            {\n                Console.WriteLine(string.Format(\"Event: {0}. Items Saved: {1} of {2}\", e.EventType,\n                    e.EntriesSaved, e.EntriesTotal));\n                if (null != e.CurrentEntry)\n                    Console.WriteLine(e.CurrentEntry.FileName);\n            };\n            zipFileObject.Save();\n        }\n    }\n}\n \nConsole Output is:\n \nadding C:\\Users\\MyUserName\\DesktopDotNetZipTest\\DotNetZipTest\\_F\nderToBackup...\nadding C:\\Users\\MyUserName\\DesktopDotNetZipTest\\DotNetZipTest\\_F\nderToBackup\\Satellite...\nadding C:\\Users\\MyUserName\\DesktopDotNetZipTest\\DotNetZipTest\\_F\nderToBackup\\Satellite\\OmniForms.Library.pdb...\nadding C:\\Users\\MyUserName\\DesktopDotNetZipTest\\DotNetZipTest\\_F\nderToBackup\\Satellite\\TeamWorks.Recruiting.dll...\nadding C:\\Users\\MyUserName\\DesktopDotNetZipTest\\DotNetZipTest\\_F\nderToBackup\\Satellite\\TeamWorks.Recruiting.pdb...\nSaving zip...\nEvent: Saving_Started. Items Saved: 0 of 0\nsaving....\nEvent: Saving_BeforeWriteEntry. Items Saved: 0 of 4\nSatellite/\nEvent: Saving_AfterWriteEntry. Items Saved: 1 of 4\nSatellite/\nEvent: Saving_BeforeWriteEntry. Items Saved: 1 of 4\nSatellite/OmniForms.Library.pdb\nEvent: Saving_EntryBytesRead. Items Saved: 0 of 0\nSatellite/OmniForms.Library.pdb\nEvent: Saving_EntryBytesRead. Items Saved: 0 of 0\nSatellite/OmniForms.Library.pdb\nEvent: Saving_EntryBytesRead. Items Saved: 0 of 0\nSatellite/OmniForms.Library.pdb\nEvent: Saving_AfterWriteEntry. Items Saved: 2 of 4\nSatellite/OmniForms.Library.pdb\nEvent: Saving_BeforeWriteEntry. Items Saved: 2 of 4\nSatellite/TeamWorks.Recruiting.dll\nEvent: Saving_EntryBytesRead. Items Saved: 0 of 0\nSatellite/TeamWorks.Recruiting.dll\nEvent: Saving_EntryBytesRead. Items Saved: 0 of 0\nSatellite/TeamWorks.Recruiting.dll\nEvent: Saving_EntryBytesRead. Items Saved: 0 of 0\nSatellite/TeamWorks.Recruiting.dll\nEvent: Saving_EntryBytesRead. Items Saved: 0 of 0\nSatellite/TeamWorks.Recruiting.dll\nEvent: Saving_EntryBytesRead. Items Saved: 0 of 0\nSatellite/TeamWorks.Recruiting.dll\nEvent: Saving_EntryBytesRead. Items Saved: 0 of 0\nSatellite/TeamWorks.Recruiting.dll\nEvent: Saving_EntryBytesRead. Items Saved: 0 of 0\nSatellite/TeamWorks.Recruiting.dll\nEvent: Saving_EntryBytesRead. Items Saved: 0 of 0\nSatellite/TeamWorks.Recruiting.dll\nEvent: Saving_EntryBytesRead. Items Saved: 0 of 0\nSatellite/TeamWorks.Recruiting.dll\nEvent: Saving_EntryBytesRead. Items Saved: 0 of 0\nSatellite/TeamWorks.Recruiting.dll\nEvent: Saving_EntryBytesRead. Items Saved: 0 of 0\nSatellite/TeamWorks.Recruiting.dll\nEvent: Saving_EntryBytesRead. Items Saved: 0 of 0\nSatellite/TeamWorks.Recruiting.dll\nEvent: Saving_EntryBytesRead. Items Saved: 0 of 0\nSatellite/TeamWorks.Recruiting.dll\nEvent: Saving_EntryBytesRead. Items Saved: 0 of 0\nSatellite/TeamWorks.Recruiting.dll\nEvent: Saving_EntryBytesRead. Items Saved: 0 of 0\nSatellite/TeamWorks.Recruiting.dll\nEvent: Saving_EntryBytesRead. Items Saved: 0 of 0\nSatellite/TeamWorks.Recruiting.dll\nEvent: Saving_EntryBytesRead. Items Saved: 0 of 0\nSatellite/TeamWorks.Recruiting.dll\nEvent: Saving_EntryBytesRead. Items Saved: 0 of 0\nSatellite/TeamWorks.Recruiting.dll\nEvent: Saving_EntryBytesRead. Items Saved: 0 of 0\nSatellite/TeamWorks.Recruiting.dll\nEvent: Saving_EntryBytesRead. Items Saved: 0 of 0\nSatellite/TeamWorks.Recruiting.dll\nEvent: Saving_EntryBytesRead. Items Saved: 0 of 0\nSatellite/TeamWorks.Recruiting.dll\nEvent: Saving_EntryBytesRead. Items Saved: 0 of 0\nSatellite/TeamWorks.Recruiting.dll\nEvent: Saving_EntryBytesRead. Items Saved: 0 of 0\nSatellite/TeamWorks.Recruiting.dll\nEvent: Saving_EntryBytesRead. Items Saved: 0 of 0\nSatellite/TeamWorks.Recruiting.dll\nEvent: Saving_EntryBytesRead. Items Saved: 0 of 0\nSatellite/TeamWorks.Recruiting.dll\nEvent: Saving_EntryBytesRead. Items Saved: 0 of 0\nSatellite/TeamWorks.Recruiting.dll\nEvent: Saving_EntryBytesRead. Items Saved: 0 of 0\nSatellite/TeamWorks.Recruiting.dll\nEvent: Saving_EntryBytesRead. Items Saved: 0 of 0\nSatellite/TeamWorks.Recruiting.dll\nEvent: Saving_EntryBytesRead. Items Saved: 0 of 0\nSatellite/TeamWorks.Recruiting.dll\nEvent: Saving_EntryBytesRead. Items Saved: 0 of 0\nSatellite/TeamWorks.Recruiting.dll\nEvent: Saving_EntryBytesRead. Items Saved: 0 of 0\nSatellite/TeamWorks.Recruiting.dll\nEvent: Saving_EntryBytesRead. Items Saved: 0 of 0\nSatellite/TeamWorks.Recruiting.dll\nEvent: Saving_EntryBytesRead. Items Saved: 0 of 0\nSatellite/TeamWorks.Recruiting.dll\nEvent: Saving_EntryBytesRead. Items Saved: 0 of 0\nSatellite/TeamWorks.Recruiting.dll\nEvent: Saving_EntryBytesRead. Items Saved: 0 of 0\nSatellite/TeamWorks.Recruiting.dll\nEvent: Saving_EntryBytesRead. Items Saved: 0 of 0\nSatellite/TeamWorks.Recruiting.dll\nEvent: Saving_AfterWriteEntry. Items Saved: 3 of 4\nSatellite/TeamWorks.Recruiting.dll\nEvent: Saving_BeforeWriteEntry. Items Saved: 3 of 4\nSatellite/TeamWorks.Recruiting.pdb\nEvent: Saving_EntryBytesRead. Items Saved: 0 of 0\nSatellite/TeamWorks.Recruiting.pdb\nEvent: Saving_EntryBytesRead. Items Saved: 0 of 0\nSatellite/TeamWorks.Recruiting.pdb",
    "LastUpdatedDate": "2013-02-21T18:42:54.51-08:00",
    "PlannedForRelease": "",
    "ReleaseVisibleToPublic": false,
    "Priority": {
      "Name": "Low",
      "Severity": 50,
      "Id": 1
    },
    "ProjectName": "DotNetZip",
    "ReportedDate": "2012-03-13T12:55:34.563-07:00",
    "Status": {
      "Name": "Proposed",
      "Id": 1
    },
    "ReasonClosed": {
      "Name": "Unassigned"
    },
    "Summary": "Zip gets stuck",
    "Type": {
      "Name": "Issue",
      "Id": 3
    },
    "VoteCount": 4,
    "Id": 14814
  },
  "FileAttachments": [
    {
      "FileId": 4257,
      "FileName": "FolderToBackup.png",
      "DownloadUrl": ".\\4257"
    }
  ],
  "Comments": [
    {
      "Message": "I got stung by this too. In my case the file that hung was Lucence.Net.xml ...",
      "PostedDate": "2012-04-18T06:38:09.14-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2012-09-28T09:12:45.733-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2012-10-23T15:23:32.853-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2013-02-21T18:42:54.51-08:00",
      "Id": -2147483648
    }
  ]
}