Skip to content

Corrupted component manifests in installation bundle #3

@bergie

Description

@bergie

SmallOne reported that on his Ubuntu 10.04 box Runtime bundle installation fails with:

$ midgard2-runtime-bundle-simple-install
>> exec      '/usr/bin/unzip' '/usr/share/mi...ndle.zip' -d '/tmp/NmjE86kYFf/'
[InvalidArgumentException]
Unable to parse line 4 (...).

After some investigation it seems this comes from the following line in the installer:

$data = pakeYaml::loadFile($bundle_manifest);

The manifest file for midgardmvc_admin seems corrupted:

$ cat /tmp/thhjgu/midgardmvc_admin/manifest.yml

---
component: midgardmvc_admin
version: 10.05.1
process_injector: midgardmvc_admin
...

On the file in repository that last line is empty. ... obviously causes YAML parsing errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions