compatible for julia-0.5.0?

Abierto
#6 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
julia

Línea de trabajo

Comienza ejecutando Pkg.test("MessageUtils") con Julia 0.5.0 e inspecciona los fallos indicados en test/runtests.jl. Lee src/MessageUtils.jl alrededor de la línea 19 y src/core.jl alrededor de la línea 4; después, sigue los errores de compatibilidad relacionados con isdefined y Base.RemoteRef. Se considera terminado cuando el paquete se carga y su conjunto de pruebas pasa en Julia 0.5.0.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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)

Lenguaje dominante
Julia
Estrellas
7
Forks
3
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de JuliaParallel/MessageUtils.jl

Todos los issues de JuliaParallel/MessageUtils.jl

Issues similares

Más issues de Julia

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.