-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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: encountered unexpected error in runtime: TypeError #32465
Comments
I'm getting |
Tests passes for me on rc2 branch. I don't get the Test not found error but I did get
Not sure what why that happens, might be a loading of |
After fixing the I also get a very similar the same error function getM0(data::Matrix)
cholesky(Hermitian(cov(data'))).L
end
#Session is a object which loads data from disk
struct Data
root::Session
prior::Session
work::Session
values::Dict{Symbol, AbstractArray{Float64}}
end
#this triggers the issue each time data is accessed (and at the creation of data)
#even if this line is not used in that call.
function Base.getproperty(data::Data, symbol::Symbol)
...
data.values[:M0] = data.work.M0 = getM0(data.data)
...
end
#however if the function would be written with getM0 inlined the issue does not happen.
function Base.getproperty(data::Data, symbol::Symbol)
...
data.values[:M0] = data.work.M0 = cholesky(Hermitian(cov(data.data'))).L
...
end There is another line which I need to comment out to prevent the issue which has the same structure just another (less trivial) function call at the end. I tried to create a MWE based on this but I couldn't reproduce the problem with something simpler so far. The full |
I still get the error about |
I think I "fixed" the issue with |
I made a fork that fixes the Test issue (and a PyPlot issue). To run the test I do:
And then after I while, I do get the error. |
I have run into an internal error with Julia 1.2.0-rc1. It can be reduced with
The first handful of lines of the error message are below. An extended version of this error message seems to be repeated many times during the tests. The tests (which take about a minute on my laptop) run to completion and pass despite the error. The error does not occur with Julia 1.1.1.
The text was updated successfully, but these errors were encountered: