From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Basil L. Contovounesios" Newsgroups: gmane.emacs.devel Subject: Re: emacsql-sqlite-builtin Date: Wed, 01 Feb 2023 11:10:14 +0000 Message-ID: <87r0v9r695.fsf@tcd.ie> References: <837cx23ies.fsf@gnu.org> <868rhi1kjh.fsf@gmail.com> <9b8f3e4e-05c0-bb2d-8f44-f1ac213b16fb@its.thm.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16331"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Gregor Kling Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Feb 01 12:11:41 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 1pNB1g-00041v-9e for ged-emacs-devel@m.gmane-mx.org; Wed, 01 Feb 2023 12:11:40 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pNB0m-0000YF-HC; Wed, 01 Feb 2023 06:10:44 -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 1pNB0a-0000Qk-SC for emacs-devel@gnu.org; Wed, 01 Feb 2023 06:10:33 -0500 Original-Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pNB0T-0003xf-Fb for emacs-devel@gnu.org; Wed, 01 Feb 2023 06:10:29 -0500 Original-Received: by mail-wr1-x434.google.com with SMTP id q10so16945472wrm.4 for ; Wed, 01 Feb 2023 03:10:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd.ie; s=google21; h=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=7vsv4hp2VQC/R0WrYzb8DEEAZzNnITgzbG7dWKqHxHs=; b=ZR5JVFIzlvlRtUeX8ZNGUd13mc6ZT6YGEFaQnOGGJjMdDUXlkaESKV29OqpN1W9fiZ muM6mWwljYIzXHd1ndDAHEHXC5NCyTAOK+fLohYcREAKQdAGlaShyK/juxU4MAHzJZJC /mt282jd1S0eUWkGIXbgj19DbqVDw1O81Ir+0cG0j6HFrlNykeYJcTcw8LLxFvG9Vkfa YtgmepZqBLVo/7Pai1th4CxE2vv1dlh4Iq7HZ22dd4OMKQQ1Q2VtuAIZiN/KxvLF877X IxD/Jy0UYqNCdhsIsKBqkvAeQp7D+pGm0P5x/DU6wDTe3SgF/r2pV2x3uu3KWoJRyssT pU0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=7vsv4hp2VQC/R0WrYzb8DEEAZzNnITgzbG7dWKqHxHs=; b=IrGTLY2w1pDnCaH5yVV1PvLsjRemElqmctqW+DSc/0quolUsi9DQm7wNmWBUCOJzRi iH+kWqxQQQx/LqQ6tmz/MFWdYF2TiQ8ucIo5RQyDDG4jR4y/Sie10WT0eOq4ZZNE1qxw hdv5jD5LhcQ2nl/bJz6JiTDmT5fASWIIwUEYEjVneDo5gcDyiaM4kUNA+C9UyrUyTTxW qAwGL2e5M56fEHgySRFocLvIqCOYJdJqN4XY2zCACqiW/KiAouUu4wq+83sTbygN4WXt mwtfzNBF51Pt+mKQXGYpsRzq41adjTqINtSC1xeQSatxrdUH3jf1QzXp9OX9f7a30y6Y 1h1w== X-Gm-Message-State: AO0yUKXFeDi0hOaULIjQHBQng0kG/WH/+rfs3VXSLQg1DXRveOKUA5QX xOEPlXmYwxNfgnldxrn0HnVCbw== X-Google-Smtp-Source: AK7set83A85OAa+I0XT5C5gT1+b+v8sUSMf4cBHsoAZbHt39ikS091qVGHKnqOcIW2RJ8niEVFlwog== X-Received: by 2002:a5d:48c8:0:b0:2bf:c09e:e7bc with SMTP id p8-20020a5d48c8000000b002bfc09ee7bcmr1983579wrs.7.1675249815762; Wed, 01 Feb 2023 03:10:15 -0800 (PST) Original-Received: from localhost ([109.77.164.171]) by smtp.gmail.com with ESMTPSA id d1-20020adfe2c1000000b002bfba730b0fsm17011016wrj.65.2023.02.01.03.10.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Feb 2023 03:10:15 -0800 (PST) In-Reply-To: <9b8f3e4e-05c0-bb2d-8f44-f1ac213b16fb@its.thm.de> (Gregor Kling's message of "Wed, 1 Feb 2023 09:00:55 +0100") Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=contovob@tcd.ie; helo=mail-wr1-x434.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, 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:302853 Archived-At: Gregor Kling [2023-02-01 09:00 +0100] wrote: > The use of org-roam reveals only the symptom. > > I took it out from the equation and tried the following: > > (emacsql-sqlite (file-truename "~/a.db")) > > which *Messages* me a "Selecting deleted buffer" This sounds like a recently fixed issue[1]. [1] https://github.com/magit/emacsql/issues/106 > whereas using (emacsql-sqlite-builtin (file-truename "~/a.db")) > > it spits out: > > eieio--validate-slot-value: Invalid slot type: > emacsql-sqlite-builtin-connection... Have you tried updating/reinstalling your EmacSQL packages? What versions do you have installed? Your examples evaluate for me without error on Emacs 29 and 30, with emacsql, emacsql-sqlite, and emacs-sqlite-builtin version 3.1.1.50snapshot0.20230120.213337 installed from NonGNU-devel ELPA. If they still don't work for you after updating/reinstalling, I suggest reporting the issue on the EmacSQL issue tracker[2]. [2] https://github.com/magit/emacsql/issues --- In case it's relevant: the EmacSQL packages are distributed by the Emacs project only on NonGNU-devel ELPA[3][4][5], not NonGNU ELPA[6] which is what the user option package-archives points to by default. [3] https://elpa.nongnu.org/nongnu-devel/emacsql.html [4] https://elpa.nongnu.org/nongnu-devel/emacsql-sqlite.html [5] https://elpa.nongnu.org/nongnu-devel/emacsql-sqlite-builtin.html [6] https://elpa.nongnu.org/nongnu/ The EmacSQL packages are also distributed by MELPA[7][8][9], and have been for longer. [7] https://melpa.org/#/emacsql [8] https://melpa.org/#/emacsql-sqlite [9] https://melpa.org/#/emacsql-sqlite-builtin However, emacsql-sqlite-builtin doesn't seem to be available on MELPA Stable[10]. [10] https://stable.melpa.org It seems like there were some issues with updating the packages from MELPA a few months ago[11], but I presume those have been fixed now. [11] https://github.com/magit/emacsql/issues/103 HTH, -- Basil