Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find function jl_fill_argnames #158

Open
micnngo opened this issue Oct 24, 2019 · 4 comments
Open

Cannot find function jl_fill_argnames #158

micnngo opened this issue Oct 24, 2019 · 4 comments

Comments

@micnngo
Copy link

micnngo commented Oct 24, 2019

Hi, I'm trying to run some example codes to ensure Mamba is properly installed and working.

I tried running the "Rats: A Normal Hierarchical Model" example on your documentation and received the error "ccall: could not find function jl_fill_argnames". I also ran Pkg.test("Mamba") and received the same error.

I'm running Julia v1.2.0 on MacOS 10.13.4. Is v1.2.0 not supported yet?

Could someone please advise? Thank you!

Testing ../doc/tutorial/line.jl

ERROR: LoadError: LoadError: ccall: could not find function jl_fill_argnames
Stacktrace:
[1] modelexprsrc(::Function, ::Array{Tuple{Symbol,DataType},1}) at /Users/micnngo/.julia/packages/Mamba/674DT/src/utils.jl:18
[2] modelfxsrc(::Array{Tuple{Symbol,DataType},1}, ::Function) at /Users/micnngo/.julia/packages/Mamba/674DT/src/utils.jl:9
[3] Stochastic(::Int64, ::Function, ::Bool) at /Users/micnngo/.julia/packages/Mamba/674DT/src/model/dependent.jl:154
[4] top-level scope at /Users/micnngo/.julia/packages/Mamba/674DT/doc/tutorial/line.jl:6
[5] include at ./boot.jl:328 [inlined]
[6] include_relative(::Module, ::String) at ./loading.jl:1094
[7] include(::Module, ::String) at ./Base.jl:31
[8] include(::String) at ./client.jl:431
[9] top-level scope at /Users/micnngo/.julia/packages/Mamba/674DT/test/utils.jl:5
[10] top-level scope at /Users/micnngo/.julia/packages/Mamba/674DT/test/runtests.jl:39
[11] include at ./boot.jl:328 [inlined]
[12] include_relative(::Module, ::String) at ./loading.jl:1094
[13] include(::Module, ::String) at ./Base.jl:31
[14] include(::String) at ./client.jl:431
[15] top-level scope at none:5
in expression starting at /Users/micnngo/.julia/packages/Mamba/674DT/doc/tutorial/line.jl:6
in expression starting at /Users/micnngo/.julia/packages/Mamba/674DT/test/runtests.jl:37
ERROR: Package Mamba errored during testing

@pmahon3
Copy link

pmahon3 commented Nov 4, 2019

Having the same issue!

ERROR: LoadError: LoadError: ccall: could not find function jl_fill_argnames
Stacktrace:
[1] modelexprsrc(::Function, ::Array{Tuple{Symbol,DataType},1}) at C:\Users\Mr Computer.julia\packages\Mamba\674DT\src\utils.jl:18
[2] modelfxsrc(::Array{Tuple{Symbol,DataType},1}, ::Function) at C:\Users\Mr Computer.julia\packages\Mamba\674DT\src\utils.jl:9
[3] Stochastic(::Int64, ::Function, ::Bool) at C:\Users\Mr Computer.julia\packages\Mamba\674DT\src\model\dependent.jl:154
[4] top-level scope at C:\Users\Mr Computer.julia\packages\Mamba\674DT\doc\tutorial\line.jl:6
[5] include at .\boot.jl:328 [inlined]
[6] include_relative(::Module, ::String) at .\loading.jl:1094
[7] include(::Module, ::String) at .\Base.jl:31
[8] include(::String) at .\client.jl:431
[9] top-level scope at C:\Users\Mr Computer.julia\packages\Mamba\674DT\test\utils.jl:5
[10] top-level scope at C:\Users\Mr Computer.julia\packages\Mamba\674DT\test\runtests.jl:39
[11] include at .\boot.jl:328 [inlined]
[12] include_relative(::Module, ::String) at .\loading.jl:1094
[13] include(::Module, ::String) at .\Base.jl:31
[14] include(::String) at .\client.jl:431
[15] top-level scope at none:5
in expression starting at C:\Users\Mr Computer.julia\packages\Mamba\674DT\doc\tutorial\line.jl:6
in expression starting at C:\Users\Mr Computer.julia\packages\Mamba\674DT\test\runtests.jl:37
ERROR: Package Mamba errored during testing
Stacktrace:
[1] pkgerror(::String, ::Vararg{String,N} where N) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\Types.jl:112
[2] #test#119(::Bool, ::Nothing, ::typeof(Pkg.Operations.test), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\Operations.jl:1288
[3] #test at .\none:0 [inlined]
[4] #test#62(::Bool, ::Nothing, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Pkg.API.test), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\API.jl:245
[5] test at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\API.jl:233 [inlined]
[6] #test#61 at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\API.jl:230 [inlined]
[7] test at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\API.jl:230 [inlined]
[8] #test#60 at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\API.jl:229 [inlined]
[9] test at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\API.jl:229 [inlined]
[10] #test#59(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Pkg.API.test), ::String) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\API.jl:228
[11] test(::String) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\API.jl:228
[12] top-level scope at REPL[32]:1

@brian-j-smith
Copy link
Owner

I'll look into it tomorrow.

@brian-j-smith
Copy link
Owner

Thank you for letting me know about the error. I've pushed a commit up to the master branch that should fix it. If you would like to clone the package repo in julia with Pkg.develop and confirm that the fix works for you too, then I will make a new release for the package.

@pmahon3
Copy link

pmahon3 commented Nov 8, 2019

Works great, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants