Skip to content

priv.avm file cannot be read by packbeam 0.7.5 #15

Description

@dougw-bc

In trying to follow the instructions here: https://github.com/atomvm/atomvm_lib/blob/master/markdown/httpd.md#the-http-file-handler

i am unable to run packbeam list priv.avm on the generated priv.avm file, it results in an error like this:

packbeam: caught exception: {badmatch,
                             {error,beam_lib,
                              {not_a_beam_file, << binarydata... >>}}

The contents of the priv directory is an index.html file that i intend to serve up with the httpd file handler - which is also not really working, unsure if they are related issue.

When inspecting the contents of the priv.avm file with hexdump, it does look to contain the expected content - but maybe not in the right format? could be an issue with packbeam, but these are not packed beam files - as it correctly identified...

Thanks for any help!

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