Skip to content

error in magic function detect_rdata. #424

@MarkoMekapses

Description

@MarkoMekapses

I'm suddenly getting a problem with reading files from disk.. I'm specifically using Images.load. Honestly, I surmise that it's due to some of the files being in iCloud on MacOS. But it's never been an issue before, even with cloud files.

The error given is
There was an error in magic function detect_rdata.
Please open an issue at FileIO.jl.

read(s::IOStream, ::Type{UInt8})
sourced from
julia → iostream.jl:424

docs
detect_compressor(io::IOStream, len::Int64; formats::Vector{String})
sourced from
FileIO → registry.jl:49
detect_compressor
sourced from
registry.jl:46
detect_compressed
sourced from
registry.jl:74
detect_rdata(io::IOStream)
sourced from
FileIO → registry.jl:80
match(io::IOStream, magic::Function)
sourced from
FileIO → query.jl:156
querysym_all(io::IOStream)
sourced from
FileIO → query.jl:182
(::FileIO.var"#8#9"{Symbol})(io::IOStream)
sourced from
FileIO → query.jl:105
open(f::FileIO.var"#8#9"{Symbol}, args::String; kwargs::@kwargs{})
sourced from
julia → io.jl:410

docs
querysym(filename::String; checkfile::Bool)
sourced from
FileIO → query.jl:91
querysym
sourced from
query.jl:91
load(::String; options::@kwargs{})
sourced from
loadsave.jl:111
load(::String)
sourced from
loadsave.jl:109
sourced from
Adjacent statement: directive 7
for i in 1:length(rand_image_files)
file1 = rand_image_files[i]
img1 = load(file1)
push!(rand_images, img1)
name, ext = splitext(split(file1, "/")[end])

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions