-
Notifications
You must be signed in to change notification settings - Fork 2
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
Windows: Long package silently not opened in browser #46
Comments
|
another one: |
Also, that takes a long time, #TTFX. |
(Actually, OrdinarryDiffEq takes longer to crawl than Plots) Ok this works: julia> link=PkgGraph.url(PkgGraph.depgraph_as_dotstr(:OrdinaryDiffEq));
julia> run(pipeline(`echo $link`, `clip.exe`)) (and then pasting in browser) |
(it's not better w/ jll and stdlib filtered out! (link)) |
aha, interesting: ) julia> DefaultApplication.open(link)
ERROR: IOError: stat("https://drea [...] Diff%0A%7D%0A"): name too long (ENAMETOOLONG)
Stacktrace:
[1] uv_error
@ ./libuv.jl:100 [inlined]
[2] stat(path::String)
@ Base.Filesystem ./stat.jl:152
[3] ispath
@ ./stat.jl:461 [inlined]
[4] #open#1
@ ~/.julia/dev/DefaultApplication/src/DefaultApplication.jl:27 [inlined]
[5] open(filename::String)
@ DefaultApplication ~/.julia/dev/DefaultApplication/src/DefaultApplication.jl:18
[6] top-level scope
@ REPL[5]:1 |
(could also be the case on mac, dunno) julia> run(`explorer.exe $link`)
ERROR: IOError: could not spawn `explorer.exe 'https://dreampuf.github
[..]
%3Dgray%5D%0A%20%20%20%20Logging%20%5Bfontcolor%3Dgray%5D%0A%20%20%20%20Mmap%20%5Bfontcolor%3Dgray%5D%0A%7D%0A'`: name too long (ENAMETOOLONG)
Stacktrace:
[1] _spawn_primitive(file::String, cmd::Cmd, stdio::Vector{Union{RawFD, Base.Libc.WindowsRawSocket, IO}})
@ Base .\process.jl:128
[2] #760
@ .\process.jl:139 [inlined]
[3] setup_stdios(f::Base.var"#760#761"{Cmd}, stdios::Vector{Union{RawFD, Base.Libc.WindowsRawSocket, IO}})
@ Base .\process.jl:223
[4] _spawn
@ .\process.jl:138 [inlined]
[5] run(::Cmd; wait::Bool)
@ Base .\process.jl:479
[6] run(::Cmd)
@ Base .\process.jl:477
[7] top-level scope
@ REPL[8]:1 |
So, we know thr: https://learn.microsoft.com/en-us/troubleshoot/windows-client/shell-experience/command-line-string-limitation "#how-to-work-around-the-limitation": write to tmp file, then pipe through. ok sure (could be a defaultapp pr) hah, maybe PowerShell doesn't have this? ah no, julia> run(`powershell.exe -NoProfile -NonInteractive -Command start $link`) gives same error ( |
Current status: will be fixed once is merged and released |
Should be released and thus fixed: https://github.com/tpapp/DefaultApplication.jl/commits/master |
depgraph_web(:Plots)
, egurl(:Plots,) shows that truncated..
The text was updated successfully, but these errors were encountered: