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

UndefVarError: write_sub not defined. Cannot access internal Base API #55

Open
altre opened this issue Feb 23, 2022 · 1 comment · May be fixed by #56
Open

UndefVarError: write_sub not defined. Cannot access internal Base API #55

altre opened this issue Feb 23, 2022 · 1 comment · May be fixed by #56

Comments

@altre
Copy link

altre commented Feb 23, 2022

Elly tries to access the internal Base method Base.write_sub in rpc.jl:861

This leads to an UndefVarError in julia 1.7.2:

ERROR: UndefVarError: write_sub not defined
Stacktrace:
  [1] getproperty
    @ ./Base.jl:35 [inlined]
  [2] write(writer::Elly.HDFSBlockWriter, buff::Vector{UInt8})
    @ Elly ~/.julia/packages/Elly/Ia03N/src/rpc.jl:861
  [3] _write(writer::Elly.HDFSFileWriter, data::Vector{UInt8})
    @ Elly ~/.julia/packages/Elly/Ia03N/src/api_hdfs_io.jl:298
  [4] write
    @ ~/.julia/packages/Elly/Ia03N/src/api_hdfs_io.jl:309 [inlined]
  [5] cp(frompath::String, topath::Elly.HDFSFile; offset::UInt64, len::UInt64, crc::Bool)
    @ Elly ~/.julia/packages/Elly/Ia03N/src/api_hdfs_io.jl:385
  [6] cp
    @ ~/.julia/packages/Elly/Ia03N/src/api_hdfs_io.jl:365 [inlined]

It still works in julia 1.6

@schlurp
Copy link

schlurp commented Oct 13, 2022

Is there any progress happening on this issue? This prevents users from updating to a more recent julia version.

schlurp added a commit to schlurp/Elly.jl that referenced this issue Nov 9, 2022
@schlurp schlurp linked a pull request Nov 9, 2022 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants