From mboxrd@z Thu Jan 1 00:00:00 1970 From: Josh Holland Subject: bug#36965: streamlink fails to run Date: Wed, 07 Aug 2019 22:37:48 +0100 Message-ID: <871rxw7j2r.fsf@inv.alid.pw> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:43172) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hvTdD-0003c4-4q for bug-guix@gnu.org; Wed, 07 Aug 2019 17:38:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hvTdC-0000tU-62 for bug-guix@gnu.org; Wed, 07 Aug 2019 17:38:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58986) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hvTdC-0000tQ-2q for bug-guix@gnu.org; Wed, 07 Aug 2019 17:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hvTdB-00011y-Up for bug-guix@gnu.org; Wed, 07 Aug 2019 17:38:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:43153) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hvTd5-0003bv-Qn for bug-guix@gnu.org; Wed, 07 Aug 2019 17:37:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hvTd4-0000pq-Lf for bug-guix@gnu.org; Wed, 07 Aug 2019 17:37:55 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:43473) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hvTd4-0000oO-7w for bug-guix@gnu.org; Wed, 07 Aug 2019 17:37:54 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 85F5622006 for ; Wed, 7 Aug 2019 17:37:51 -0400 (EDT) Received: from spica (88-105-170-148.dynamic.dsl.as9105.com [88.105.170.148]) by mail.messagingengine.com (Postfix) with ESMTPA id 21DFC80060 for ; Wed, 7 Aug 2019 17:37:49 -0400 (EDT) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 36965@debbugs.gnu.org Hi, If I try to run streamlink, each plugin it tries to import fails to load with an error message similar to the following: Failed to load plugin zhanqi: File "/gnu/store/h8l1pby3cm6b4fxsfwwr65b4d1hyh6cs-python-3.7.0/lib/python3.7/imp.py", line 235, in load_module return load_source(name, filename, file) File "/gnu/store/h8l1pby3cm6b4fxsfwwr65b4d1hyh6cs-python-3.7.0/lib/python3.7/imp.py", line 172, in load_source module = _load(spec) File "", line 696, in _load File "", line 677, in _load_unlocked File "", line 724, in exec_module File "", line 838, in get_code TypeError: a bytes-like object is required, not 'str' This smells like a Python 2 vs 3 problem to me, but I'm not sure how to diagnose it. I also tried upgrading the package to 1.1.1, but that gives the same error. I can attach a patch for the former if required, but I'd rather get to the bottom of this error before making any changes. -- Josh Holland