GNU bug report logs - #38464
python-hy REPL is unusable

Previous Next

Package: guix;

Reported by: Jesse Gibbons <jgibbons2357 <at> gmail.com>

Date: Tue, 3 Dec 2019 00:17:01 UTC

Severity: normal

Done: Royce Strange <royball <at> disroot.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Royce Strange <royball <at> disroot.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#38464: closed (python-hy REPL is unusable)
Date: Wed, 17 Jun 2020 04:25:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 16 Jun 2020 23:24:43 -0500
with message-id <87zh92mi9g.fsf <at> disroot.org>
and subject line python-hy REPL is unusable
has caused the debbugs.gnu.org bug report #38464,
regarding python-hy REPL is unusable
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
38464: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38464
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Jesse Gibbons <jgibbons2357 <at> gmail.com>
To: bug-guix mailing list <bug-guix <at> gnu.org>
Subject: python-hy REPL is unusable
Date: Mon, 02 Dec 2019 17:16:32 -0700
[Message part 3 (text/plain, inline)]
1. install python-hy
2. run hy3 (to make sure it's setup to use python 3.7.4)
3. press <return> 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?


[err.txt (text/plain, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Royce Strange <royball <at> disroot.org>
To: 38464-done <at> debbugs.gnu.org
Subject: python-hy REPL is unusable
Date: Tue, 16 Jun 2020 23:24:43 -0500
Hello.

The patch series that Jesse Gibbons submitted in bug#38554 were applied 
in commits:
6b520177734e1c144fd6394f801919d0b54fa23e
c5eb8cf844148fb99934c3fedc3b4a0da55f9d8e
c215051dcf30b11c755aea4e2527b4d3d91c34bb

Briefly validated that the reported issue of the repl
being unusable seems fixed:

-----
$ guix --version
guix (GNU Guix) e7a7a483bcda6ec60d9dff3b3aba88dababe035c

$ guix environment --pure --ad-hoc python-hy -- hy3
hy 0.18.0 using CPython(default) 3.8.2 on Linux
=> (+ 1 2)
3
=> 
=> 
-----

Going to go ahead and close.


This bug report was last modified 5 years and 34 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.