GNU bug report logs - #62114
Elpy fails to start within a guix shell environment

Previous Next

Package: guix;

Reported by: Rafa Gálvez <rafa <at> artificialphilosopher.eu>

Date: Sat, 11 Mar 2023 04:11:02 UTC

Severity: normal

Merged with 62113

To reply to this bug, email your comments to 62114 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#62114; Package guix. (Sat, 11 Mar 2023 04:11:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Rafa Gálvez <rafa <at> artificialphilosopher.eu>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 11 Mar 2023 04:11:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Rafa Gálvez <rafa <at> artificialphilosopher.eu>
To: bug-guix <at> gnu.org
Subject: Re: Elpy fails to start within a guix shell environment
Date: Fri, 10 Mar 2023 11:36:11 +0100
[Message part 1 (text/plain, inline)]
Hi again,

 The PyPi package is actually empty, Elpy ships it directly apparently. 

 I'm missing something then. How are you setting up Elpy on Guix?

 Thanks, 

Rafa

On March 10, 2023 11:31:15 AM GMT+01:00, "Rafa Gálvez" <rafa <at> artificialphilosopher.eu> wrote:
>Hi,
>
> I can't make Elpy work. In my main profile I have emacs-elpy installed,
> but whenever I open a .py file, there is an error on the sentinel:
> error in process sentinel: elpy-promise-reject: peculiar error: "exited
> abnormally with code 1"
> error in process sentinel: peculiar error: "exited abnormally with code
> 1"
>
> This is most probably caused by the lack of the elpy python module in
> the guix shell I'm running Emacs from. However, there is no python-elpy
> package to install. I am avoiding setting up a virtualenv in order to
> rely completely on Guix manifests for reproducibility purposes.
>
> Maybe what's just needed is to package https://pypi.org/project/elpy/
> into Guix?
>
> Thanks,
>
>Rafa Gálvez

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
[Message part 2 (text/html, inline)]

Merged 62113 62114. Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 14 Mar 2023 16:18:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#62114; Package guix. (Wed, 22 Mar 2023 19:49:02 GMT) Full text and rfc822 format available.

Message #10 received at 62114 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Rafa Gálvez <rafa <at> artificialphilosopher.eu>
Cc: 62114 <at> debbugs.gnu.org
Subject: Re: bug#62114: Elpy fails to start within a guix shell environment
Date: Wed, 22 Mar 2023 15:47:51 -0400
Hi,

Rafa Gálvez <rafa <at> artificialphilosopher.eu> writes:

> Hi,
>
>  I can't make Elpy work. In my main profile I have emacs-elpy installed,
>  but whenever I open a .py file, there is an error on the sentinel:
>  error in process sentinel: elpy-promise-reject: peculiar error: "exited
>  abnormally with code 1"
>  error in process sentinel: peculiar error: "exited abnormally with code
>  1"
>
>  This is most probably caused by the lack of the elpy python module in
>  the guix shell I'm running Emacs from. However, there is no python-elpy
>  package to install. I am avoiding setting up a virtualenv in order to
>  rely completely on Guix manifests for reproducibility purposes.
>
>  Maybe what's just needed is to package https://pypi.org/project/elpy/
>  into Guix?

Could you please share a minimal reproducer?  The Python files are
included with the emacs-elpy package (those under:
https://github.com/jorgenschaefer/elpy/tree/master/elpy).

See 'guix edit emacs-elpy' for the details.

-- 
Thanks,
Maxim




This bug report was last modified 2 years and 93 days ago.

Previous Next


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