Skip to content

Instantly share code, notes, and snippets.

@bmharsha
Last active December 24, 2015 12:48
Show Gist options
  • Save bmharsha/ee7cc04d38c12ebeaa59 to your computer and use it in GitHub Desktop.
Save bmharsha/ee7cc04d38c12ebeaa59 to your computer and use it in GitHub Desktop.
Pkg.test("HTTPClient") Error message
julia> Pkg.test("HTTPClient")
INFO: Computing test dependencies for HTTPClient...
INFO: No packages to install, update or remove
INFO: Testing HTTPClient
ERROR: LoadError: ReadOnlyMemoryError()
 in exec_as_multi at U:\Quant\Julia\JuliaPro\v0.4\HTTPClient\src\HTTPC.jl:688
 in _put_post at U:\Quant\Julia\JuliaPro\v0.4\HTTPClient\src\HTTPC.jl:499
 in put_post at U:\Quant\Julia\JuliaPro\v0.4\HTTPClient\src\HTTPC.jl:469
 in post at U:\Quant\Julia\JuliaPro\v0.4\HTTPClient\src\HTTPC.jl:403
 in post at U:\Quant\Julia\JuliaPro\v0.4\HTTPClient\src\HTTPC.jl:542
 in include at boot.jl:261
 in include_from_node1 at loading.jl:304
 in process_options at client.jl:280
 in _start at client.jl:378
while loading U:\Quant\Julia\JuliaPro\v0.4\HTTPClient\test\runtests.jl, in expression starting on line 9
=============================[ ERROR: HTTPClient ]==============================

failed process: Process(`'U:\Quant\Julia\JuliaPro\Julia-0.4.2\bin\julia' --check-bounds=yes --code-coverage=none --color=yes 'U:\Quant\Julia\JuliaPro\v0.4\HTTPClient\test\runtests.jl'`, ProcessExited(1)) [1]

================================================================================

Configuration

  • OS = Windows 10, 64 bit
  • Julia version 0.4.2
  • HTTPClient version = v0.2.0 (version from MetaData.jl) , version on HTTPClient.jl master seems to match the version on MetaData.jl , so checking one of them seemed suffice.
  • Package directory was not readonly, Julia had read write access to package directory
julia> Pkg.clone("https://github.com/mdpradeep/HTTPClient.jl.git")
julia> Pkg.build("HTTPClient")
julia> Pkg.test("HTTPClient")
INFO: Computing test dependencies for HTTPClient...
INFO: Cloning cache of JSON from git://github.com/JuliaLang/JSON.jl.git
INFO: Installing JSON v0.5.0
INFO: Testing HTTPClient
ERROR: LoadError: ReadOnlyMemoryError()
 in exec_as_multi at C:\Users\harsha\.julia\v0.4\HTTPClient\src\HTTPC.jl:688
 in _put_post at C:\Users\harsha\.julia\v0.4\HTTPClient\src\HTTPC.jl:499
 in put_post at C:\Users\harsha\.julia\v0.4\HTTPClient\src\HTTPC.jl:469
 in post at C:\Users\harsha\.julia\v0.4\HTTPClient\src\HTTPC.jl:403
 in post at C:\Users\harsha\.julia\v0.4\HTTPClient\src\HTTPC.jl:542
 in include at boot.jl:261
 in include_from_node1 at loading.jl:304
 in process_options at client.jl:280
 in _start at client.jl:378
while loading C:\Users\harsha\.julia\v0.4\HTTPClient\test\runtests.jl, in expression starting on line 9
=============================[ ERROR: HTTPClient ]==============================

failed process: Process(`'U:\Quant\Julia\JuliaPro\Julia-0.4.2\bin\julia' --check-bounds=yes --code-coverage=none --color=yes 'C:\Users\harsha\.julia\v0.4\HTTPClient\test\runtests.jl'`, ProcessExited(1)) [1]

================================================================================


Configuration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment