compatible for julia-0.5.0?

Đang mở
#6 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
julia
Lĩnh vực
distributed-systems

Hướng nghiên cứu

Bắt đầu bằng cách chạy Pkg.test("MessageUtils") với Julia 0.5.0 và kiểm tra các lỗi được báo cáo trong test/runtests.jl. Đọc src/MessageUtils.jl quanh dòng 19 và src/core.jl quanh dòng 4, sau đó lần theo các lỗi tương thích liên quan đến isdefined và Base.RemoteRef. Hoàn tất khi package được tải và bộ kiểm thử của nó chạy thành công trên Julia 0.5.0.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Pkg.test("MessageUtils")
INFO: Testing MessageUtils
ERROR: LoadError: LoadError: syntax: space before "(" not allowed in "isdefined ("
 in include_from_node1(::String) at ./loading.jl:488
 in eval(::Module, ::Any) at ./boot.jl:234
 in require(::Symbol) at ./loading.jl:409
 in include_from_node1(::String) at ./loading.jl:488
 in process_options(::Base.JLOptions) at ./client.jl:262
 in _start() at ./client.jl:318
while loading /usr/people/jingpeng/.julia/v0.5/MessageUtils/src/MessageUtils.jl, in expression starting on line 19
while loading /usr/people/jingpeng/.julia/v0.5/MessageUtils/test/runtests.jl, in expression starting on line 4
=======================================[ ERROR: MessageUtils ]========================================

failed process: Process(`/usr/people/jingpeng/lib/julia/bin/julia -Cx86-64 -J/usr/people/jingpeng/lib/julia/lib/julia/sys.so --compile=yes --depwarn=yes --check-bounds=yes --code-coverage=none --color=yes --compilecache=yes /usr/people/jingpeng/.julia/v0.5/MessageUtils/test/runtests.jl`, ProcessExited(1)) [1]

======================================================================================================
ERROR: MessageUtils had test errors
 in #test#61(::Bool, ::Function, ::Array{AbstractString,1}) at ./pkg/entry.jl:740
 in (::Base.Pkg.Entry.#kw##test)(::Array{Any,1}, ::Base.Pkg.Entry.#test, ::Array{AbstractString,1}) at ./<missing>:0
 in (::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#test,Tuple{Array{AbstractString,1}}})() at ./pkg/dir.jl:31
 in cd(::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#test,Tuple{Array{AbstractString,1}}}, ::String) at ./file.jl:59
 in #cd#1(::Array{Any,1}, ::Function, ::Function, ::Array{AbstractString,1}, ::Vararg{Array{AbstractString,1},N}) at ./pkg/dir.jl:31
 in (::Base.Pkg.Dir.#kw##cd)(::Array{Any,1}, ::Base.Pkg.Dir.#cd, ::Function, ::Array{AbstractString,1}, ::Vararg{Array{AbstractString,1},N}) at ./<missing>:0
 in #test#3(::Bool, ::Function, ::String, ::Vararg{String,N}) at ./pkg/pkg.jl:258
 in test(::String, ::Vararg{String,N}) at ./pkg/pkg.jl:258

after fixing the space issue, got this:

ERROR: LoadError: LoadError: LoadError: TypeError: SyncObjRef: in type definition, expected Type{T}, got Base.#RemoteRef
 in include_from_node1(::String) at ./loading.jl:488 (repeats 2 times)
 in eval(::Module, ::Any) at ./boot.jl:234
 in require(::Symbol) at ./loading.jl:409
 in include_from_node1(::String) at ./loading.jl:488
 in process_options(::Base.JLOptions) at ./client.jl:262
 in _start() at ./client.jl:318
while loading /usr/people/jingpeng/.julia/v0.5/MessageUtils/src/core.jl, in expression starting on line 4
while loading /usr/people/jingpeng/.julia/v0.5/MessageUtils/src/MessageUtils.jl, in expression starting on line 5
while loading /usr/people/jingpeng/.julia/v0.5/MessageUtils/test/runtests.jl, in expression starting on line 4
julia> versioninfo()
Julia Version 0.5.0
Commit 3c9d753 (2016-09-19 18:14 UTC)
Platform Info:
  System: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.7.1 (ORCJIT, haswell)

Ngôn ngữ chính
Julia
Star
7
Fork
3
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của JuliaParallel/MessageUtils.jl

Tất cả issue của JuliaParallel/MessageUtils.jl

Issue tương tự

Thêm issue về Julia

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.