#68 traceback in compose-changelog in 20180515 rawhide compose run
Closed: Fixed Opened by kevin.

The 20180515 rawhide compose sent out an email with no contents.

Looking at the output on the releng-cron mailing list, we can see a traceback from compose-changelog:

Traceback (most recent call last):
File "/usr/bin/compose-changelog", line 53, in
run(opts)
File "/usr/bin/compose-changelog", line 32, in run
changelog.write(data, path=opts.path, name=name, verbose=opts.full)
File "/usr/lib/python3.6/site-packages/compose_utils/changelog.py", line 562, in write
f.write(clog.encode('utf-8'))
TypeError: write() argument must be str, not bytes

This was working before, but we re-installed rawhide-composer as fedora 28 so it now has a newer compose-utils.


The new version is using python 3, and not opening the file in correct mode. I can replicate on stage. PR #69 fixes the traceback.

This is fixed in compose-utils-0.1.19-1.fc27.

Metadata Update from @lsedlar:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

Metadata