I'm seeing this MethodError
the first time I try calling something via invokelatest
:
ERROR: MethodError: no method matching process(::CodecZlib.GzipDecompressor, ::TranscodingStreams.Memory, ::TranscodingStreams.Memory, ::TranscodingStreams.Error)
Closest candidates are:
process(::CodecZlib.DecompressorCodec, ::TranscodingStreams.Memory, ::TranscodingStreams.Memory, ::TranscodingStreams.Error)
@ CodecZlib ~/.julia/packages/CodecZlib/rXv4n/src/decompression.jl:157
process(::TranscodingStreams.Codec, ::TranscodingStreams.Memory, ::TranscodingStreams.Memory, ::TranscodingStreams.Error)
@ TranscodingStreams ~/.julia/packages/TranscodingStreams/2McN2/src/codec.jl:166
process(::CodecZlib.CompressorCodec, ::TranscodingStreams.Memory, ::TranscodingStreams.Memory, ::TranscodingStreams.Error)
@ CodecZlib ~/.julia/packages/CodecZlib/rXv4n/src/compression.jl:169
Where the stacktrace looks like this:
Stacktrace:
[1] process(codec::CodecZlib.GzipDecompressor, input::TranscodingStreams.Memory, output::TranscodingStreams.Memory, error::TranscodingStreams.Error)
...
[19] invokelatest
@ ./essentials.jl:816 [inlined]
The second time I run this via invokelatest
it works, but isn't half the point of invokelatest
so that I don't need to re-run something after the world age is updated?
Last updated: Dec 28 2024 at 04:38 UTC