From caa72df3799b2092dc7412fb8aa120cdfd2c5525 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Thu, 19 Dec 2019 18:57:31 +0100 Subject: [PATCH 1/2] Bugfix: UnicodeDecodeError: 'utf-8' codec can't decode byte Signed-off-by: Dimitris Zlatanidis --- slpkg/url_read.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slpkg/url_read.py b/slpkg/url_read.py index ba26139a..993630c6 100644 --- a/slpkg/url_read.py +++ b/slpkg/url_read.py @@ -40,7 +40,7 @@ class URL: """ try: f = self.http.request('GET', self.link) - return f.data.decode("utf-8") + return f.data.decode("utf-8", "ignore") except urllib3.exceptions.NewConnectionError: print("\n{0}Can't read the file '{1}'{2}".format( self.meta.color["RED"], self.link.split("/")[-1], From 0b227ec83d272de1c4035873f37c57297b9d3b37 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Fri, 20 Dec 2019 17:54:55 +0100 Subject: [PATCH 2/2] Updated for version 3.7.4 Signed-off-by: Dimitris Zlatanidis --- ChangeLog.txt | 4 ++++ README.md | 2 +- slpkg/__metadata__.py | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog.txt b/ChangeLog.txt index faedc89c..18e7934c 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,7 @@ +3.7.4 - 20/12/2019 +Fixed: +-Bugfix: UnicodeDecodeError: 'utf-8' codec can't decode byte + 3.7.3 - 11/12/2019 FIxed: - Bugfix: Slackware-current from Alien Bob 20191130 #119 diff --git a/README.md b/README.md index f298616b..49b36041 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# slpkg 3.7.3 +# slpkg 3.7.4 Slpkg is a powerful software package manager that installs, updates, and removes packages on [Slackware](http://www.slackware.com/) based systems. It automatically computes dependencies and diff --git a/slpkg/__metadata__.py b/slpkg/__metadata__.py index 0f7f19d6..0b0bb668 100644 --- a/slpkg/__metadata__.py +++ b/slpkg/__metadata__.py @@ -78,7 +78,7 @@ class MetaData: __all__ = "slpkg" __author__ = "dslackw" - __version_info__ = (3, 7, 3) + __version_info__ = (3, 7, 4) __version__ = "{0}.{1}.{2}".format(*__version_info__) __license__ = "GNU General Public License v3 (GPLv3)" __email__ = "d.zlatanidis@gmail.com"