Skip to content
This repository was archived by the owner on Aug 16, 2023. It is now read-only.
This repository was archived by the owner on Aug 16, 2023. It is now read-only.

Symlink warning on Windows 10 #149

@barche

Description

@barche

When loading the package on Windows, the following warning appears:

julia> using BinaryProvider
 Warning: On Windows, creating file symlinks requires Administrator privileges

This can be traced back to this call:
https://github.com/JuliaPackaging/BinaryProvider.jl/blob/master/src/PlatformEngines.jl#L121

Full backtrace:

Stacktrace:
 [1] uv_error at .\libuv.jl:85 [inlined]
 [2] symlink(::String, ::String) at .\file.jl:797
 [3] probe_symlink_creation(::String) at C:\Users\bartj\.julia\packages\BinaryProvider\4F5Hq\src\PlatformEngines.jl:121
 [4] #probe_platform_engines!#30(::Bool, ::Function) at C:\Users\bartj\.julia\packages\BinaryProvider\4F5Hq\src\PlatformEngines.jl:175
 [5] probe_platform_engines! at C:\Users\bartj\.julia\packages\BinaryProvider\4F5Hq\src\PlatformEngines.jl:169 [inlined]
 [6] __init__() at C:\Users\bartj\.julia\packages\BinaryProvider\4F5Hq\src\BinaryProvider.jl:28
 [7] _include_from_serialized(::String, ::Array{Any,1}) at .\loading.jl:633
 [8] _require_search_from_serialized(::Base.PkgId, ::String) at .\loading.jl:713
 [9] _require(::Base.PkgId) at .\loading.jl:937
 [10] require(::Base.PkgId) at .\loading.jl:858
 [11] require(::Module, ::Symbol) at .\loading.jl:853
 [12] eval(::Module, ::Any) at .\boot.jl:328
 [13] eval_user_input(::Any, ::REPL.REPLBackend) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\REPL\src\REPL.jl:85
 [14] macro expansion at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\REPL\src\REPL.jl:117 [inlined]
 [15] (::getfield(REPL, Symbol("##26#27")){REPL.REPLBackend})() at .\task.jl:259

See also JuliaInterop/CxxWrap.jl#124

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