Skip to content

'BUG': get_loader() returns None when loading bst project #1976

@harrysarson

Description

@harrysarson

Hi we have seen a bug whilst loading a buildstream project that uses junctions. The bug ends up with AttributeError: 'NoneType' object has no attribute '_load_file' in buildstream/_loader/loader.py presumably because get_loader() returns None here

def get_loader(self, name, provenance_node, *, load_subprojects=True):
.

I have seen #1975 which seems to make get_loader() returning None more robust. However, we are struggling to reproduce so are not able to confirm whether that issue fixes the bug.

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