Skip to content

MethodError: no method matching similar(::Text{URIs.URI}, ::Type{Any}) #37

@pankgeorg

Description

@pankgeorg
┌ Warning: There was a problem opening the authentication URL in a browser, please try opening this URL manually to authenticate.
│   (url, error) = IOError: could not spawn `xdg-open 'https://internal.juliahub.com/auth/response?daefe97d1ceb8379f8d521406d2fecd0'`: no such file or directory (ENOENT)
└ @ PkgAuthentication ~/.julia/packages/PkgAuthentication/x3aFs/src/PkgAuthentication.jl:531
MethodError: no method matching similar(::Text{URIs.URI}, ::Type{Any})
The function `similar` exists, but no method is defined for this combination of argument types.

Closest candidates are:
  similar(::BitArray, ::Type, ::NTuple{N, Int64} where N)
   @ Base bitarray.jl:375
  similar(::Array, ::Type, ::NTuple{N, Int64}) where N
   @ Base array.jl:372
  similar(::Matrix{T}, ::Type) where T
   @ Base array.jl:370
  ...

Not sure exactly when this happens, but seems to be when the existing token's timeout is really close.

[email protected]
[email protected]
using JuliaHub.jl and package compiled (if it matters)

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