Bug 242532 - sysutils/hatop: Fix missing .decode() in python3 update
Summary: sysutils/hatop: Fix missing .decode() in python3 update
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Koichiro Iwao
Depends on:
Reported: 2019-12-09 22:01 UTC by mikeg
Modified: 2019-12-10 07:51 UTC (History)
1 user (show)

See Also:

0.7.7_3 -> 0.7.7_4 patch: Add missing .decode() to socket receive (1.05 KB, patch)
2019-12-09 22:01 UTC, mikeg
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mikeg 2019-12-09 22:01:58 UTC
Created attachment 209814 [details]
0.7.7_3 -> 0.7.7_4 patch: Add missing .decode() to socket receive

Apparently my last update was missing a .decode() call in the Python 3 patch. 
Attached patch adds the missing .decode() call for received data & restores normal operation.

(Re-)Checked OK on FreeBSD 12.0p12 / Python36-3.6.9 & haproxy-2.0.8

Comment 1 Koichiro Iwao freebsd_committer 2019-12-10 07:05:02 UTC
(In reply to mikeg from comment #0)
You probably have a mistake on portname. Actually sysutils/hatop right?
Comment 2 commit-hook freebsd_committer 2019-12-10 07:50:49 UTC
A commit references this bug:

Author: meta
Date: Tue Dec 10 07:49:48 UTC 2019
New revision: 519648
URL: https://svnweb.freebsd.org/changeset/ports/519648

  sysutils/hatop: Fix patch added in previous commit

  PR:		242532
  Submitted by:	maintainer

Comment 3 Koichiro Iwao freebsd_committer 2019-12-10 07:51:56 UTC
Committed, thanks!