Hi, I followed all the configuration listed in the README.md file. However, when I attempt to upload the file locally, I'm getting nil.id/0 message, and the application terminates. BTW, the below error is referencing the following line of code:
def filename(version, {file, scope}) do
file_name = Path.basename(file.file_name, Path.extname(file.file_name))
"#{scope.id}_#{version}_#{file_name}" # issue appears to be here
end
Hi, I followed all the configuration listed in the README.md file. However, when I attempt to upload the file locally, I'm getting nil.id/0 message, and the application terminates. BTW, the below error is referencing the following line of code:
Environment
Elixir version (elixir -v): 1.11.4
Arc version (mix deps): arc 0.11.0
Arc dependencies when applicable (mix deps):
{:arc, "~> 0.11.0"}, {:ex_aws, "~> 2.2.1"}, {:ex_aws_s3, "~> 2.1.0"}, {:hackney, "~> 1.17.4"}, {:poison, "~> 3.1"}, {:sweet_xml, "~> 0.6.6"}, {:arc_ecto, "~> 0.11.3"}
Operating system: macOS 11.2.3
Expected behavior
I would expect that my image uploads locally without error.
Actual behavior