Sorry that nobody answered this.

I'm not much help, but usually it is hard to get help on individual 
packages on julia-users. A common suggestion is to open an issue with the 
github repository to get the attention of the developer. If that does not 
work, it is more likely that someone that have never used the package will 
look into the problem, when you ask for help on julia-users with a link to 
an issue that did not get a proper response for a day or two.

There are also some compatibility issues between 0.2.1 and the 
0.3-prereleases, and lots of package authors have not been diligent about 
tagging their first 0.2 incompatible version as 0.3-only. That way the 
problem might be fixed if you try to use older versions of Requests 
(Pkg.pin()) or try with the latest nightly build of 0.3-prerelease

Ivar

kl. 19:45:46 UTC+2 torsdag 29. mai 2014 skrev Clemente Cuevas følgende:
>
> Hello,
>
> Fairly new to using Julia and the Julia Community but loving it so far! If 
> this is the wrong place to ask questions like this please let me know!
>
> I am trying to use the requests package to do a simple get request through 
> https, but the GnuTLS package appears to built with a read! function that 
> I can't find any other references to. When I try to run get I get an 
> error chain:
>
> using Requests
> using Codecs
> address = "https://my.secured.site/data";
> credentials = "username:password"
> response =  get(address; headers = {"Authorization" => "Basic "* 
> bytestring(encode(Base64,credentials))})
> read! not defined
> at In[10]:1
>  in read_ptr at ~/.julia/v0.2/GnuTLS/src/GnuTLS.jl:285
>  in handshake! at ~/.julia/v0.2/GnuTLS/src/GnuTLS.jl:302
>  in open_stream at ~/.julia/v0.2/Requests/src/Requests.jl:217
>  in open_stream at ~/.julia/v0.2/Requests/src/Requests.jl:202
>  in do_request at ~/.julia/v0.2/Requests/src/Requests.jl:562
>  in get at ~/.julia/v0.2/Requests/src/Requests.jl:576
>  in get at ~/.julia/v0.2/Requests/src/Requests.jl:57
>
>
> I checked to make sure that I'm using the latest version of GnuTLS, BinDep 
> and Requests, but I still get this error. I am using Julia Version 0.2.1
>
> Any help appreciated
> Clemente
>

Reply via email to