[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#53843: closed (27.2; unknown function used in flymake)
From: |
GNU bug Tracking System |
Subject: |
bug#53843: closed (27.2; unknown function used in flymake) |
Date: |
Mon, 07 Feb 2022 15:46:02 +0000 |
Your message dated Mon, 07 Feb 2022 16:44:51 +0100
with message-id <87y22m7kb0.fsf@gmail.com>
and subject line Re: bug#53843: 27.2; unknown function used in flymake
has caused the debbugs.gnu.org bug report #53843,
regarding 27.2; unknown function used in flymake
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)
--
53843: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=53843
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message ---
Subject: |
27.2; unknown function used in flymake |
Date: |
Mon, 07 Feb 2022 13:54:23 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hi,
Using eglot with python-mode (with pyright) causes regular errors
involving flymake caused by calls to an unknown "string-replace"
function:
Debugger entered--Lisp error: (void-function string-replace)
string-replace("%" "%%" "resource.py")
flymake--log-1(:warning flymake "Invalid region line=%s col=%s" 35 40)
flymake-diag-region(#<buffer resource.py> 35 40)
#f(compiled-function (arg1 arg2 &rest rest) "Handle notification
publishDiagnostics." #<bytecode 0x157aa550be09>)(#<eglot-lsp-server
eglot-lsp-server-157aa616aea0> textDocument/publishDiagnostics :uri "[REMOVED]"
:version 227 :diagnostics [(:range (:start (:line 16 :character 5) :end (:line
16 :character 25)) :message "Import \"eventline.api_object\" could not be
resolve..." :severity 1 :code "reportMissingImports" :source "Pyright"
:codeDescription (:href
"https://github.com/microsoft/pyright/blob/main/doc...")) (:range (:start
(:line 34 :character 40) :end (:line 34 :character 52)) :message
"\"ResourceSpec\" is not defined" :severity 1 :code "reportUndefinedVariable"
:source "Pyright" :codeDescription (:href
"https://github.com/microsoft/pyright/blob/main/doc..."))])
apply(#f(compiled-function (arg1 arg2 &rest rest) "Handle notification
publishDiagnostics." #<bytecode 0x157aa550be09>) #<eglot-lsp-server
eglot-lsp-server-157aa616aea0> textDocument/publishDiagnostics (:uri
"[REMOVED]" :version 227 :diagnostics [(:range (:start (:line 16 :character 5)
:end (:line 16 :character 25)) :message "Import \"eventline.api_object\" could
not be resolve..." :severity 1 :code "reportMissingImports" :source "Pyright"
:codeDescription (:href
"https://github.com/microsoft/pyright/blob/main/doc...")) (:range (:start
(:line 34 :character 40) :end (:line 34 :character 52)) :message
"\"ResourceSpec\" is not defined" :severity 1 :code "reportUndefinedVariable"
:source "Pyright" :codeDescription (:href
"https://github.com/microsoft/pyright/blob/main/doc..."))]))
eglot-handle-notification(#<eglot-lsp-server eglot-lsp-server-157aa616aea0>
textDocument/publishDiagnostics :uri "[REMOVED]" :version 227 :diagnostics
[(:range (:start (:line 16 :character 5) :end (:line 16 :character 25))
:message "Import \"eventline.api_object\" could not be resolve..." :severity 1
:code "reportMissingImports" :source "Pyright" :codeDescription (:href
"https://github.com/microsoft/pyright/blob/main/doc...")) (:range (:start
(:line 34 :character 40) :end (:line 34 :character 52)) :message
"\"ResourceSpec\" is not defined" :severity 1 :code "reportUndefinedVariable"
:source "Pyright" :codeDescription (:href
"https://github.com/microsoft/pyright/blob/main/doc..."))])
apply(eglot-handle-notification #<eglot-lsp-server
eglot-lsp-server-157aa616aea0> textDocument/publishDiagnostics (:uri
"[REMOVED]" :version 227 :diagnostics [(:range (:start (:line 16 :character 5)
:end (:line 16 :character 25)) :message "Import \"eventline.api_object\" could
not be resolve..." :severity 1 :code "reportMissingImports" :source "Pyright"
:codeDescription (:href
"https://github.com/microsoft/pyright/blob/main/doc...")) (:range (:start
(:line 34 :character 40) :end (:line 34 :character 52)) :message
"\"ResourceSpec\" is not defined" :severity 1 :code "reportUndefinedVariable"
:source "Pyright" :codeDescription (:href
"https://github.com/microsoft/pyright/blob/main/doc..."))]))
#f(compiled-function (server method params) #<bytecode
0x157aa616ae7d>)(#<eglot-lsp-server eglot-lsp-server-157aa616aea0>
textDocument/publishDiagnostics (:uri "[REMOVED]" :version 227 :diagnostics
[(:range (:start (:line 16 :character 5) :end (:line 16 :character 25))
:message "Import \"eventline.api_object\" could not be resolve..." :severity 1
:code "reportMissingImports" :source "Pyright" :codeDescription (:href
"https://github.com/microsoft/pyright/blob/main/doc...")) (:range (:start
(:line 34 :character 40) :end (:line 34 :character 52)) :message
"\"ResourceSpec\" is not defined" :severity 1 :code "reportUndefinedVariable"
:source "Pyright" :codeDescription (:href
"https://github.com/microsoft/pyright/blob/main/doc..."))]))
jsonrpc-connection-receive(#<eglot-lsp-server eglot-lsp-server-157aa616aea0>
(:jsonrpc "2.0" :method "textDocument/publishDiagnostics" :params (:uri
"[REMOVED]" :version 227 :diagnostics [(:range (:start (:line 16 :character 5)
:end (:line 16 :character 25)) :message "Import \"eventline.api_object\" could
not be resolve..." :severity 1 :code "reportMissingImports" :source "Pyright"
:codeDescription (:href
"https://github.com/microsoft/pyright/blob/main/doc...")) (:range (:start
(:line 34 :character 40) :end (:line 34 :character 52)) :message
"\"ResourceSpec\" is not defined" :severity 1 :code "reportUndefinedVariable"
:source "Pyright" :codeDescription (:href
"https://github.com/microsoft/pyright/blob/main/doc..."))])))
jsonrpc--process-filter(#<process EGLOT (eventline/python-mode)<1>>
"Content-Length: 477\15\n\15\n{\"jsonrpc\":\"2.0\",\"method\":\"...")
I cannot find any mention to a string-replace elisp function, is that an
error in flymake or is there a missing dependency?
Regards,
--
Nicolas Martyanoff
http://snowsyn.net
khaelin@gmail.com
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#53843: 27.2; unknown function used in flymake |
Date: |
Mon, 07 Feb 2022 16:44:51 +0100 |
>>>>> On Mon, 07 Feb 2022 16:28:36 +0100, Nicolas Martyanoff
>>>>> <khaelin@gmail.com> said:
Nicolas> Sorry for the noise on the bug tracker, the problems does not come
from Emacs.
No worries, closing.
Robert
--
--- End Message ---
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#53843: closed (27.2; unknown function used in flymake),
GNU bug Tracking System <=