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

redirect_stdio is broken by Julia 1.7 #986

Closed
stevengj opened this issue Feb 13, 2021 · 1 comment
Closed

redirect_stdio is broken by Julia 1.7 #986

stevengj opened this issue Feb 13, 2021 · 1 comment

Comments

@stevengj
Copy link
Member

stevengj commented Feb 13, 2021

As described in #968 (comment) and #968 (comment), the stdio redirection code will need to change for Julia 1.7 to use the new mechanism from JuliaLang/julia#39132 — currently, starting the IJulia kernel in Julia 1.7 gives an error:

ERROR: LoadError: ArgumentError: expecting stdout stream
Stacktrace:
 [1] (::Base.redirect_stdio)(io::IJulia.IJuliaStdio{Base.PipeEndpoint})
   @ IJulia ~/.julia/dev/IJulia/src/stdio.jl:30
 [2] init(args::Vector{String})
   @ IJulia ~/.julia/dev/IJulia/src/init.jl:109
 [3] top-level scope
   @ ~/.julia/dev/IJulia/src/kernel.jl:24
in expression starting at /Users/stevenj/.julia/dev/IJulia/src/kernel.jl:24
@stevengj stevengj changed the title redirect_stdio is broken in Julia 1.6 redirect_stdio is broken in Julia 1.7 Feb 13, 2021
@stevengj
Copy link
Member Author

(Seems to work fine in Julia 1.6.)

@stevengj stevengj changed the title redirect_stdio is broken in Julia 1.7 redirect_stdio is changed in Julia 1.7 Feb 13, 2021
@stevengj stevengj changed the title redirect_stdio is changed in Julia 1.7 redirect_stdio is broken by Julia 1.7 Feb 14, 2021
rgobbel added a commit to rgobbel/IJulia.jl that referenced this issue Feb 22, 2021
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

1 participant