Skip to content

Error while running mine_maven pipeline #866

@keshav-space

Description

@keshav-space

We getting too many values to unpack error while running mine_maven pipeline. https://github.com/aboutcode-data/minecode-pipelines-config/actions/runs/24403392215/job/71279909014#step:2:1057

CommandError: Error during mine_maven execution:
too many values to unpack (expected 2)

Traceback:
  File "/opt/hostedtoolcache/Python/3.13.12/x64/lib/python3.13/site-packages/aboutcode/pipeline/__init__.py", line 199, in execute
    step(self)
    ~~~~^^^^^^
  File "/opt/hostedtoolcache/Python/3.13.12/x64/lib/python3.13/site-packages/minecode_pipelines/pipelines/mine_maven.py", line 69, in mine_and_publish_maven_packageurls
    _mine_and_publish_packageurls(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        packageurls=self.maven_nexus_collector.get_packages(),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<6 lines>...
        logger=self.log,
        ^^^^^^^^^^^^^^^^
    )
    ^
  File "/opt/hostedtoolcache/Python/3.13.12/x64/lib/python3.13/site-packages/minecode_pipelines/pipelines/__init__.py", line 175, in _mine_and_publish_packageurls
    for base, purls in iterator:
        ^^^^^^^^^^^

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions