# \#error-message

**URL:** https://discourse.julialang.org/tag/error-message/588.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [Request for: examples of unhelpful selection of \`Closest candidates\` on a \`MethodError\`](https://discourse.julialang.org/t/request-for-examples-of-unhelpful-selection-of-closest-candidates-on-a-methoderror/138160)

<div class="topic-metadata">

**Author:** [@adienes](https://discourse.julialang.org/u/adienes)\
**Replies:** 1\
**Last updated:** [July 13, 2026, 1:51pm UTC](https://discourse.julialang.org/t/request-for-examples-of-unhelpful-selection-of-closest-candidates-on-a-methoderror/138160 "2026-07-13T13:51:26Z")

</div>

I’m experimenting with the shortlisting algorithm used to select the list of suggested methods when a MethodError is hit. As I’m sure many of us have experienced, sometimes the suggested methods are in fact not at all re…

---

## [Error while communicating with the LS](https://discourse.julialang.org/t/error-while-communicating-with-the-ls/117312)

<div class="topic-metadata">

**Author:** [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Replies:** 19\
**Last updated:** [July 10, 2026, 11:40am UTC](https://discourse.julialang.org/t/error-while-communicating-with-the-ls/117312 "2026-07-10T11:40:47Z")

</div>

While using VSCode in Win10, pressing SHIFT+ENTER or CTRL+ENTER produces a pop-up error message: However, the error doesn’t show up when pressing ALT+ENTER. Couldn’t find Output \> Julia Language Server to troublesho…

---

## [Filtering stack trace](https://discourse.julialang.org/t/filtering-stack-trace/136489)

<div class="topic-metadata">

**Author:** [@Lincoln\_Hannah](https://discourse.julialang.org/u/Lincoln_Hannah)\
**Replies:** 2\
**Last updated:** [April 1, 2026, 5:38pm UTC](https://discourse.julialang.org/t/filtering-stack-trace/136489 "2026-04-01T17:38:14Z")

</div>

Can I set a filter so the error message stack trace only shows lines from my .jl files? Not base Julia or downloaded packages. Or could you add a link at the top of the error message to the line in the stack trace that…

---

## [Problems in installing Julia](https://discourse.julialang.org/t/problems-in-installing-julia/135610)

<div class="topic-metadata">

**Author:** [@m\_terr](https://discourse.julialang.org/u/m_terr)\
**Replies:** 1\
**Last updated:** [February 13, 2026, 11:46am UTC](https://discourse.julialang.org/t/problems-in-installing-julia/135610 "2026-02-13T11:46:37Z")

</div>

Hi, I tried to install Julia; at first everything worked just fine and I downloaded notebooks and I run them. Later, when trying to open Julia an error popped up (unfortunalety I have no screenshot of that, but it was s…

---

## [Updating Makie to Julia v1.12.1](https://discourse.julialang.org/t/updating-makie-to-julia-v1-12-1/133395)

<div class="topic-metadata">

**Author:** [@SergeantMike67](https://discourse.julialang.org/u/SergeantMike67)\
**Replies:** 4\
**Last updated:** [October 23, 2025, 7:34pm UTC](https://discourse.julialang.org/t/updating-makie-to-julia-v1-12-1/133395 "2025-10-23T19:34:29Z")

</div>

I am trying to update to Julia 1.12.1 from 1.11.3 and have been running into a persistent error LoadError: FieldError: type Core.TypeName has no field \`mt This is while updating packages after updating Julia to 1.12.1 …

---

## [V1.11.7 Precompilation errors (Windows)](https://discourse.julialang.org/t/v1-11-7-precompilation-errors-windows/132497)

<div class="topic-metadata">

**Author:** [@braamvandyk](https://discourse.julialang.org/u/braamvandyk)\
**Replies:** 4\
**Last updated:** [October 10, 2025, 4:27pm UTC](https://discourse.julialang.org/t/v1-11-7-precompilation-errors-windows/132497 "2025-10-10T16:27:26Z")

</div>

I updated to Julia 1.11.7 and then ran a script to update packages in a set of projects. On two of the projects, a Windows error message popup appears: The first is for LERC\_jll while compilng Plots → UnitfulExt and the …

---

## [Surprising Error message](https://discourse.julialang.org/t/surprising-error-message/129483)

<div class="topic-metadata">

**Author:** [@SergeantMike67](https://discourse.julialang.org/u/SergeantMike67)\
**Replies:** 2\
**Last updated:** [June 1, 2025, 4:06pm UTC](https://discourse.julialang.org/t/surprising-error-message/129483 "2025-06-01T16:06:59Z")

</div>

I have a script I wrote that calculates Temporal Reproductive Isolation which worked 6 months ago. It needs some tweaking but now when I run it I get: ERROR: ArgumentError: invalid GenericMemory size: too large for sys…

---

## [Error: peer didn't connect](https://discourse.julialang.org/t/error-peer-didnt-connect/128130)

<div class="topic-metadata">

**Author:** [@liamh](https://discourse.julialang.org/u/liamh)\
**Replies:** 0\
**Last updated:** [April 16, 2025, 4:08pm UTC](https://discourse.julialang.org/t/error-peer-didnt-connect/128130 "2025-04-16T16:08:46Z")

</div>

Occasionally I get a message like this. The last time it happened, I lost all the work from a two-week computation. What causes it and how can I prevent it? Update: I have found this post and have tried setting Distribu…

---

## [Access violation when using package JLD.jl](https://discourse.julialang.org/t/access-violation-when-using-package-jld-jl/126985)

<div class="topic-metadata">

**Author:** [@zyhsjtu](https://discourse.julialang.org/u/zyhsjtu)\
**Replies:** 5\
**Last updated:** [March 15, 2025, 2:56pm UTC](https://discourse.julialang.org/t/access-violation-when-using-package-jld-jl/126985 "2025-03-15T14:56:49Z")

</div>

Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks. Exception: EXCEPTION\_ACCESS\_VIOLATION at 0x2c1fc3ce3bf – unsafe\_load at .\\pointer.jl:153 \[in…

---

## [Julia terminal crashes unexpectedly](https://discourse.julialang.org/t/julia-terminal-crashes-unexpectedly/126113)

<div class="topic-metadata">

**Author:** [@GeoPis](https://discourse.julialang.org/u/GeoPis)\
**Replies:** 13\
**Last updated:** [February 23, 2025, 9:57pm UTC](https://discourse.julialang.org/t/julia-terminal-crashes-unexpectedly/126113 "2025-02-23T21:57:28Z")

</div>

Hi ! I am using Julia to run some Finite Element simulations with code that I wrote (based on the Ferrite.jl package). Running the exact same code two times, the first time the analysis finishes with no errors, while t…

---

## [Intermittent non-Julia error](https://discourse.julialang.org/t/intermittent-non-julia-error/124465)

<div class="topic-metadata">

**Author:** [@TimG](https://discourse.julialang.org/u/TimG)\
**Replies:** 5\
**Last updated:** [January 6, 2025, 4:06pm UTC](https://discourse.julialang.org/t/intermittent-non-julia-error/124465 "2025-01-06T16:06:42Z")

</div>

I have a deved copy of XLSX.jl which I’m working on. It currently passes all tests. When I try to use it in my own code, it works some of the time and fails others. This is not a run time failure that produces a normal J…

---

## [Improving error messages for structs](https://discourse.julialang.org/t/improving-error-messages-for-structs/124390)

<div class="topic-metadata">

**Author:** [@Ken\_Williams](https://discourse.julialang.org/u/Ken_Williams)\
**Replies:** 2\
**Last updated:** [January 3, 2025, 1:02am UTC](https://discourse.julialang.org/t/improving-error-messages-for-structs/124390 "2025-01-03T01:02:29Z")

</div>

If I have a situation like the following: struct Bar x::Float64 y::Float64 end Bar(missing, 2) then the error message doesn’t seem to indicate whether x or y was the problem: ERROR: LoadError: MethodError: Ca…

---

## [OutOfMemoryError in HomotopyContinuation](https://discourse.julialang.org/t/outofmemoryerror-in-homotopycontinuation/95105)

<div class="topic-metadata">

**Author:** [@Ricardo\_Miranda\_Mart](https://discourse.julialang.org/u/Ricardo_Miranda_Mart)\
**Replies:** 1\
**Last updated:** [December 19, 2024, 1:28am UTC](https://discourse.julialang.org/t/outofmemoryerror-in-homotopycontinuation/95105 "2024-12-19T01:28:28Z")

</div>

Hi all, I’m trying to use HomotopyContinuation.jl to find all of the solutions a polynomial system of equations with 14 polynomials in 14 variables. Each polynomial is sum of monomials of degree from 10 to 13 (like f1=…

---

## [Alert! error when slicing](https://discourse.julialang.org/t/alert-error-when-slicing/123860)

<div class="topic-metadata">

**Author:** [@govindanupam](https://discourse.julialang.org/u/govindanupam)\
**Replies:** 8\
**Last updated:** [December 18, 2024, 3:21pm UTC](https://discourse.julialang.org/t/alert-error-when-slicing/123860 "2024-12-18T15:21:24Z")

</div>

My intension was to do Slicing an 3d object which is inside the stl file. Please help with below code using FileIO using GeometryBasics using GLMakie rotate\_x(point::GeometryBasics.Point{3, Float32}, angle\_deg::Float…

---

## [Chaining errors](https://discourse.julialang.org/t/chaining-errors/122984)

<div class="topic-metadata">

**Author:** [@martin\_sanchez](https://discourse.julialang.org/u/martin_sanchez)\
**Replies:** 2\
**Last updated:** [November 24, 2024, 11:45am UTC](https://discourse.julialang.org/t/chaining-errors/122984 "2024-11-24T11:45:49Z")

</div>

When a dictionary cannot retrieve values it shows two error types, is it making a kind of chaining or is it just inside the error message? LoadError: KeyError: key "d" not found

---

## [Bounderror during interpolation](https://discourse.julialang.org/t/bounderror-during-interpolation/121340)

<div class="topic-metadata">

**Author:** [@Goodness](https://discourse.julialang.org/u/Goodness)\
**Replies:** 2\
**Last updated:** [October 16, 2024, 5:33am UTC](https://discourse.julialang.org/t/bounderror-during-interpolation/121340 "2024-10-16T05:33:14Z")

</div>

Hello I want to run a simulation that requires iteration and interpolation, but I have been encountering this error, and the simulation will end after some iteration. { “name”: “BoundsError”, “message”: “BoundsError:…

---

## [When to use \`DomainError\` instead of \`ArgumentError\`?](https://discourse.julialang.org/t/when-to-use-domainerror-instead-of-argumenterror/120556)

<div class="topic-metadata">

**Author:** [@singularitti](https://discourse.julialang.org/u/singularitti)\
**Replies:** 7\
**Last updated:** [September 29, 2024, 8:51am UTC](https://discourse.julialang.org/t/when-to-use-domainerror-instead-of-argumenterror/120556 "2024-09-29T08:51:03Z")

</div>

For example, if an algorithm can only be used on square matrices, which error should I throw? function square\_matrix\_algorithm(A::AbstractMatrix) if size(A, 1) != size(A, 2) throw(ArgumentError("This functio…

---

## [Julia extension doesn't load InteractiveUtils properly](https://discourse.julialang.org/t/julia-extension-doesnt-load-interactiveutils-properly/117448)

<div class="topic-metadata">

**Author:** [@aerdely](https://discourse.julialang.org/u/aerdely)\
**Replies:** 5\
**Last updated:** [July 25, 2024, 10:15am UTC](https://discourse.julialang.org/t/julia-extension-doesnt-load-interactiveutils-properly/117448 "2024-07-25T10:15:10Z")

</div>

The instruction varinfo() does not work when calling it from code file in VSCode, I had to load manually InteractiveUtils and then execute the function, but the objects global\_err\_handler and is\_disconnected\_exception ar…

---

## [ERROR: LoadError: MethodError: no method matching isnan(::Py)](https://discourse.julialang.org/t/error-loaderror-methoderror-no-method-matching-isnan-py/117063)

<div class="topic-metadata">

**Author:** [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)\
**Replies:** 11\
**Last updated:** [July 18, 2024, 3:40pm UTC](https://discourse.julialang.org/t/error-loaderror-methoderror-no-method-matching-isnan-py/117063 "2024-07-18T15:40:16Z")

</div>

I am getting error while running a local python library in julia. ERROR: LoadError: MethodError: no method matching isnan(::Py) Closest candidates are: isnan(::BigFloat) @ Base mpfr.jl:982 isnan(::Missing) @ …

---

## [Problem with CUDA test](https://discourse.julialang.org/t/problem-with-cuda-test/111627)

<div class="topic-metadata">

**Author:** [@ErwinMoller](https://discourse.julialang.org/u/ErwinMoller)\
**Replies:** 11\
**Last updated:** [June 29, 2024, 6:38am UTC](https://discourse.julialang.org/t/problem-with-cuda-test/111627 "2024-06-29T06:38:23Z")

</div>

Hello, This is my first posting, and I am new to Julia. I have to say I love Julia so far, once I got over my ‘scoping annoyances’. :wink: So far I programmed a multithreaded prime-generating program on the CPU which w…

---

## [Define test error message programmatically](https://discourse.julialang.org/t/define-test-error-message-programmatically/116142)

<div class="topic-metadata">

**Author:** [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Replies:** 13\
**Last updated:** [June 24, 2024, 5:46pm UTC](https://discourse.julialang.org/t/define-test-error-message-programmatically/116142 "2024-06-24T17:46:21Z")

</div>

Is there a way for a test to display a custom error message, without giving up on the nice display of numerical values equality / comparison tests? The workaround in Custom error message from @test macro is only a parti…

---

## [Problem with "9 - Julia is fast.ipynb"](https://discourse.julialang.org/t/problem-with-9-julia-is-fast-ipynb/115951)

<div class="topic-metadata">

**Author:** [@watchben](https://discourse.julialang.org/u/watchben)\
**Replies:** 2\
**Last updated:** [June 20, 2024, 8:44pm UTC](https://discourse.julialang.org/t/problem-with-9-julia-is-fast-ipynb/115951 "2024-06-20T20:44:47Z")

</div>

Hello dear community, I downloaded the jupiter notebook file 9 Julia is fast.ipynb about benchmark from intro course (here). When I run the first cell about C language (where it’s supposed to allow writing C in julia e…

---

## [Help with CUDA Error](https://discourse.julialang.org/t/help-with-cuda-error/114946)

<div class="topic-metadata">

**Author:** [@19fitzna](https://discourse.julialang.org/u/19fitzna)\
**Replies:** 5\
**Last updated:** [May 30, 2024, 2:10pm UTC](https://discourse.julialang.org/t/help-with-cuda-error/114946 "2024-05-30T14:10:52Z")

</div>

Hello! I’m still relatively new to Julia so I apologize if this is a stupid question. I am currently trying to implement a GPU backend for training universal differential equations. I just updated to Julia 1.10.3, and h…

---

## [ERROR in Julia - EXCEPTION\_ACCESS\_VIOLATION](https://discourse.julialang.org/t/error-in-julia-exception-access-violation/114870)

<div class="topic-metadata">

**Author:** [@Nick1](https://discourse.julialang.org/u/Nick1)\
**Replies:** 3\
**Last updated:** [May 28, 2024, 8:43pm UTC](https://discourse.julialang.org/t/error-in-julia-exception-access-violation/114870 "2024-05-28T20:43:36Z")

</div>

I am getting the following error even after reinstalling Julia: Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks. Exception: EXCEPTION\_ACCES…

---

## [The general cause of the error that "Enzyme could not find shadow for value" in Enzyme.jl](https://discourse.julialang.org/t/the-general-cause-of-the-error-that-enzyme-could-not-find-shadow-for-value-in-enzyme-jl/114719)

<div class="topic-metadata">

**Author:** [@ToPo](https://discourse.julialang.org/u/ToPo)\
**Replies:** 4\
**Last updated:** [May 27, 2024, 11:48am UTC](https://discourse.julialang.org/t/the-general-cause-of-the-error-that-enzyme-could-not-find-shadow-for-value-in-enzyme-jl/114719 "2024-05-27T11:48:55Z")

</div>

When the reverse mode of Enzyme.jl was run, the following error was displayed. What are the main causes of the following error messages? Does anyone know the general reason for what causes it? “mutable struct” is crea…

---

## [How to fix this Precompile error for ITensors](https://discourse.julialang.org/t/how-to-fix-this-precompile-error-for-itensors/112135)

<div class="topic-metadata">

**Author:** [@vikram\_backup](https://discourse.julialang.org/u/vikram_backup)\
**Replies:** 4\
**Last updated:** [March 26, 2024, 5:18pm UTC](https://discourse.julialang.org/t/how-to-fix-this-precompile-error-for-itensors/112135 "2024-03-26T17:18:05Z")

</div>

I am getting the following error Failed to precompile ITensors \[9136182c-28ba-11e9-034c-db9fb085ebd5\] to ... ERROR: LoadError: UndefVarError: \`Unwrap\` not defined I was adding the package Makie, OrdinaryDiffEq, Dynamic…

---

## [Nice macro errors with JuliaSyntax](https://discourse.julialang.org/t/nice-macro-errors-with-juliasyntax/112017)

<div class="topic-metadata">

**Author:** [@dylanxyz](https://discourse.julialang.org/u/dylanxyz)\
**Replies:** 2\
**Last updated:** [March 23, 2024, 9:32pm UTC](https://discourse.julialang.org/t/nice-macro-errors-with-juliasyntax/112017 "2024-03-23T21:32:08Z")

</div>

Now with the introduce of JuliaSyntax in newer versions of julia, we get much more friendly syntax error messages. For example: julia\> foo () ERROR: ParseError: # Error @ REPL\[28\]:1:4 foo () # ╙ ── whitespace is not al…

---

## [MethodError: no method matching getindex(::Float64, ::Colon, ::Int64)](https://discourse.julialang.org/t/methoderror-no-method-matching-getindex-float64-colon-int64/111727)

<div class="topic-metadata">

**Author:** [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)\
**Replies:** 8\
**Last updated:** [March 17, 2024, 5:03pm UTC](https://discourse.julialang.org/t/methoderror-no-method-matching-getindex-float64-colon-int64/111727 "2024-03-17T17:03:17Z")

</div>

I am getting error when runing code :point\_down: function alfven\_surface(N\_r, N\_theta, theta, v\_r, v\_theta, B\_r, B\_theta, rho, tracer) """ Given poloidal velocity field (vp) and poloidal magnetic field (bp), th…

---

## [Problem with GRU and LSTM Layers in Flux](https://discourse.julialang.org/t/problem-with-gru-and-lstm-layers-in-flux/110060)

<div class="topic-metadata">

**Author:** [@LucaGeminiani00](https://discourse.julialang.org/u/LucaGeminiani00)\
**Replies:** 0\
**Last updated:** [February 11, 2024, 11:14am UTC](https://discourse.julialang.org/t/problem-with-gru-and-lstm-layers-in-flux/110060 "2024-02-11T11:14:21Z")

</div>

I have built a Time series forecasting model in Flux.jl including an LSTM layer (the problem is the same also when I include a GRU layer). I am able to train the model without errors. However, when I try to run: model(va…

---

## [Which getindex expression threw BoundsError](https://discourse.julialang.org/t/which-getindex-expression-threw-boundserror/109329)

<div class="topic-metadata">

**Author:** [@jar1](https://discourse.julialang.org/u/jar1)\
**Replies:** 4\
**Last updated:** [January 28, 2024, 6:27pm UTC](https://discourse.julialang.org/t/which-getindex-expression-threw-boundserror/109329 "2024-01-28T18:27:46Z")

</div>

I often make this kind of mistake. Would it be possible for the error to figure out which subexpression has the problem, to save me time debugging? julia\> let n = 2, m = 3 xs = randn(n) ys = randn(…

[Next page](https://discourse.julialang.org/tag/error-message/588.md?match_all_tags=true&page=1&tags%5B%5D=error-message)
