#2411 wrapperRPM fails on writing to spec under py3
Closed: Fixed 2 years ago by tkopecek. Opened 2 years ago 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

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

2 years ago

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

2 years ago

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

2 years ago

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #2412 Merged 2 years ago