-
Notifications
You must be signed in to change notification settings - Fork 16
POST results in ERROR: no method pointer(ASCIIString,) #7
Comments
This was due to a 0.3 dependency. Have updated METADATA accordingly. You can try removing and adding HTTPClient again (after a Pkg.update() i.e.). Closing the issue, Do reopen if the problem is not solved. |
Hmm, update fails like this: _julia> _Pkg.update() INFO: Updating METADATA... INFO: Updating DataFrames... INFO: Computing changes... WARNING: julia is fixed at 0.2.1 conflicting with requirement for INFO: Removing Stats v0.1.0 On Wed, Apr 16, 2014 at 5:12 AM, Amit Murthy notifications@github.comwrote:
|
OK. That was just a warning. Now, can you do a |
Ok. I'm still seeing the same issue, though. Where is your change? In https://github.com/amitmurthy/HTTPClient.jl/commits/master On Thu, Apr 17, 2014 at 11:29 AM, Amit Murthy notifications@github.comwrote:
|
The change is in METADATA - JuliaLang/METADATA.jl@976fe64 where I specifically marked dependency of the latest HTTPCient on julia version 0.3 The latest HTTPClient that can work with julia 0.2 is the previous version, i.e., JuliaLang/METADATA.jl@f714311 |
So, once you tried re-installing HTTPClient, I expected the package manager to get the previous version of HTTPClient which is compatible with julia 0.2 |
What does Pkg.resolve() display? |
Interesting. I was able to get the 0.1.0 pkg installed, but I had to do julia> Pkg.status()
After doing the Pkg.rm statement again, and then add, I finally had 0.1.0. marc On Thu, Apr 17, 2014 at 12:04 PM, Amit Murthy notifications@github.comwrote:
|
Cool! You should not be seeing those errors on a HTTP POST now. |
Yes. Confirmed that POST works now. On Thu, Apr 17, 2014 at 12:19 PM, Amit Murthy notifications@github.comwrote:
|
This is reproducible in the repl (Julia 0.2.1):
$ exec '/Applications/Julia-0.2.1.app/Contents/Resources/julia/bin/julia'
_
_ _ ()_ | A fresh approach to technical computing
() | () () | Documentation: http://docs.julialang.org
_ _ | | __ _ | Type "help()" to list help topics
| | | | | | |/ ` | |
| | || | | | (| | | Version 0.2.1 (2014-02-11 06:30 UTC)
/ |_'|||__'| | Official http://julialang.org/ release
|__/ | x86_64-apple-darwin12.5.0
julia> using HTTPClient.HTTPC
julia> result = HTTPC.post("http://localhost:9999/foo/bar","foo")
ERROR: no method pointer(ASCIIString,)
in _put_post at /Users/marc/.julia/v0.2/HTTPClient/src/HTTPC.jl:480
in put_post at /Users/marc/.julia/v0.2/HTTPClient/src/HTTPC.jl:454
in post at /Users/marc/.julia/v0.2/HTTPClient/src/HTTPC.jl:388
The text was updated successfully, but these errors were encountered: