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

Package manager gets confused with deactivated cell #2930

Open
roflmaostc opened this issue Jun 3, 2024 · 2 comments
Open

Package manager gets confused with deactivated cell #2930

roflmaostc opened this issue Jun 3, 2024 · 2 comments
Labels
package manager Pluto's built-in package manager

Comments

@roflmaostc
Copy link

Hi,

I would like to have a cell, where I can activate my local environment or deactivate it.
For that, I simply deactivate the corresponding cell but it seems like Pluto gets confused by this deactivated cell.
With a manual re-triggering the package loading seems to work but it shows "Restart notebook". But after restart the same procedure starts again.

Best,

Felix

pluto3.mp4

Versions:

julia> versioninfo()
Julia Version 1.10.3
Commit 0b4590a5507 (2024-04-30 10:59 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 24 × AMD Ryzen 9 5900X 12-Core Processor
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, znver3)
Threads: 24 default, 0 interactive, 12 GC (on 24 virtual cores)
Environment:
  JULIA_NUM_THREADS = 24

(@v1.10) pkg> st
  [c3e4b0f8] Pluto v0.19.42
``
@fonsp
Copy link
Owner

fonsp commented Jun 3, 2024

Can you share a MWE notebook file where this happens? I tried it with one package but it does not cause the issue

image

@fonsp fonsp added the package manager Pluto's built-in package manager label Jun 3, 2024
@roflmaostc
Copy link
Author

roflmaostc commented Jun 3, 2024

This one triggers it for me

### A Pluto.jl notebook ###
# v0.19.42

using Markdown
using InteractiveUtils

# ╔═╡ df1618bb-fb2b-4f34-957f-852c28003fd6
using IndexFunArrays

# ╔═╡ 38eeaebc-21b0-11ef-2b85-93df87b8f158
# ╠═╡ disabled = true
#=╠═╡
begin
        using Pkg
        Pkg.activate("/tmp/lel2")
        Pkg.instantiate
end
  ╠═╡ =#

# ╔═╡ Cell order:
# ╠═38eeaebc-21b0-11ef-2b85-93df87b8f158
# ╠═df1618bb-fb2b-4f34-957f-852c28003fd6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package manager Pluto's built-in package manager
Projects
None yet
Development

No branches or pull requests

2 participants