# I keep getting worldage errors

**URL:** https://discourse.julialang.org/t/i-keep-getting-worldage-errors/42177
**Category:** General Usage
**Created:** [June 28, 2020, 1:12am UTC](https://discourse.julialang.org/t/i-keep-getting-worldage-errors/42177 "2020-06-28T01:12:55Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![affans](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/affans/32/11911_2.png) [@affans](https://discourse.julialang.org/u/affans)
#### Post date: [June 28, 2020, 1:12am UTC](https://discourse.julialang.org/t/i-keep-getting-worldage-errors/42177/1 "2020-06-28T01:12:55Z")

</div>

Last few days I’ve been getting random world age errors. Here is the code that triggers it now (the last line).

```julia
using DataFrames
using CSV
using GLM
using RCall
using Plots
#using PyPlot
using Mamba 
using StatsPlots

dat = CSV.read("./regression_models/Leinhardt.csv")
cols = Symbol.(names(dat))

(nobs, nvars) = size(dat)
l = @layout grid(4,4)
plots = Plots.Plot{Plots.GRBackend}[]

# Plot data for visual inspection
for i = 1:nvars
    for j = 1:nvars
        if i != j
            p = @df dat scatter(cols(cols[i]), cols(cols[j]))
            push!(plots, p)
        else
            p = @df dat scatter(cols(cols[i]), cols(cols[j]))
            push!(plots, p)
        end
    end
end
Plots.plot(plots..., layout=l, legend=false, size=(1200, 800))

## data is very right skewed, so lets take the log of the continous variables. 
@. dat[!, :logincome] = log(dat[:, :income])
@. dat[!, :loginfant] = log(dat[:, :infant]) ## TRIGGERED HERE

```

The error is

```julia
julia> @. dat[!, :loginfant] = log(dat[:, :infant])
105-element SentinelArrays.SentinelArrayInternal Error: {ERROR: Float64MethodError: no method matching size(::SentinelArrays.SentinelArray{Float64,1,Float64,Missing,Array{Float64,1}})
The applicable method may be too new: running in world age 27138, while current world is 27283.

```

Ran the same line again and got

```julia
julia> Dict{String,Any}) at /home/affan/.vscode-server/extensions/julialang.language-julia-0.16.8/scripts/packages/JSONRPC/src/typed.jl:63
 [5] macro expansion at /home/affan/.vscode-server/extensions/julialang.language-julia-0.16.8/scripts/packages/VSCodeServer/src/VSCodeServer.jl:83 [inlined]
 [6] (::VSCodeServer.var"#53#55"{Bool,String})() at ./task.jl:358

```

and it just stuck there until I hit enter a few times.

Using VS Code.

---

<div class="post-metadata">

### Author: ![tchr](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tchr/32/15138_2.png) [@tchr](https://discourse.julialang.org/u/tchr)
#### Post date: [June 28, 2020, 1:26am UTC](https://discourse.julialang.org/t/i-keep-getting-worldage-errors/42177/2 "2020-06-28T01:26:52Z")

</div>

This could be a variant of [https://github.com/julia-vscode/julia-vscode/issues/1338](https://github.com/julia-vscode/julia-vscode/issues/1338). I’ve been hitting this one a lot since the latest update as well.

---

<div class="post-metadata">

### Author: ![davidanthoff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/davidanthoff/32/223493_2.png) [@davidanthoff](https://discourse.julialang.org/u/davidanthoff)
#### Post date: [June 28, 2020, 2:50am UTC](https://discourse.julialang.org/t/i-keep-getting-worldage-errors/42177/3 "2020-06-28T02:50:08Z")

</div>

We hope to push an update out tomorrow that fixes that, just need a few more hours on the insider channel with any major regressions.
