Sofian (sbz, author of this script) is already aware of it. I filing this pr to make sure it will not lost. Example session: """ # /usr/ports/Tools/scripts/getpatch ports/172280 [+] Fetching patch for pr ports/172280 Traceback (most recent call last): File "/usr/ports/Tools/scripts/getpatch", line 192, in <module> main() File "/usr/ports/Tools/scripts/getpatch", line 189, in main gp.get(only_last=args.last, output_stdout=args.stdout) File "/usr/ports/Tools/scripts/getpatch", line 84, in get self.write(p, data) File "/usr/ports/Tools/scripts/getpatch", line 60, in write f.write(data.decode()) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 99: ordinal not in range(128) """ Attached patch fixing the issue. Fix: Patch attached with submission follows:
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Maintainer of Tools/scripts, Please note that PR ports/173195 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/173195 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
Responsible Changed From-To: freebsd-ports-bugs->sbz Over to maintainer.
State Changed From-To: feedback->closed Committed, with minor changes. Thanks!