Skip to content

the entrypoints analyze error is not catched and show to the handler #352

@unkcpz

Description

@unkcpz

error_message = handle_error(
import_package,
f"Failed to import package {plugin['package_name']}",
check_id="E002",
)
is_package_importable = True
print(
" - Extracting entry point metadata for {}".format(plugin["package_name"])
)
extract_metadata = container.exec_run(
workdir=_DOCKER_WORKDIR,
cmd="python ./bin/analyze_entrypoints.py -o result.json",
user=user,
)
error_message = handle_error(
extract_metadata,
f"Failed to fetch entry point metadata for package {plugin['package_name']}",
check_id="E003",
)

When the --force-reinstall not added to the pip install of the plugin, the analyze command will fail with no pymatgen found. But the error not propagate to show.

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