Hello,
I've been using the AWS package to retrieve files from S3 with no
difficulty in v0.3 of julia.
I'd like to use this package in a similar way with v0.4 of julia.
I upgraded to v0.4 today, and found an error that I can't made much sense
of:
*ERROR: MethodError: `convert` has no method matching
convert(::Type{AbstractString}, ::Char)*
*This may have arisen from a call to the constructor AbstractString(...),*
*since type constructors fall back to convert methods.*
Closest candidates are:
call{T}(::Type{T}, ::Any)
convert{T<:AbstractString}(::Type{T<:AbstractString},
*::AbstractArray{Char,1}*)
convert{S<:AbstractString}(::Type{S<:AbstractString},
*::Base.UTF8proc.GraphemeIterator{S<:AbstractString}*)
...
in do_request at /home/ubuntu/.julia/v0.4/AWS/src/S3.jl:571
in get_object at /home/ubuntu/.julia/v0.4/AWS/src/S3.jl:390
in readFile at /home/ubuntu/lp_code/julia_code/test_lp_2.jl:1898
The offending line in the AWS package source is
s3_resp.date = get(http_resp.headers, "Date", [""])[1]
What's changed since v0.3 that makes an S3 response that worked in v0.3
raise an error in v0.4?
--Andrew