Can't print errors during tests
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 30/100
- Issue 類型
- 缺陷
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 技術堆疊
- julia
研究方向
從 test/darray.jl:217 處失敗的測試開始,追蹤經過 src/darray.jl:582 和 src/darray.jl:598 的回報呼叫。將錯誤輸出與 Test.jl:144 和 Test.jl:1090 中 Julia 的 Test 處理進行比較;完成的標準是測試失敗可以印出相關錯誤,而不會觸發所示的次要例外。
由索引模型根據 Issue 內容生成。
描述
This makes debugging quite infuriating ;)
test DArray reduce: Error During Test at /home/vchuravy/.julia/dev/DistributedArrays/test/darray.jl:217
Got exception outside of a @test
scalar indexing disabled
Stacktrace:
[1] _scalarindexingallowed at /home/vchuravy/.julia/dev/DistributedArrays/src/darray.jl:582 [inlined]
[2] getindex at /home/vchuravy/.julia/dev/DistributedArrays/src/darray.jl:598 [inlined]
[3] _show_nonempty(::IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}, ::DArray{Int64,2,Array{Int64,2}}, ::String) at ./arrayshow.jl:386
[4] show(::IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}, ::DArray{Int64,2,Array{Int64,2}}) at ./arrayshow.jl:421
[5] show_delim_array(::IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}, ::Tuple{DArray{Int64,2,Array{Int64,2}}}, ::Char, ::Char, ::Char, ::Bool, ::Int64, ::Int64) at ./show.jl:695
[6] show_delim_array at ./show.jl:680 [inlined]
[7] show(::IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}, ::Tuple{DArray{Int64,2,Array{Int64,2}}}) at ./show.jl:714
[8] show_default(::IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}, ::Any) at ./show.jl:332
[9] show(::IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}, ::Any) at ./show.jl:315
[10] #sprint#325(::Pair{Symbol,Bool}, ::Int64, ::Function, ::Function, ::MethodError) at ./strings/io.jl:99
[11] #sprint at ./none:0 [inlined]
[12] Test.Error(::Symbol, ::Expr, ::MethodError, ::Array{Union{Ptr{Nothing}, InterpreterIP},1}, ::LineNumberNode) at /build/julia/src/julia/usr/share/julia/stdlib/v1.0/Test/src/Test.jl:144
[13] top-level scope at /build/julia/src/julia/usr/share/julia/stdlib/v1.0/Test/src/Test.jl:1090
[14] include(::String) at ./client.jl:388
[15] top-level scope at none:0
[16] include(::String) at ./client.jl:388
[17] top-level scope at none:0
- 主要語言
- Julia
- 星號
- 205
- 分支
- 34
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
JuliaParallel/DistributedArrays.jl 的其他 Issue
-
難度 4/5 3-5 天 新手友好度 35/100
JuliaParallel/DistributedArrays.jl#255 · 1 個 reaction ·
-
難度 3/5 1-2 天 新手友好度 45/100
JuliaParallel/DistributedArrays.jl#239 · 1 個 reaction ·
-
難度 3/5 1-2 天 新手友好度 45/100
JuliaParallel/DistributedArrays.jl#238 · 1 則留言 ·
-
難度 4/5 3-5 天 新手友好度 35/100
-
難度 4/5 3-5 天 新手友好度 30/100
查看 JuliaParallel/DistributedArrays.jl 的全部 Issue
相似的 Issue
-
docs
難度 1/5 1 小時以內 新手友好度 88/100
-
path: splitext treats directory references and leading dots as extensions可能已有人在做 @Hiten0305l 今天認領。 未關閉
難度 2/5 半天 新手友好度 72/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 70/100
JuliaRegistries/RegistryCI.jl#758 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
JuliaParallel/Hwloc.jl#93 ·
-
難度 2/5 1-3 小時 新手友好度 74/100
維護者通常 1 天內回覆