#396 buildNotification issue after upgrade to 1.12
Closed: Fixed 5 years ago Opened 5 years ago by amessina.

The buildNotification email funtion isn't working properly after upgrading to 1.12 on my private Koji instance. Traceback below.

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/koji/daemon.py", line 1160, in runTask
    response = (handler.run(),)
  File "/usr/lib/python2.7/site-packages/koji/tasks.py", line 158, in run
    return koji.util.call_with_argcheck(self.handler, self.params, self.opts)
  File "/usr/lib/python2.7/site-packages/koji/util.py", line 156, in call_with_argcheck
    return func(*args, **kwargs)
  File "/usr/sbin/kojid", line 4681, in handler
    task_data = self._getTaskData(task_id)
  File "/usr/sbin/kojid", line 4659, in _getTaskData
    data = self._getTaskData(child['id'], data)
  File "/usr/sbin/kojid", line 4627, in _getTaskData
    logs += [(filename, volume) for volume in files_data[filename]]
TypeError: list indices must be integers, not str

Commit 10650fa relates to this ticket

Metadata Update from @tkopecek:
- Issue set to the milestone: 1.13

5 years ago

Login to comment on this ticket.