Skip to content

DEPOT path setting #34

@pankgeorg

Description

@pankgeorg

Thanks for working on this, the new release solved the original issue, but the notebook still doesn't work properly:

┌ Error: Pluto: The provided depot path is not an absolute path. Pluto will not be able to run correctly.
│ 
│ Did you recently change the DEPOT path setting? Change your setting to use an absolute path.
│ 
│ Do you not know what this means? Please get in touch! https://github.com/fonsp/Pluto.jl/issues
│   bad_depots =
│    1-element Vector{String}:
│     "~/.julia"
│   DEPOT_PATH =
│    1-element Vector{String}:
│     "~/.julia"

 Warning: Dangerous setting:
│ 
│       require_secret_for_open_links = false
│ 
│ Do not use this setting on your own computer – it allows any website to run arbitrary code on your computer. Only use this on an isolated disposable server like Binder, or when using your own authentication layer.

I think the use of ~ on Windows causes the issue, where it creates a subdirectory named "~" on the current directory, instead of the home directory on Linux.
Also, if I try to use an external package like DataFrames, it shows

The package DataFrames.jl could not load because it failed to initialize.

I think it's due to

Warning: PlutoPkg: Failed to add/remove packages! Resetting package environment...
│   PLUTO_VERSION = v"0.20.21"
│   VERSION = v"1.11.7"
│   old_packages =
│    2-element Vector{String}:
│     "LinearAlgebra"
│     "DataFrames"
│   new_packages =
│    2-element Vector{String}:
│     "LinearAlgebra"
│     "DataFrames"
│   exception =
│    Pluto.WorkspaceManager.PrecompilationFailedException(

Originally posted by @yl4070 in #30

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions