GNU bug report logs - #72779
EGLOT pyright bug

Previous Next

Package: emacs;

Reported by: Johann De Waal <njdewaal <at> gmail.com>

Date: Sat, 24 Aug 2024 05:56:01 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.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: Johann De Waal <njdewaal <at> gmail.com>
Subject: bug#72779: closed (Re: bug#72779: EGLOT pyright bug)
Date: Thu, 29 Aug 2024 11:40:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#72779: EGLOT pyright bug

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 72779 <at> debbugs.gnu.org.

-- 
72779: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=72779
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Johann De Waal <njdewaal <at> gmail.com>
Cc: joaotavora <at> gmail.com, 72779-done <at> debbugs.gnu.org
Subject: Re: bug#72779: EGLOT pyright bug
Date: Thu, 29 Aug 2024 14:38:03 +0300
> From: Johann De Waal <njdewaal <at> gmail.com>
> Date: Sat, 24 Aug 2024 12:12:57 +0200
> Cc: Eli Zaretskii <eliz <at> gnu.org>, 72779 <at> debbugs.gnu.org
> 
> Hello, thank you for your swift responses.
> 
> Following the 'emacs -Q' advice I was able to pinpoint the problem.
> 
> I had the following in my configs.
>   (add-to-list 'eglot-server-programs
>            '(python-mode . ("pyright"))
> which had to be
>   (add-to-list 'eglot-server-programs
>            '(python-mode . ("pyright-langserver" "--stdio")))
> 
> I had set it in this erroneous manner because I was experimenting with mypy.

Thanks to both of you.  I'm therefore closing this bug.

[Message part 3 (message/rfc822, inline)]
From: Johann De Waal <njdewaal <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: EGLOT pyright bug
Date: Fri, 23 Aug 2024 18:44:41 +0200
[Message part 4 (text/plain, inline)]
Good day, I hope you are well.

I've got a bug to report for eglot.

To reproduce is quite simple, I run eglot in a python buffer and it
immediately exits with message 'exited abnormally with code 1'.

Some notes.
1. Running pyright in the command line works as expected.
2. Pyright was installed using "npm install -g pyright".
   node -v = v20.16.0
   pyright --version = 1.1.377

I've also attached some the logs from the eglot buffer.

Thank you for your time and your work on eglot. Please let me know if
I can improve my bug report in any way.

Kind regards.
[eglot_buffer.txt (text/plain, attachment)]

This bug report was last modified 320 days ago.

Previous Next


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