Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Closed
pankgeorg opened this issue Feb 6, 2025 · 1 comment
Closed

Comments

@pankgeorg
Copy link
Member

┌ 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.

PkgAuthentication@v2.0.3
julia@1.11.3
using JuliaHub.jl and package compiled (if it matters)

@pankgeorg
Copy link
Member Author

nvm, this seems to be unrelated to pkgauthentication. sorry for the noise!

@pankgeorg pankgeorg closed this as not planned Won't fix, can't repro, duplicate, stale Feb 17, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant