It looks like the problem is
in https://github.com/JuliaStats/DataFrames.jl/blob/master/src/RDA.jl#L258
where readline(io::IO) sometimes returns a String and sometims returns a
Array{Uint8}. How would that happen? I can't find any documented return
type for readline.
Ivar
kl. 19:29:17 UTC+1 mandag 3. mars 2014 skrev Sam L følgende:
>
> Hello everyone,
>
> I updated and rebuilt julia on Ubuntu and this is happening:
>
> julia> using RDatasets
>
> julia> dataset("datasets", "iris")
> ERROR: no method chomp(Array{Uint8,1})
> in gzopen at /home/sam/.julia/v0.3/GZip/src/GZip.jl:253
> in read_rda at /home/sam/.julia/v0.3/DataFrames/src/RDA.jl:272
> in dataset at /home/sam/.julia/v0.3/RDatasets/src/dataset.jl:6
>
> julia> versioninfo()
> Julia Version 0.3.0-prerelease+1824
> Commit d36bb08* (2014-03-03 17:58 UTC)
> Platform Info:
> System: Linux (x86_64-linux-gnu)
> CPU: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz
> WORD_SIZE: 64
> BLAS: libmkl_rt
> LAPACK: libmkl_rt
> LIBM: libopenlibm
>
>
>
> I've tried moving ~/.julia and reinstalling packages, and also checking
> out older commits of julia. I'm not having any problems on the same commit
> on a different machine on OS X, so I'm really confused.
>
> Anyone have any suggestions?
>
> Thanks!
> Sam
>