Update ExAws to support OTP 21
Issue #2
resolved
ExAws crashes under Elixir 1.6.6 and OTP 21.
01:40:20.485 [error] Task #PID<0.1830.0> started from Belt.Provider.S3.Supervisor terminating
** (FunctionClauseError) no function clause matching in :raw_file_io_raw.open_layer/3
(kernel) raw_file_io_raw.erl:24: :raw_file_io_raw.open_layer("/var/folders/rf/jxg7bj9s7xj6glr7zb4tsl680000gn/T/Elixir.Belt.Test.Provider.S3-file-1531330819042422000", [:read, :read_ahead, {:read_ahead, 65536}, :binary, :binary], [:raw, :raw])
(elixir) lib/file/stream.ex:78: anonymous fn/2 in Enumerable.File.Stream.reduce/3
(elixir) lib/stream.ex:1346: anonymous fn/5 in Stream.resource/3
(elixir) lib/stream.ex:1536: Enumerable.Stream.do_each/4
(elixir) lib/task/supervised.ex:295: Task.Supervised.stream_reduce/7
(elixir) lib/enum.ex:1919: Enum.reverse/1
(elixir) lib/enum.ex:2588: Enum.to_list/1
lib/ex_aws/s3/upload.ex:89: ExAws.Operation.ExAws.S3.Upload.perform/2
(belt) lib/belt/provider/s3.ex:173: Belt.Provider.S3.store/3
(belt) lib/belt/provider/s3.ex:29: Belt.Provider.S3.init/1
(elixir) lib/task/supervised.ex:88: Task.Supervised.do_apply/2
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Function: #Function<12.97309691/0 in Belt.Provider.S3.start_link/1>
Args: []
The latest version fixes this issue. https://github.com/ex-aws/ex_aws/issues/567
Comments (2)
-
repo owner -
repo owner - changed status to resolved
- Log in to comment
Thank you for reporting this issue. The ExAws dependency has been updated in the recent 0.4.0 release of Belt.