Skip to content
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

MethodError: no method matching pretty_stackcall #2554

Closed
Keno opened this issue May 2, 2023 · 4 comments · Fixed by #2560
Closed

MethodError: no method matching pretty_stackcall #2554

Keno opened this issue May 2, 2023 · 4 comments · Fixed by #2560
Labels
backend Concerning the julia server and runtime bug Something isn't working display & PlutoRunner & AbstractPlutoDingetjes.jl

Comments

@Keno
Copy link
Contributor

Keno commented May 2, 2023

The attached Pluto notebook with a single cell containing Main.foo spits out the following error:

On worker 3:

MethodError: no method matching pretty_stackcall(::Base.StackTraces.StackFrame, ::Module)

Closest candidates are:

pretty_stackcall(::Base.StackTraces.StackFrame, !Matched::Nothing)

@ Pluto ~/.julia/packages/Pluto/mULuw/src/runner/PlutoRunner.jl:1075

pretty_stackcall(::Base.StackTraces.StackFrame, !Matched::Core.CodeInfo)

@ Pluto ~/.julia/packages/Pluto/mULuw/src/runner/PlutoRunner.jl:1087

pretty_stackcall(::Base.StackTraces.StackFrame, !Matched::Core.MethodInstance)

@ Pluto ~/.julia/packages/Pluto/mULuw/src/runner/PlutoRunner.jl:1091

Stacktrace:

[1] #67

@ ~/.julia/packages/Pluto/mULuw/src/runner/PlutoRunner.jl:1045

[2] iterate

@ ./generator.jl:47 [inlined]

[3] collect_to!

@ ./array.jl:885

[4] collect_to_with_first!

@ ./array.jl:863 [inlined]

[5] _collect

@ ./array.jl:857

[6] collect_similar

@ ./array.jl:756

[7] map

@ ./abstractarray.jl:3267

[8] #format_output#63

@ ~/.julia/packages/Pluto/mULuw/src/runner/PlutoRunner.jl:1044

[9] format_output

@ ~/.julia/packages/Pluto/mULuw/src/runner/PlutoRunner.jl:1026 [inlined]

[10] #53

@ ~/.julia/packages/Pluto/mULuw/src/runner/PlutoRunner.jl:911 [inlined]

[11] #with_io_to_logs#119

@ ~/.julia/packages/Pluto/mULuw/src/runner/PlutoRunner.jl:2468

[12] #123

@ ~/.julia/packages/Pluto/mULuw/src/runner/PlutoRunner.jl:2492

[13] with_logstate

@ ./logging.jl:515

[14] with_logger

@ ./logging.jl:627 [inlined]

[15] #with_logger_and_io_to_logs#122

@ ~/.julia/packages/Pluto/mULuw/src/runner/PlutoRunner.jl:2491 [inlined]

[16] #formatted_result_of#50

@ ~/.julia/packages/Pluto/mULuw/src/runner/PlutoRunner.jl:910

[17] top-level scope

@ ~/.julia/packages/Pluto/mULuw/src/evaluation/WorkspaceManager.jl:509

[18] eval

@ ./boot.jl:378

[19] #invokelatest#2

@ ./essentials.jl:863

[20] invokelatest

@ ./essentials.jl:860

[21] #110

@ ~/julia/usr/share/julia/stdlib/v1.10/Distributed/src/process_messages.jl:285

[22] run_work_thunk

@ ~/julia/usr/share/julia/stdlib/v1.10/Distributed/src/process_messages.jl:70

[23] macro expansion

@ ~/julia/usr/share/julia/stdlib/v1.10/Distributed/src/process_messages.jl:285 [inlined]

[24] #109

@ ./task.jl:514

https://gist.github.com/Keno/7ea3a118c73bea5cbfeccfadbc64d01a

@goedman
Copy link

goedman commented May 10, 2023

Bump, bump ...

Trying to program in Pluto notebooks has gotten a lot less attractive with these messages which are very long (in a notebook) and give no clue which line the issue is.

@fonsp
Copy link
Owner

fonsp commented May 10, 2023

Thanks for the report! We are away this week to attend JupyterCon, but we will get this fixed soon!

@goedman
Copy link

goedman commented May 11, 2023

Bump, bump ...

Trying to program in Pluto notebooks has gotten a lot less attractive with these messages which are very long (in a notebook) and give no clue which line the issue is.

@goedman
Copy link

goedman commented May 11, 2023

This is on J1.10. Using J1.9 the output shows the problem is on line 3, the output above in J1.10 gives no indication where the problem occurs.

begin
	println()
	Main.foo
end

@fonsp fonsp added bug Something isn't working backend Concerning the julia server and runtime display & PlutoRunner & AbstractPlutoDingetjes.jl labels May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Concerning the julia server and runtime bug Something isn't working display & PlutoRunner & AbstractPlutoDingetjes.jl
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants