Closed supersrh closed 2 years ago
I still have this issue on new installations with Julia v1.8 and on Windows (on Linux it works). Was it solved and how?
I still have this issue on new installations with Julia v1.8. Was it solved and how? Also for me the same issue. Problem is, I cannot use the command:
"language-julia.plotpane-disable"
(from the vscode julia-add-on).
The installation of "Blink"
seem to work:
import Pkg; Pkg.add("Blink")
But
import.Blink; Blink.AtomShell.install()
fails :-)
It looks like BinDeps.download_cmd
fails to download the zipped electron file at https://github.com/electron/electron/releases/download/v4.0.4/electron-v4.0.4-win32-x64.zip for Windows. You can manually download this file, unpack it into the directory .julia\packages\Blink\mwJC9\deps\atom
(so that this directory contains the folders locales, resources...) and you can use Blink again.
I don't have an Apple computer so I have not tested if this procedure is necessary. If so, the file to download would be https://github.com/electron/electron/releases/download/v4.0.4/electron-v4.0.4-darwin-x64.zip.
Thanks for your help!
The folder ~/.julia/packages/Blink/mwJC9/deps/
is there, the sub-folder atom
is missing.
If I make a folder atom
and copy the the zip-file to this new location it is deleted. here my error output:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
Warning: Failed to open the file electron-v4.0.4-linux-x64.zip: Permission
Warning: denied
0 71.6M 0 16375 0 0 55583 0 0:22:31 --:--:-- 0:22:31 55583
curl: (23) Failure writing output to destination
ERROR: failed process: Process(`curl -f -o electron-v4.0.4-linux-x64.zip -L https://github.com/electron/electron/releases/download/v4.0.4/electron-v4.0.4-linux-x64.zip`, ProcessExited(23)) [23]
Stacktrace:
[1] pipeline_error
@ ./process.jl:538 [inlined]
[2] run(::Cmd; wait::Bool)
@ Base ./process.jl:453
[3] run
@ ./process.jl:451 [inlined]
[4] download
@ ~/.julia/packages/Blink/mwJC9/src/AtomShell/install.jl:28 [inlined]
[5] (::Blink.AtomShell.var"#1#2")()
@ Blink.AtomShell ~/.julia/packages/Blink/mwJC9/src/AtomShell/install.jl:65
[6] cd(f::Blink.AtomShell.var"#1#2", dir::String)
@ Base.Filesystem ./file.jl:106
[7] install()
@ Blink.AtomShell ~/.julia/packages/Blink/mwJC9/src/AtomShell/install.jl:27
[8] top-level scope
@ REPL[3]:1
Output of include("/home/stefan/.julia/packages/Blink/mwJC9/src/AtomShell/install.jl")
ERROR: ArgumentError: Package BinDeps not found in current path:
- Run `import Pkg; Pkg.add("BinDeps")` to install the BinDeps package.
Stacktrace:
[1] require(into::Module, mod::Symbol)
@ Base ./loading.jl:893
[2] include(fname::String)
@ Base.MainInclude ./client.jl:444
[3] top-level scope
@ REPL[6]:1
Now the error message is:
julia> import.Blink; Blink.AtomShell.install()
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
Warning: Failed to open the file electron-v4.0.4-linux-x64.zip: Permission
Warning: denied
0 71.6M 0 1369 0 0 2205 0 9:27:59 --:--:-- 9:27:59 2205
curl: (23) Failure writing output to destination
ERROR: failed process: Process(`curl -f -o electron-v4.0.4-linux-x64.zip -L https://github.com/electron/electron/releases/download/v4.0.4/electron-v4.0.4-linux-x64.zip`, ProcessExited(23)) [23]
Stacktrace:
[1] pipeline_error
@ ./process.jl:538 [inlined]
[2] run(::Cmd; wait::Bool)
@ Base ./process.jl:453
[3] run
@ ./process.jl:451 [inlined]
[4] download
@ ~/.julia/packages/Blink/mwJC9/src/AtomShell/install.jl:28 [inlined]
[5] (::Blink.AtomShell.var"#1#2")()
@ Blink.AtomShell ~/.julia/packages/Blink/mwJC9/src/AtomShell/install.jl:65
[6] cd(f::Blink.AtomShell.var"#1#2", dir::String)
@ Base.Filesystem ./file.jl:106
[7] install()
@ Blink.AtomShell ~/.julia/packages/Blink/mwJC9/src/AtomShell/install.jl:27
[8] top-level scope
@ REPL[9]:1
Sorry, I have missed your post.
src/AtomShell/install.jl
does nothing else than unzipping electron*.zip into the directory atom
and removing the zip file. You can unzip the file manually and it should work.
Thanks!
On my Linux OS downloading:
wget https://github.com/electron/electron/releases/download/v4.0.4/electron-v4.0.4-linux-x64.zip
and copy the content to the destination folder cured the issue :-)
P.S.:
once it is operational, you can find the link to the Official Guides
Julia-1.6.3, win10 PlotlyJS v0.18.8 Blink v0.12.5
and I tried
Blink.AtomShell.install()
, but:After the interaption of the installation,
Pkg.status()
can find thePlotlyJS
package, but it can not plot image: