#2411 wrapperRPM fails on writing to spec under py3
Closed: Fixed by tkopecek. Opened by tkopecek.

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/koji/daemon.py", line 1339, in runTask
    response = (handler.run(),)
  File "/usr/lib/python3.6/site-packages/koji/tasks.py", line 329, in run
    return koji.util.call_with_argcheck(self.handler, self.params, self.opts)
  File "/usr/lib/python3.6/site-packages/koji/util.py", line 258, in call_with_argcheck
    return func(*args, **kwargs)
  File "/usr/sbin/kojid", line 2040, in handler
    specfd.write(contents)
TypeError: write() argument must be str, not bytes

PR #2412

Metadata Update from @tkopecek:
- Custom field Size adjusted to None

Commit 15bb8b66 fixes this issue

Commit 1b600d10 fixes this issue

Metadata Update from @jcupova:
- Issue tagged with: testing-ready

Metadata Update from @mfilip:
- Issue tagged with: testing-done

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

Please continue any further discussion there.

Metadata
Related Pull Requests