beacon-biosignals / OndaBatches.jl

Local and distributed batch loading for Onda datasets
MIT License
2 stars 0 forks source link

Error running tests locally: no method matching getpass(::IOStream, ::Base.TTY, ::String) #24

Open glennmoy opened 1 year ago

glennmoy commented 1 year ago
(OndaBatches) pkg> st
Project OndaBatches v0.4.4
Status `~/.julia/dev/OndaBatches/Project.toml`
  [fbe9abb3] AWS v1.84.1
  [1c724243] AWSS3 v0.10.3
  [72438786] AlignedSpans v0.2.4
  [a93c6f00] DataFrames v1.5.0
  [741b9549] Legolas v0.5.9
  [e853f5be] Onda v0.15.1
  [2913bbd2] StatsBase v0.33.21
  [bd369af6] Tables v1.10.1
  [bb34ddd2] TimeSpans v0.3.6
  [ade2ca70] Dates
  [8ba89e20] Distributed
  [cf7118a7] UUIDs

(OndaBatches) pkg> test
...
...
     Testing Running tests...
ERROR: LoadError: MethodError: no method matching getpass(::IOStream, ::Base.TTY, ::String)
Closest candidates are:
  getpass(::Base.TTY, ::IO, ::AbstractString) at util.jl:282
Stacktrace:
  [1] getpass(prompt::String)
    @ Base ./util.jl:291
  [2] macro expansion
    @ ~/.julia/packages/Mocking/MRkF3/src/mock.jl:29 [inlined]
  [3] _aws_get_role(role::String, ini::IniFile.Inifile)
    @ AWS ~/.julia/packages/AWS/v6b1A/src/utilities/credentials.jl:90
  [4] dot_aws_config(profile::String)
    @ AWS ~/.julia/packages/AWS/v6b1A/src/AWSCredentials.jl:437
  [5] (::AWS.var"#9#13"{String})()
    @ AWS ~/.julia/packages/AWS/v6b1A/src/AWSCredentials.jl:119
  [6] AWS.AWSCredentials(; profile::Nothing, throw_cred_error::Bool)
    @ AWS ~/.julia/packages/AWS/v6b1A/src/AWSCredentials.jl:128
  [7] AWS.AWSConfig()
    @ AWS ~/.julia/packages/AWS/v6b1A/src/AWSConfig.jl:32
  [8] #global_aws_config#74
    @ ~/.julia/packages/AWS/v6b1A/src/AWS.jl:79 [inlined]
  [9] global_aws_config
    @ ~/.julia/packages/AWS/v6b1A/src/AWS.jl:77 [inlined]
 [10] get_config
    @ ~/.julia/packages/AWSS3/tK7Rm/src/s3path.jl:141 [inlined]
 [11] read(fp::AWSS3.S3Path{Nothing}; byte_range::Nothing)
    @ AWSS3 ~/.julia/packages/AWSS3/tK7Rm/src/s3path.jl:626
 [12] read
    @ ~/.julia/packages/AWSS3/tK7Rm/src/s3path.jl:625 [inlined]
 [13] read_arrow(path::AWSS3.S3Path{Nothing})
    @ Legolas ~/.julia/packages/Legolas/sjEyS/src/tables.jl:114
 [14] read(io_or_path::AWSS3.S3Path{Nothing}; validate::Bool)
    @ Legolas ~/.julia/packages/Legolas/sjEyS/src/tables.jl:160
 [15] read(io_or_path::AWSS3.S3Path{Nothing})
    @ Legolas ~/.julia/packages/Legolas/sjEyS/src/tables.jl:159
 [16] top-level scope
    @ ~/.julia/dev/OndaBatches/test/OndaBatchesTests.jl:58
 [17] include(fname::String)
    @ Base.MainInclude ./client.jl:476
 [18] top-level scope
    @ ~/.julia/dev/OndaBatches/test/runtests.jl:1
 [19] include(fname::String)
    @ Base.MainInclude ./client.jl:476
 [20] top-level scope
    @ none:6
in expression starting at /Users/glenn/.julia/dev/OndaBatches/test/OndaBatchesTests.jl:1
in expression starting at /Users/glenn/.julia/dev/OndaBatches/test/runtests.jl:1
MethodError: no method matching getpass(::IOStream, ::Base.TTY, ::String)
Closest candidates are:
  getpass(::Base.TTY, ::IO, ::AbstractString) at util.jl:282
Stacktrace:
  [1] getpass(prompt::String)
    @ Base ./util.jl:291
  [2] macro expansion
    @ ~/.julia/packages/Mocking/MRkF3/src/mock.jl:29 [inlined]
  [3] _aws_get_role(role::String, ini::IniFile.Inifile)
    @ AWS ~/.julia/packages/AWS/v6b1A/src/utilities/credentials.jl:90
  [4] dot_aws_config(profile::String)
    @ AWS ~/.julia/packages/AWS/v6b1A/src/AWSCredentials.jl:437
  [5] (::AWS.var"#9#13"{String})()
    @ AWS ~/.julia/packages/AWS/v6b1A/src/AWSCredentials.jl:119
  [6] AWS.AWSCredentials(; profile::Nothing, throw_cred_error::Bool)
    @ AWS ~/.julia/packages/AWS/v6b1A/src/AWSCredentials.jl:128
  [7] AWS.AWSConfig()
    @ AWS ~/.julia/packages/AWS/v6b1A/src/AWSConfig.jl:32
  [8] #global_aws_config#74
    @ ~/.julia/packages/AWS/v6b1A/src/AWS.jl:79 [inlined]
  [9] global_aws_config
    @ ~/.julia/packages/AWS/v6b1A/src/AWS.jl:77 [inlined]
 [10] #s3_list_keys#46
    @ ~/.julia/packages/AWSS3/tK7Rm/src/AWSS3.jl:682 [inlined]
 [11] s3_list_keys(::SubString{String}, ::String)
    @ AWSS3 ~/.julia/packages/AWSS3/tK7Rm/src/AWSS3.jl:682
 [12] macro expansion
    @ ./task.jl:454 [inlined]
 [13] (::Main.OndaBatchesTests.var"#3#5")()
    @ Main.OndaBatchesTests ~/.julia/dev/OndaBatches/test/OndaBatchesTests.jl:40
 [14] _atexit()
    @ Base ./initdefs.jl:372
 [15] exit
    @ ./initdefs.jl:28 [inlined]
 [16] _start()
    @ Base ./client.jl:525