From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: 30.0.50; 'New' error message when using eglot Date: Tue, 28 Feb 2023 12:42:23 +0000 Message-ID: <877cw2q7v4.fsf@gmail.com> References: <528de6a43ed72cfeb943216fea8c2352@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33506"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: mprodrigues@posteo.net Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Feb 28 13:41:29 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pWzIO-0008XT-5U for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Feb 2023 13:41:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pWzHf-0003m4-Jv; Tue, 28 Feb 2023 07:40:43 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pWzHX-0003jn-Sv for emacs-devel@gnu.org; Tue, 28 Feb 2023 07:40:37 -0500 Original-Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pWzHU-0003BM-OQ for emacs-devel@gnu.org; Tue, 28 Feb 2023 07:40:35 -0500 Original-Received: by mail-wm1-x334.google.com with SMTP id t25-20020a1c7719000000b003eb052cc5ccso8986811wmi.4 for ; Tue, 28 Feb 2023 04:40:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1677588030; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=R2BWX3BRJDLT+fHBi7HWmdBoAy9EsaQ/Ix27bgRugpY=; b=fh2VcM+0r4zgdHDrGoBWGFc5N6xAQcDFrLKn5u5w7euc8YA8wjOXFx0sUO+4wmt89r BdRrcTydFQxCy3A4Qlqy4rGYBV9hg+6pZ79cKuq9TLexlF0Q/rRuyObHJl1goFlI9awH ROHRaHH5jkyQ9m9VCndyhFIjuxSurcCimJmcSG16DRXQamcc+pWrmQiR5n2/gKxRbmIA SAJWEjfAVFf09vvst+d5cxaidod7ws3L1IPm+S8SwtNBfl/m2Mc5gNRgy429gRENeHhl XOhf9IS+69mvWm35rT3BTj2Xuc5C+e4Oi9uURliugTCosVBHIGvSIwdE3hVQ4mIyNVgS MHYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677588030; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=R2BWX3BRJDLT+fHBi7HWmdBoAy9EsaQ/Ix27bgRugpY=; b=mgtwVFzn/uU7gaI+XCAEHvUOA6WBy3oKOB90a2RxE1pfUeJ+0GmEcW0Zi0yJ1TUT6g OrByHg29QZhm9LwQlZLAPNV2tJSbTZ+6bVVlzO2x2spWeD/POsR52rUAkwMhunJRE0ey cBb2VAq1SKMhJvGj3OjEyIkXJhHD5P63jBj4sgp/gn3dac/MsjW5IGP6mIUWxRJREk+T dMr1ipu0oSZGTaO5OJ/qeDE5L/d735suRVve5COu0oRYJgVcD6ZtlDp0ydXAPRek/JDp 9Rmk4MQ/5qZ+oxhYljUh75O8F38zVwArkNihLoWGFWbI4fTpanvJUl9zOOcnRJGxgfhl fEcQ== X-Gm-Message-State: AO0yUKVKutEGG19sIL9fwSf/jdmUmIgS9AWJSLhHi/JzQHiWxdvLWxe8 lWQgZ5Xjg9YMMcO+t0H50LbKm+LEPQ0= X-Google-Smtp-Source: AK7set/d/9Q1ec6jUePXUWxHgy3Ik3TJXSBfjGziIyOrVp22LuFkE7KyuLKCM4pr+GlH4Vmva5zSag== X-Received: by 2002:a05:600c:450f:b0:3ea:d620:570a with SMTP id t15-20020a05600c450f00b003ead620570amr2098566wmo.38.1677588029874; Tue, 28 Feb 2023 04:40:29 -0800 (PST) Original-Received: from krug (87-196-72-142.net.novis.pt. [87.196.72.142]) by smtp.gmail.com with ESMTPSA id i5-20020a5d5585000000b002c569acab1esm9783161wrv.73.2023.02.28.04.40.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 04:40:29 -0800 (PST) In-Reply-To: <528de6a43ed72cfeb943216fea8c2352@posteo.net> (mprodrigues@posteo.net's message of "Tue, 28 Feb 2023 11:05:18 +0000") Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=joaotavora@gmail.com; helo=mail-wm1-x334.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:303851 Archived-At: mprodrigues@posteo.net writes: > Hello, > > I have the same problem. > >> emacs -Q --eval '(add-hook (quote python-mode-hook) (function >> eglot-ensure))' ~/tmp/coiso.py > > If I use this it works, so maybe the bug is coming from interactions > with other packages? It would surely seem so, as eglot.el doesn't have very many plist-member calls, and none of them for the ':signatures' key. So someone is going to go throught the trouble of making a reproducible error recipe (or bisecting a configuration), otherwise I can't be of much help. > I did M-x toggle-debug-on-error so we can get a backtrace, and this is > what I got: > > Debugger entered--Lisp error: (wrong-type-argument plistp []) > plist-member([] :signatures) > #f(compiled-function (jsonrpc-lambda-elem10) # 0xdcf9bf12d010fe5>)([]) > jsonrpc-connection-receive(# eglot-lsp-server-186e364> (:jsonrpc "2.0" :id 44 :result [])) > jsonrpc--process-filter(# python-ts-mode))> "Content-Length: 37\15\nContent-Type: > application/vsco...") It would also help to see what the the client request for :id 44 was in the first place. You could find that in the buffer brought to you by M-x eglot-events-buffer Jo=C3=A3o