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

Error with FileIO.jl > v1.6.5 #38

Closed
nantonel opened this issue May 3, 2021 · 1 comment
Closed

Error with FileIO.jl > v1.6.5 #38

nantonel opened this issue May 3, 2021 · 1 comment

Comments

@nantonel
Copy link
Collaborator

nantonel commented May 3, 2021

Package fails to load with the latest FileIO version:

julia> using LibSndFile
ERROR: InitError: format OGG is already registered
Stacktrace:
  [1] error(::String, ::Symbol, ::String)
    @ Base ./error.jl:42
  [2] add_format(sym::Symbol, magic::Vector{UInt8}, extension::Vector{String})
    @ FileIO ~/.julia/packages/FileIO/7CSs0/src/registry_setup.jl:120
  [3] add_format
    @ ~/.julia/packages/FileIO/7CSs0/src/registry_setup.jl:112 [inlined]
  [4] add_format(fmt::Symbol, magic::String, extension::Vector{String}, load_save_libraries::Vector{Symbol})
    @ FileIO ~/.julia/packages/FileIO/7CSs0/src/registry_setup.jl:85
  [5] add_format
    @ ~/.julia/packages/FileIO/7CSs0/src/registry_setup.jl:111 [inlined]
  [6] __init__()
    @ LibSndFile ~/.julia/packages/LibSndFile/xjr0A/src/LibSndFile.jl:23
  [7] _include_from_serialized(path::String, depmods::Vector{Any})
    @ Base ./loading.jl:674
  [8] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String)
    @ Base ./loading.jl:760
  [9] _require(pkg::Base.PkgId)
    @ Base ./loading.jl:998
 [10] require(uuidkey::Base.PkgId)
    @ Base ./loading.jl:914
 [11] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:901
during initialization of module LibSndFile

but works with by when downgrading FileIO.jl:

] add FileIO@v1.6.5
@nantonel nantonel mentioned this issue May 12, 2021
2 tasks
@rob-luke
Copy link
Member

Can we close this now?

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

2 participants