FFMPEG.jl icon indicating copy to clipboard operation
FFMPEG.jl copied to clipboard

Julia v1.4 failed to precompile plots on windows 7 x64

Open fhkm opened this issue 4 years ago • 1 comments

I have a clean install of Julia v1.4 on windows 7. I was unable to create any plot. Please see the error message below.

julia> using Plots [ Info: Precompiling Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80] ERROR: LoadError: LoadError: InitError: could not load library "C:\Users[user-name].j ulia\artifacts\8cd86f24947687d38f279aaceeb1970ff65183c4\bin\libbz2-1.dll" The specified module could not be found. Stacktrace: [1] dlopen(::String, ::UInt32; throw_error::Bool) at D:\buildbot\worker\package _win64\build\usr\share\julia\stdlib\v1.4\Libdl\src\Libdl.jl:109 [2] dlopen at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1. 4\Libdl\src\Libdl.jl:109 [inlined] (repeats 2 times) [3] init() at C:\Users[user-name].julia\packages\Bzip2_jll\MUgvY\src\wrappers\x8 6_64-w64-mingw32.jl:37 [4] _include_from_serialized(::String, ::Array{Any,1}) at .\loading.jl:697 [5] _require_search_from_serialized(::Base.PkgId, ::String) at .\loading.jl:781

[6] _require(::Base.PkgId) at .\loading.jl:1006 [7] require(::Base.PkgId) at .\loading.jl:927 [8] require(::Module, ::Symbol) at .\loading.jl:922 [9] include(::Module, ::String) at .\Base.jl:377 [10] include(::String) at C:\Users[user-name].julia\packages\FreeType2_jll\SETsF\src \FreeType2_jll.jl:1 [11] top-level scope at C:\Users[user-name].julia\packages\FreeType2_jll\SETsF\src\F reeType2_jll.jl:50 [12] include(::Module, ::String) at .\Base.jl:377 [13] top-level scope at none:2 [14] eval at .\boot.jl:331 [inlined] [15] eval(::Expr) at .\client.jl:449 [16] top-level scope at .\none:3 during initialization of module Bzip2_jll in expression starting at C:\Users[user-name].julia\packages\FreeType2_jll\SETsF\src
wrappers\x86_64-w64-mingw32.jl:4 in expression starting at C:\Users[user-name].julia\packages\FreeType2_jll\SETsF\src
FreeType2_jll.jl:43 ERROR: LoadError: LoadError: Failed to precompile FreeType2_jll [d7e528f0-a631-5 988-bf34-fe36492bcfd7] to C:\Users[user-name].julia\compiled\v1.4\FreeType2_jll\AzWNe _whFRm.ji. Stacktrace: [1] error(::String) at .\error.jl:33 [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1272 [3] _require(::Base.PkgId) at .\loading.jl:1029 [4] require(::Base.PkgId) at .\loading.jl:927 [5] require(::Module, ::Symbol) at .\loading.jl:922 [6] include(::Module, ::String) at .\Base.jl:377 [7] include(::String) at C:\Users[user-name].julia\packages\libass_jll\Ty9Kb\src\lib ass_jll.jl:1 [8] top-level scope at C:\Users[user-name].julia\packages\libass_jll\Ty9Kb\src\libas s_jll.jl:50 [9] include(::Module, ::String) at .\Base.jl:377 [10] top-level scope at none:2 [11] eval at .\boot.jl:331 [inlined] [12] eval(::Expr) at .\client.jl:449 [13] top-level scope at .\none:3 in expression starting at C:\Users[user-name].julia\packages\libass_jll\Ty9Kb\src\wra ppers\x86_64-w64-mingw32.jl:4 in expression starting at C:\Users[user-name].julia\packages\libass_jll\Ty9Kb\src\lib ass_jll.jl:43 ERROR: LoadError: LoadError: Failed to precompile libass_jll [0ac62f75-1d6f-5e53 -bd7c-93b484bb37c0] to C:\Users[user-name].julia\compiled\v1.4\libass_jll\JqZi8_whFRm .ji. Stacktrace: [1] error(::String) at .\error.jl:33 [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1272 [3] _require(::Base.PkgId) at .\loading.jl:1029 [4] require(::Base.PkgId) at .\loading.jl:927 [5] require(::Module, ::Symbol) at .\loading.jl:922 [6] include(::Module, ::String) at .\Base.jl:377 [7] include(::String) at C:\Users[user-name].julia\packages\FFMPEG_jll\1XNMx\src\FFM PEG_jll.jl:1 [8] top-level scope at C:\Users[user-name].julia\packages\FFMPEG_jll\1XNMx\src\FFMPE G_jll.jl:47 [9] include(::Module, ::String) at .\Base.jl:377 [10] top-level scope at none:2 [11] eval at .\boot.jl:331 [inlined] [12] eval(::Expr) at .\client.jl:449 [13] top-level scope at .\none:3 in expression starting at C:\Users[user-name].julia\packages\FFMPEG_jll\1XNMx\src\wra ppers\x86_64-w64-mingw32.jl:4 in expression starting at C:\Users[user-name].julia\packages\FFMPEG_jll\1XNMx\src\FFM PEG_jll.jl:43 ERROR: LoadError: Failed to precompile FFMPEG_jll [b22a6f82-2f65-5046-a5b2-351ab 43fb4e5] to C:\Users[user-name].julia\compiled\v1.4\FFMPEG_jll\uSD0T_whFRm.ji. Stacktrace: [1] error(::String) at .\error.jl:33 [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1272 [3] _require(::Base.PkgId) at .\loading.jl:1029 [4] require(::Base.PkgId) at .\loading.jl:927 [5] require(::Module, ::Symbol) at .\loading.jl:922 [6] include(::Module, ::String) at .\Base.jl:377 [7] top-level scope at none:2 [8] eval at .\boot.jl:331 [inlined] [9] eval(::Expr) at .\client.jl:449 [10] top-level scope at .\none:3 in expression starting at C:\Users[user-name].julia\packages\FFMPEG\vocw2\src\FFMPEG. jl:3 ERROR: LoadError: Failed to precompile FFMPEG [c87230d0-a227-11e9-1b43-d7ebe4e75 70a] to C:\Users[user-name].julia\compiled\v1.4\FFMPEG\TGvga_whFRm.ji. Stacktrace: [1] error(::String) at .\error.jl:33 [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1272 [3] _require(::Base.PkgId) at .\loading.jl:1029 [4] require(::Base.PkgId) at .\loading.jl:927 [5] require(::Module, ::Symbol) at .\loading.jl:922 [6] include(::Module, ::String) at .\Base.jl:377 [7] top-level scope at none:2 [8] eval at .\boot.jl:331 [inlined] [9] eval(::Expr) at .\client.jl:449 [10] top-level scope at .\none:3 in expression starting at C:\Users[user-name].julia\packages\Plots\NVH6y\src\Plots.jl :15 ERROR: Failed to precompile Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80] to C:\U sers[user-name].julia\compiled\v1.4\Plots\ld3vC_whFRm.ji. Stacktrace: [1] error(::String) at .\error.jl:33 [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1272 [3] _require(::Base.PkgId) at .\loading.jl:1029 [4] require(::Base.PkgId) at .\loading.jl:927 [5] require(::Module, ::Symbol) at .\loading.jl:922

fhkm avatar Apr 15 '20 17:04 fhkm

We've had recurrent reports of users having install issues (with Plots in this case) because FFMPEG sometimes doesn't install on Windows, e.g. https://github.com/JuliaPlots/Plots.jl/issues/2419

mkborregaard avatar Apr 16 '20 07:04 mkborregaard