Re: Conduit missing closing file handles
Henning Thielemann <[email protected]> Fri, 1 May 2026 16:53:33 +0200 (CEST)
| Newsgroups | gmane.comp.lang.haskell.cafe |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 1 May 2026, Tom Ellis wrote: > On Fri, May 01, 2026 at 11:26:34AM +0200, Henning Thielemann wrote: > >> My program would also require a Tar library. > > Can you please try this Bluefin version of convertZipToTar and confirm > whether it does what you want without leaking handles? > > https://github.com/tomjaguarpaw/ad/blob/master/BluefinZipTar/BluefinZipTar.hs#L43-L65 Ok great, I tried and now I get an error from tar-conduit: zip2tar-bluefin: Uncaught exception tar-conduit-0.4.1-3860201d51f91b125377913a0184ee22827a51e5a78eec1b1230907a77ca3cf7:Data.Conduit.Tar.Types.TarCreateException: TarCreationError "<tarPayload>: Too much payload (32752) for file with size (412): avmedia/res/av02048.png" HasCallStack backtrace: throwIO, called at ./Control/Concurrent/Async/Internal.hs:667:24 in async-2.2.6-d55fde70b8a48643acd98dd03fa271c8842e964017add43e3365c491d02ab733:Control.Concurrent.Async.Internal However, this may still be a mistake in the Zip part, reading too much data from a compressed file. _______________________________________________ Haskell-Cafe mailing list -- [email protected] To (un)subscribe, modify options or view archives go to: Only members subscribed via the mailman list are allowed to post.