Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when running example from README #67

Closed
alexriss opened this issue Apr 26, 2023 · 1 comment
Closed

error when running example from README #67

alexriss opened this issue Apr 26, 2023 · 1 comment

Comments

@alexriss
Copy link

alexriss commented Apr 26, 2023

The example from the README, compressed = transcode(GzipCompressor, "test string"), gives the following error:

MethodError: transcode(::Type{GzipCompressor}, ::String) is ambiguous. Candidates:
  transcode(T, src::String) in Base at c.jl:306
  transcode(::Type{C}, args...) where C<:TranscodingStreams.Codec in TranscodingStreams at ...\.julia\packages\TranscodingStreams\5yQuA\src\transcode.jl:33
Possible fix, define
  transcode(::Type{C}, ::String) where C<:TranscodingStreams.Codec

This seems to be a new issue with the recently released version of TranscodingStreams (v0.9.12).

@ViralBShah
Copy link
Contributor

Not seeing this error any more. Please reopen with more details on Julia and package versions if still failing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants