GNU bug report logs -
#38464
python-hy REPL is unusable
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 38464 in the body.
You can then email your comments to 38464 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#38464
; Package
guix
.
(Tue, 03 Dec 2019 00:17:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jesse Gibbons <jgibbons2357 <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Tue, 03 Dec 2019 00:17:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (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)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#38464
; Package
guix
.
(Tue, 03 Dec 2019 00:38:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 38464 <at> debbugs.gnu.org (full text, mbox):
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 <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?
Looks like a guix problem.
> - If this is a guix issue, what is the best way to fix it?
We need to update this thing!
>
>
hy 0.17.0 was released in May this year. Is there a reason it is still
0.13.0 (released June 2017) in guix? Support for 3.7 was added in 0.15
according to the notes, so of course it's going to crash.
Note that the notes for 0.17.0 says it will be the last version to support
python2.
I will send a patch after guix builds with the changes.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#38464
; Package
guix
.
(Tue, 10 Dec 2019 02:43:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 38464 <at> debbugs.gnu.org (full text, mbox):
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 <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?
>
>
This should be fixed with the patch series in bug#38554.
Reply sent
to
Royce Strange <royball <at> disroot.org>
:
You have taken responsibility.
(Wed, 17 Jun 2020 04:25:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Jesse Gibbons <jgibbons2357 <at> gmail.com>
:
bug acknowledged by developer.
(Wed, 17 Jun 2020 04:25:01 GMT)
Full text and
rfc822 format available.
Message #16 received at 38464-done <at> debbugs.gnu.org (full text, mbox):
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.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 15 Jul 2020 11:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 277 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.