Can't print errors during tests

オープン
#168 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
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 を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

JuliaParallel/DistributedArrays.jl のほかの issue

JuliaParallel/DistributedArrays.jl の issue をすべて見る

似ている issue

Julia の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。