#1882 buildNotification and tagNotification returns a traceback
Closed: Fixed by tkopecek. Opened by jcupova.

Methods buildNotification and tagNotification returns a traceback:

Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/koji/daemon.py", line 1294, in runTask
response = (handler.run(),)
File "/usr/lib/python3.7/site-packages/koji/tasks.py", line 313, in run
return koji.util.call_with_argcheck(self.handler, self.params, self.opts)
File "/usr/lib/python3.7/site-packages/koji/util.py", line 263, in call_with_argcheck
return func(args, *kwargs)
File "/usr/sbin/kojid", line 5150, in handler
server.sendmail(from_addr, recipients, message)
File "/usr/lib64/python3.7/smtplib.py", line 855, in sendmail
msg = _fix_eols(msg).encode('ascii')
UnicodeEncodeError: 'ascii' codec can't encode character '\u0159' in position 659: ordinal not in range(128)
Screenshot_from_2019-12-17_14-53-55.png


@jcupova - Is this something which appeared in 1.20 (aka should we fix it before the release)?

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

PR #1892

@jcupova - Is this something which appeared in 1.20 (aka should we fix it before the release)?

It should happen since python3 kojid support. QE did not enable notification before I think

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

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

Commit 734538f1 fixes this issue

Commit 8d4a5c71 fixes this issue

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

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

Please continue any further discussion there.

Metadata
Related Pull Requests