From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Gibbons Subject: bug#38464: python-hy REPL is unusable Date: Mon, 09 Dec 2019 19:42:22 -0700 Message-ID: <52c80d1dc6b5f0420ca06a2a4cc0aee2b1c0b74a.camel@gmail.com> References: <783b4e7ef2ab280f6012d92407f3b8d5d8f4837b.camel@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:45913) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ieVUN-0005cQ-AG for bug-guix@gnu.org; Mon, 09 Dec 2019 21:43:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ieVUM-0006cy-Dl for bug-guix@gnu.org; Mon, 09 Dec 2019 21:43:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48670) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ieVUM-0006ct-8W for bug-guix@gnu.org; Mon, 09 Dec 2019 21:43:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ieVUM-0001Nr-6E for bug-guix@gnu.org; Mon, 09 Dec 2019 21:43:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <783b4e7ef2ab280f6012d92407f3b8d5d8f4837b.camel@gmail.com> 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: 38464@debbugs.gnu.org On Mon, 2019-12-02 at 17:16 -0700, Jesse Gibbons wrote: > 1. install python-hy > 2. run hy3 (to make sure it's setup to use python 3.7.4) > 3. press with or without typing anything. > It prints the following error at the end of a long stack trace: > > ImportError: invalid flags 1495674643 in 'hy.core.language' > > This also happens when using hy2py3, and I have attached a sample stack > trace from hy2py3. > > If python2-hy is installed (configured to use the python 2.7, which is > appraching end-of-life), the hy2 REPL and hy2py2 work just fine. > > - Does hy fail similarly on other systems, or is this a guix problem? > - If this is a guix issue, what is the best way to fix it? > > This should be fixed with the patch series in bug#38554.