JuliaIO / GZip.jl

A Julia interface for gzip functions in zlib
https://juliaio.github.io/GZip.jl/dev
MIT License
39 stars 30 forks source link

WARNING: New definition #49

Closed JulienPascal closed 8 years ago

JulienPascal commented 8 years ago

Hi,

It seems like that GZip is not working on my version of Julia: v"0.5.0-dev+3438"

`julia> Pkg.test("GZip") INFO: Testing GZip WARNING: New definition write(GZip.GZipStream, Array{#T<:Any, N<:Any}) at /home/julien/.julia/v0.5/GZip/src/GZip.jl:456 is ambiguous with: write(Base.IO, Array{UInt8, N<:Any}) at io.jl:154. To fix, define write(GZip.GZipStream, Array{UInt8, N<:Any}) before the new definition. WARNING: readall is deprecated, use readstring instead. [inlined code] from ./error.jl:26 in depwarn(::ASCIIString, ::Symbol) at ./deprecated.jl:64 [inlined code] from ./strings/io.jl:53 in readall(::IOStream) at ./deprecated.jl:30 in open(::Base.#readall, ::ASCIIString) at ./iostream.jl:114 [inlined code] from /home/julien/.julia/v0.5/GZip/test/runtests.jl:32 in anonymous at ./:4294967295 in include(::ASCIIString) at ./boot.jl:234 in include_from_node1(::UTF8String) at ./loading.jl:417 in process_options(::Base.JLOptions) at ./client.jl:262 in _start() at ./client.jl:318 while loading /home/julien/.julia/v0.5/GZip/test/runtests.jl, in expression starting on line 27 Test Failed Expression: write(gzfile,data) == length(data.data) Evaluated: 440631 == 6449 ERROR: LoadError: There was an error during testing in record(::Base.Test.FallbackTestSet, ::Base.Test.Fail) at ./test.jl:322 in do_test(::Base.Test.Returned, ::Expr) at ./test.jl:220 [inlined code] from ./test.jl:137 in anonymous at ./:4294967295 in include(::ASCIIString) at ./boot.jl:234 in include_from_node1(::UTF8String) at ./loading.jl:417 in process_options(::Base.JLOptions) at ./client.jl:262 in _start() at ./client.jl:318 while loading /home/julien/.julia/v0.5/GZip/test/runtests.jl, in expression starting on line 27 ================================[ ERROR: GZip ]=================================

failed process: Process(/usr/bin/julia -Cx86-64 -J/usr/lib/x86_64-linux-gnu/julia/sys.so --compile=yes --check-bounds=yes --code-coverage=none --color=yes /home/julien/.julia/v0.5/GZip/test/runtests.jl, ProcessExited(1)) [1]

ERROR: Base.Pkg.PkgError("GZip had test errors") [inlined code] from ./strings/io.jl:33 in #test#55(::Bool, ::Any, ::Array{AbstractString,1}) at ./pkg/entry.jl:671 [inlined code] from ./int.jl:32 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}}}, ::ASCIIString) at ./file.jl:48 in #cd#1(::Array{Any,1}, ::Any, ::Any, ::Array{AbstractString,1}, ::Vararg{Array{AbstractString,1}}) at ./pkg/dir.jl:31 [inlined code] from ./boot.jl:304 in #test#3(::Bool, ::Any, ::ASCIIString, ::Vararg{ASCIIString}) at ./pkg.jl:228 in eval(::Module, ::Any) at ./boot.jl:237 `

'28 required packages:

Any reason why? Any help would be strongly appreciated.

Cheers, Julien