#846 error occurs in SCM.get_source since subprocess.check_output is not supported by python 2.6-
Closed: Fixed 4 years ago Opened 4 years ago by julian8628.

log on RHEL6 builder:

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/koji/daemon.py", line 1238, in runTask
    response = (handler.run(),)
  File "/usr/lib/python2.6/site-packages/koji/tasks.py", line 307, in run
    return koji.util.call_with_argcheck(self.handler, self.params, self.opts)
  File "/usr/lib/python2.6/site-packages/koji/util.py", line 209, in call_with_argcheck
    return func(*args, **kwargs)
  File "/usr/sbin/kojid", line 4589, in handler
    source = scm.get_source()
  File "/usr/lib/python2.6/site-packages/koji/daemon.py", line 515, in get_source
    fragment = subprocess.check_output(cmd, cwd=self.sourcedir).strip()
AttributeError: 'module' object has no attribute 'check_output'

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

4 years ago

Login to comment on this ticket.