#384 AttributeError when checking component re-use
Closed: Fixed Opened by ralph.

Saw this error today triggered by this message:

[2017-03-02 21:47:47][module_build_service   ERROR] Failed while handling KojiRepoChange(u'2017-0b5b38fe-e891-4c60-b0c9-2eef8d8c5f29', u'module-testmodule-master-20170301215520-build')
Traceback (most recent call last):
    File "/usr/lib/python2.7/site-packages/module_build_service/scheduler/consumer.py", line 128, in consume
        self.process_message(session, msg)
    File "/usr/lib/python2.7/site-packages/module_build_service/scheduler/consumer.py", line 199, in process_message
        further_work = handler(conf, session, msg) or []
    File "/usr/lib/python2.7/site-packages/module_build_service/scheduler/handlers/repos.py", line 124, in done
        config, module_build, session, builder)
    File "/usr/lib/python2.7/site-packages/module_build_service/utils.py", line 118, in start_build_batch
        state='active')
    File "/usr/lib/python2.7/site-packages/module_build_service/builder.py", line 890, in list_tasks_for_components
        if (c.name == task_opts['mbs_artifact_name'] and
    AttributeError: 'ComponentBuild' object has no attribute 'name'

The code there is related to this commit.


See #385.

Commit b7a99c5d fixes this issue

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/mbs/issues/384

Please continue any further discussion there.

Metadata