-
Notifications
You must be signed in to change notification settings - Fork 47
Test failure with Julia release-v0.4 #75
Comments
I'll look into it today. |
Can you try |
Actually, try |
Thanks for the quick response!
Here are the results for
I have tried to figure out which variable exactly is Edit: The actual error occurs at line 86, not as incorrectly reported at line 92. The variable |
As a sanity check I build julia v0.3.11 and tested the Requests package on there. It seems to run into the same issue:
Therefore it does not seem like the issue is related to the new version of Julia. It might possibly be some configuration issue on my end? Since the error is kind of vague I'm not sure what I'm looking for. Additionally, both julia v0.4.0-rc1 and v0.3.11 work fine with the Requests package on my MacBook. |
I wonder if something is wrong with your installed version of joyent's http-parser, or that the installed version is too old. Is there a system version of |
Thanks! 👍 That was indeed the problem. There was a pre-installed version of joyent's http-parser (v2.0). Upgrading to v2.1 fixed the problems and everything works correctly now:
Interesting side note: if you upgrade to a version higher than 2.1 (e.g. 2.5) you get an even weirder error:
|
Well, I'm running into the error @rjagerman said about the http-parser version being higher than 2.1. |
hi, i have the same problem of failing to run Pkg.test("HttpParser") or Pkg.test("Requests'). I install Julia v0.4.3 (also try v0.5 - same errors) on CentOS 7. From this email thread, it looks like the root cause is HttpParser but i don't know how to reinstall v2.1. I tried checking out HttpParser, and do a "make library" to generate libhttpparser.so but Julia v0.4.3 on CentOS7 seems to use libhttpparser.so.2 (64-bit). This symptom manifests errors in any pointer how i can solve these issues? |
Hi @audacyDevOps : The Julia wrapper is built to work with |
Hi aviks, I did a brute-force replacement of libhttp_parser.so.* by v2.1 that you refer to (i.e. run the command "make library" on httpparser github v2.1, and use the output libhttp_parser.so to replace /usr/lib64/libhttp_parser.so.*). I also checkout and build JuliaWebAPI and found a new error:
From a separate terminal, I run "julia srvr.jl" from your wiki.
aviks, any pointer? |
Hi, I revisit the same JuliaWebAPI HttpParser issue using another machine running Ubuntu which has a clean and updated version of HttpParser. It yields the same runtime error as follows (same as in CentOS 7 above).
Aviks, could you take a look if this is a software bug or not? Here're the details how I replicated the issue
Any pointer? appreciate your help. thanks |
I have performed a clean build of the latest
release-v0.4
branch of Julia. Afterwards I have added the requests library by usingPkg.add("Requests")
. Testing the library (as well as using basic functionality, such asget()
) causes errors on my system (Red Hat enterprise linux 7):The tests do not continue after the error message. I get the same error when trying to use basic HTTP functionality, e.g.
get("https://www.google.com/")
.Any idea what could cause this?
The text was updated successfully, but these errors were encountered: