# Error deserializing a remote exception from worker 2

**URL:** https://discourse.julialang.org/t/error-deserializing-a-remote-exception-from-worker-2/111017
**Category:** Pluto
**Tags:** error
**Created:** [March 1, 2024, 2:13pm UTC](https://discourse.julialang.org/t/error-deserializing-a-remote-exception-from-worker-2/111017 "2024-03-01T14:13:31Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![kurtspiteri](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kurtspiteri/32/207416_2.png) [@kurtspiteri](https://discourse.julialang.org/u/kurtspiteri)
#### Post date: [March 1, 2024, 2:13pm UTC](https://discourse.julialang.org/t/error-deserializing-a-remote-exception-from-worker-2/111017/1 "2024-03-01T14:13:32Z")

</div>

As from yesterday morning, I keep on getting the following error or something similar every time I try to run something involving some Figure on a Pluto Notebook. The notebook also takes a very long time to load.

I have tried updating the Pluto environment with no success. I have also carried out some other updates. Has anyone ever encountered something similar?

Note that I was running the Pluto notebooks a few days ago with no problems.

* * *

Error deserializing a remote exception from worker 2

Remote(original) exception of type MethodError

Remote stacktrace :

Stacktrace:

[1] #56

@ C:\Users\kurtj.julia\packages\Pluto\9zGI7\src\runner\PlutoRunner.jl:993

[2] iterate

@ .\generator.jl:47 [inlined]

[3] collect\_to!

@ .\array.jl:892

[4] collect\_to\_with\_first!

@ .\array.jl:870 [inlined]

[5] \_collect

@ .\array.jl:864

[6] collect\_similar

@ .\array.jl:763

[7] map

@ .\abstractarray.jl:3282

[8] #format\_output#52

@ C:\Users\kurtj.julia\packages\Pluto\9zGI7\src\runner\PlutoRunner.jl:992

[9] formatted\_result\_of

@ C:\Users\kurtj.julia\packages\Pluto\9zGI7\src\runner\PlutoRunner.jl:864

[10] top-level scope

@ none:1

[11] eval

@ .\boot.jl:385

[12] #invokelatest#2

@ .\essentials.jl:887

[13] invokelatest

@ .\essentials.jl:884

[14] #110

@ C:\Users\kurtj\AppData\Local\Programs\Julia-1.10.0\share\julia\stdlib\v1.10\Distributed\src\process\_messages.jl:286

[15] run\_work\_thunk

@ C:\Users\kurtj\AppData\Local\Programs\Julia-1.10.0\share\julia\stdlib\v1.10\Distributed\src\process\_messages.jl:70

[16] #109

@ C:\Users\kurtj\AppData\Local\Programs\Julia-1.10.0\share\julia\stdlib\v1.10\Distributed\src\process\_messages.jl:286

…and 1 more exception.

Stacktrace:

[1] deserialize(s::Distributed.ClusterSerializer{Sockets.TCPSocket}, t::Type{CapturedException})

@ Distributed C:\Users\kurtj\AppData\Local\Programs\Julia-1.10.0\share\julia\stdlib\v1.10\Distributed\src\clusterserialize.jl:225

[2] handle\_deserialize(s::Distributed.ClusterSerializer{Sockets.TCPSocket}, b::Int32)

@ Serialization C:\Users\kurtj\AppData\Local\Programs\Julia-1.10.0\share\julia\stdlib\v1.10\Serialization\src\Serialization.jl:878

[3] deserialize(s::Distributed.ClusterSerializer{Sockets.TCPSocket}, t::DataType)

@ Serialization C:\Users\kurtj\AppData\Local\Programs\Julia-1.10.0\share\julia\stdlib\v1.10\Serialization\src\Serialization.jl:1513

[4] handle\_deserialize(s::Distributed.ClusterSerializer{Sockets.TCPSocket}, b::Int32)

@ Serialization C:\Users\kurtj\AppData\Local\Programs\Julia-1.10.0\share\julia\stdlib\v1.10\Serialization\src\Serialization.jl:878

[5] deserialize

@ C:\Users\kurtj\AppData\Local\Programs\Julia-1.10.0\share\julia\stdlib\v1.10\Serialization\src\Serialization.jl:814 [inlined]

[6] deserialize\_msg(s::Distributed.ClusterSerializer{Sockets.TCPSocket})

@ Distributed C:\Users\kurtj\AppData\Local\Programs\Julia-1.10.0\share\julia\stdlib\v1.10\Distributed\src\messages.jl:87

[7] #invokelatest#2

@ .\essentials.jl:887 [inlined]

[8] invokelatest

@ .\essentials.jl:884 [inlined]

[9] message\_handler\_loop(r\_stream::Sockets.TCPSocket, w\_stream::Sockets.TCPSocket, incoming::Bool)

@ Distributed C:\Users\kurtj\AppData\Local\Programs\Julia-1.10.0\share\julia\stdlib\v1.10\Distributed\src\process\_messages.jl:176

[10] process\_tcp\_streams(r\_stream::Sockets.TCPSocket, w\_stream::Sockets.TCPSocket, incoming::Bool)

@ Distributed C:\Users\kurtj\AppData\Local\Programs\Julia-1.10.0\share\julia\stdlib\v1.10\Distributed\src\process\_messages.jl:133

[11] (::Distributed.var"#103#104"{Sockets.TCPSocket, Sockets.TCPSocket, Bool})()

@ Distributed C:\Users\kurtj\AppData\Local\Programs\Julia-1.10.0\share\julia\stdlib\v1.10\Distributed\src\process\_messages.jl:121

---

<div class="post-metadata">

### Author: ![savq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/savq/32/22063_2.png) [@savq](https://discourse.julialang.org/u/savq)
#### Post date: [March 2, 2024, 4:57am UTC](https://discourse.julialang.org/t/error-deserializing-a-remote-exception-from-worker-2/111017/2 "2024-03-02T04:57:04Z")

</div>

Hi @kurtspiteri, do you have a small example to try and reproduce the issue? Also, what’s the output of running `versioninfo()`?

---

<div class="post-metadata">

### Author: ![kurtspiteri](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kurtspiteri/32/207416_2.png) [@kurtspiteri](https://discourse.julialang.org/u/kurtspiteri)
#### Post date: [March 2, 2024, 10:39pm UTC](https://discourse.julialang.org/t/error-deserializing-a-remote-exception-from-worker-2/111017/3 "2024-03-02T22:39:39Z")

</div>

Good evening, thank you for your reply. I was running Julia Version 1.10, and was running the following Pluto notebook:

> <https://github.com/weymouth/NumericalShipHydro/blob/main/notebooks/sphere.jl>

I uninstalled and reinstalled Julia (now I am running Version 1.10.2). The original issue seems to be gone for now. I do not know if this has fully solved the problem.
