# Malt.jl: Running into world age problems

**URL:** <https://discourse.julialang.org/t/malt-jl-running-into-world-age-problems/123457>\
**Category:** General Usage\
**Tags:** world\_age\
**Created:** [December 4, 2024, 2:23pm UTC](https://discourse.julialang.org/t/malt-jl-running-into-world-age-problems/123457 "2024-12-04T14:23:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Parazetamol](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/parazetamol/32/52125_2.png) [@Parazetamol](https://discourse.julialang.org/u/Parazetamol)\
**Post date:** [December 4, 2024, 2:23pm UTC](https://discourse.julialang.org/t/malt-jl-running-into-world-age-problems/123457/1 "2024-12-04T14:23:28Z")

</div>

Hi there,

this naive usage of Malt.jl leads to “method too new to be called from this world contex”:

```julia
module GreatNewModule
f()="dummy"
end

```

In a separate project (after dev’ed GreatNewModule of course)

```julia
using GreatNewModule
using Malt

w = Malt.Worker()

Malt.remote_eval_wait(w, :(using Pkg; Pkg.activate(joinpath(@ __DIR__ )); using GreatNewModule))

Malt.remote_call_wait(GreatNewModule.f,w)

```

I receive from the last line:

```julia
ERROR: Remote exception from Malt.Worker on port 9608 with PID 2685608:

MethodError: no method matching f()
The applicable method may be too new: running in world age 31470, while current world is 31471.

Closest candidates are:
  f() (method too new to be called from this world context.)
   @ GreatNewModule XXX/GreatNewModule/src/GreatNewModule.jl:2

```

Please help.

Greetings  
Para

---

<div class="post-metadata">

**Author:** ![abraemer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/abraemer/32/51403_2.png) [@abraemer](https://discourse.julialang.org/u/abraemer)\
**Post date:** [December 6, 2024, 3:42am UTC](https://discourse.julialang.org/t/malt-jl-running-into-world-age-problems/123457/2 "2024-12-06T03:42:25Z")

</div>

You should be able to work around this with [`Base.invokelatest`](https://docs.julialang.org/en/v1/base/base/#Base.invokelatest). Try:

```julia
Malt.remote_call_wait(Base.invokelastest, w, GreatNewModule.f)

```
