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

Internal Error: A primary message table for module 77 was already registered with a differing collection of error messages.Severe: #48

Closed
musm opened this issue Oct 20, 2016 · 2 comments · Fixed by #55

Comments

@musm
Copy link
Collaborator

musm commented Oct 20, 2016

I can't get the tests to pass anymore

INFO: Testing MATLAB
A MATLAB session is open successfully
Internal Error: A primary message table for module 77 was already registered with a differing collection of error messages.Severe:
The program '[2668] C:\Julia\Julia-0.5-latest\bin\julia.exe: Native' has exited with code 1 (0x1).
================================================================================[ ERROR: MATLAB ]=================================================================================

failed process: Process(`'C:\Julia\Julia-0.5-latest\bin\julia' -Cnative '-JC:\Julia\Julia-0.5-latest\lib\julia\sys.dll' --compile=yes --depwarn=yes --check-bounds=yes --code-coverage=none --color=yes --compilecache=yes 'C:\Users\Mus\.julia\v0.5\MATLAB\test\runtests.jl'`, ProcessExited(1)) [1]

==================================================================================================================================================================================ERROR: MATLAB had test errors
 in #test#61(::Bool, ::Function, ::Array{AbstractString,1}) at .\pkg\entry.jl:740
 in (::Base.Pkg.Entry.#kw##test)(::Array{Any,1}, ::Base.Pkg.Entry.#test, ::Array{AbstractString,1}) at .\<missing>:0
 in (::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#test,Tuple{Array{AbstractString,1}}})() at .\pkg\dir.jl:31
 in cd(::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#test,Tuple{Array{AbstractString,1}}}, ::String) at .\file.jl:48
 in #cd#1(::Array{Any,1}, ::Function, ::Function, ::Array{AbstractString,1}, ::Vararg{Array{AbstractString,1},N}) at .\pkg\dir.jl:31
 in (::Base.Pkg.Dir.#kw##cd)(::Array{Any,1}, ::Base.Pkg.Dir.#cd, ::Function, ::Array{AbstractString,1}, ::Vararg{Array{AbstractString,1},N}) at .\<missing>:0
 in #test#3(::Bool, ::Function, ::String, ::Vararg{String,N}) at .\pkg\pkg.jl:258
 in test(::String, ::Vararg{String,N}) at .\pkg\pkg.jl:258

@musm
Copy link
Collaborator Author

musm commented Oct 29, 2016

See: https://www.mathworks.com/matlabcentral/answers/305877-what-is-the-primary-message-table-for-module-77

The hacky? solution is to create a dummy matlab session from the start that doesn't ever get deleted on windows.

@musm
Copy link
Collaborator Author

musm commented Oct 29, 2016

closed by: #54

cc @twadleigh

I guess this resolves that mysterious module 77 error.

I can't think of a cleaner fix. Do you recommend another solution or are you fine with the patch?

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

Successfully merging a pull request may close this issue.

1 participant