JuliaWeb / HttpParser.jl

Deprecated! Julia wrapper for joyent/http-parser
MIT License
13 stars 37 forks source link

Tests error: `ReadOnlyMemoryError()` #44

Closed Hydrotoast closed 8 years ago

Hydrotoast commented 8 years ago

Just trying to run tests after installing the package locally:

julia> Pkg.test("HttpParser")
INFO: Testing HttpParser
ERROR: LoadError: ReadOnlyMemoryError()
while loading /home/gcielo/.julia/v0.4/HttpParser/test/runtests.jl, in expression starting on line 144
=================================================[ ERROR: HttpParser ]=================================================

failed process: Process(`/usr/bin/julia --check-bounds=yes --code-coverage=none --color=yes /home/gcielo/.julia/v0.4/HttpParser/test/runtests.jl`, ProcessExited(1)) [1]

=======================================================================================================================
ERROR: HttpParser had test errors
 in test at pkg/entry.jl:803
 in anonymous at pkg/dir.jl:31
 in cd at file.jl:22
 in cd at pkg/dir.jl:31
 in test at pkg.jl:71

My operating system is Arch Linux. Here's the package information for the http-parser distributed by Arch Linux:

$ yaourt -Si http-parser
Repository     : community
Name           : http-parser
Version        : 2.6.0-1
Description    : Parser for HTTP Request/Response written in C
Architecture   : x86_64
URL            : https://github.com/joyent/http-parser
Licenses       : MIT
Groups         : None
Provides       : None
Depends On     : glibc
Optional Deps  : None
Conflicts With : None
Replaces       : None
Download Size  :  16.76 KiB
Installed Size :  45.00 KiB
Packager       : Felix Yan <felixonmars@archlinux.org>
Build Date     : Thu 29 Oct 2015 01:01:56 AM PDT
Validated By   : MD5 Sum  SHA256 Sum  Signature
Hydrotoast commented 8 years ago

Nevermind, I just saw that there isn't support for version 2.6.x yet. I checked out the art/lhp2.5.0 branch and all tests are passing.