No applicable_loaders found for UNKNOWN
还没有人认领这个 Issue。
评估
调研方向
使用报告中的代码和版本,重现 IJulia notebook 的重复执行。先从 FileIO/src/loadsave.jl 和 FileIO/src/query.jl 开始,尤其关注 stack trace 位置,并跟踪首次加载后如何检测被监视的文件。完成标准是重复执行能够加载 test.png,且不会出现 UNKNOWN loader error 或 detect_rdata EOF warning。
由索引模型根据 Issue 内容生成。
描述
I want to loop over the following code in an IJulia notebook:
using Images,FileWatching
event = watch_file("test.png")
if event.timedout
display("timeout")
end
display(load("test.png"))
The first execution works as expected, however, during the second execution I get the following error message
No applicable_loaders found for UNKNOWN
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:33
[2] applicable_loaders
@ ~/.julia/packages/FileIO/40aie/src/loadsave.jl:11 [inlined]
[3] load(::String; options::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ FileIO ~/.julia/packages/FileIO/40aie/src/loadsave.jl:112
[4] load(::String)
@ FileIO ~/.julia/packages/FileIO/40aie/src/loadsave.jl:110
[5] top-level scope
@ In[7]:6
[6] eval
@ ./boot.jl:360 [inlined]
[7] include_string(mapexpr::typeof(REPL.softscope), mod::Module, code::String, filename::String)
@ Base ./loading.jl:1094
and after executing the code yet another time additionally the following
┌ Error: There was an error in magic function detect_rdata.
│ Please open an issue at FileIO.jl.
│ exception = (EOFError(), Union{Ptr{Nothing}, Base.InterpreterIP}[Ptr{Nothing} @0x0000000116cf51a4, Ptr{Nothing} @0x000000011303fc78, Ptr{Nothing} @0x000000011303fe6f, Ptr{Nothing} @0x000000010a0b09ef, Ptr{Nothing} @0x0000000113013cf9, Ptr{Nothing} @0x00000001130146d7, Ptr{Nothing} @0x00000001130155fa, Ptr{Nothing} @0x00000001130157c8, Ptr{Nothing} @0x0000000113015999, Ptr{Nothing} @0x0000000113010e44, Ptr{Nothing} @0x0000000113012a69, Ptr{Nothing} @0x0000000113012cfe, Ptr{Nothing} @0x000000010a0b09ef, Ptr{Nothing} @0x000000010a0c773f, Ptr{Nothing} @0x000000010a0c6094, Ptr{Nothing} @0x000000010a0c640c, Base.InterpreterIP in top-level CodeInfo for Main at statement 0, Ptr{Nothing} @0x000000010a0e0d44, Ptr{Nothing} @0x000000010a0e0b04, Ptr{Nothing} @0x000000010a0e1634, Ptr{Nothing} @0x0000000112ff009c, Ptr{Nothing} @0x0000000112ff04f9, Ptr{Nothing} @0x000000010a0b09ef, Ptr{Nothing} @0x0000000112ffe855, Ptr{Nothing} @0x000000010a0b09ef, Ptr{Nothing} @0x000000010a0bd269, Ptr{Nothing} @0x0000000112fdeb62, Ptr{Nothing} @0x0000000112fdeed4, Ptr{Nothing} @0x0000000112fdeeec, Ptr{Nothing} @0x000000010a0b09ef, Ptr{Nothing} @0x000000010a0cba7d])
└ @ FileIO /Users/paul/.julia/packages/FileIO/40aie/src/query.jl:145
I'm using Julia 1.6 and Images v0.24.1.
- 主要语言
- Julia
- 星标
- 228
- 派生
- 83
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
JuliaIO/FileIO.jl 的其他 Issue
-
Drop the hard `Pkg` dependency可能已有人在做 @thchr 于 26 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 35/100
-
难度 3/5 1-2 天 新手友好度 52/100
-
Add SVGZ format未关闭
难度 3/5 1-2 天 新手友好度 48/100
-
难度 5/5 一周以上 新手友好度 25/100
-
难度 3/5 1-2 天 新手友好度 48/100
查看 JuliaIO/FileIO.jl 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 66/100
-
question
难度 2/5 1-3 小时 新手友好度 68/100
brown-ccv/Chamber.jl#272 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
JuliaAstro/SolarPosition.jl#143 ·
-
distributions
难度 2/5 1-3 小时 新手友好度 72/100
JuliaBayes/Wren.jl#404 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
JuliaAI/MLJTransforms.jl#113 ·
维护者通常 1 天内回复