From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id wOXFDHo+2GSYggAASxT56A (envelope-from ) for ; Sun, 13 Aug 2023 04:22:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id MMDkDHo+2GR0BwEA9RJhRA (envelope-from ) for ; Sun, 13 Aug 2023 04:22:50 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6CE854FDFF for ; Sun, 13 Aug 2023 04:22:49 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=pacbell.net header.s=s2048 header.b=l66CcD0X; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691893370; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Sqqj8OSpVHRTHhP00N83mnj9mBAvVg5bueTx7qHkpes=; b=nf8utY5gWG1QlGIb2ymQKpFWemcV/qKobuAT/x3CLROWPfXx9ZAk5JFRSDiWdq5MSk9z9O MW1f+Qm0pAG5cDQ9MHp6UwgFHDFx2hFrCgAZBL+ZIDoFLDl8U7gm6TpfiBaaBIP1RDRlsF J/xMUcp9U7MU3xK3cI4EdqAo9Jxq7kpybkaiOM9HjTh0Ow+Z90LI7Wd9MNGXgB5Auv50LD UgD10Kzq+uCCXgtTEDL9Cy0r2EqaJ9500KG/HdCEXWqEO0GnfKe+Nz5gGPOM5V9ID5KT2O ido64O33X+/SRLM4Fq0PNQYKzt/7jgrT3i2hAiyor4NV7ieXayPSfwbBgz0mig== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=pacbell.net header.s=s2048 header.b=l66CcD0X; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691893370; a=rsa-sha256; cv=none; b=kVoDbOD0SF37S3sn4g6T8fReEtSDOvhEQa9ITxkHnLQ9+IJRZ5UtrtdusZ1tTq92+fm7CR E+z76AJ7XUSSsx1CQ7VDmuheoB7ydVnkicedM8h7tfxrcs3ofzPZmID8a7wDnIZJUJYNIx /BJkLqZxaJdKZW5yXHuAXPUZQ4R8hU8uJvzCs4dd7DemCS+cIUdUvDiUk3+xjcEPfzkwSL psmXjgx4730HhME5vEMzzZ6W9raCbl2pEZqkYQON4SV8vrOccJOvTF/fCpHL4H69BEEiGl XBouMUL/5/n3Kt0hDHeanJOk4HmbzT1Gd7jXMO1VXVc7xftw8kqGmvPRWkZ5Vg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qV0je-00048n-7D; Sat, 12 Aug 2023 22:21:42 -0400 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 1qUV61-0000ym-V2 for emacs-orgmode@gnu.org; Fri, 11 Aug 2023 12:34:42 -0400 Received: from sonic319-23.consmr.mail.ne1.yahoo.com ([66.163.188.85]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qUV5z-0006hc-Lp for emacs-orgmode@gnu.org; Fri, 11 Aug 2023 12:34:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pacbell.net; s=s2048; t=1691771675; bh=Sqqj8OSpVHRTHhP00N83mnj9mBAvVg5bueTx7qHkpes=; h=Date:From:Reply-To:To:Subject:References:From:Subject:Reply-To; b=l66CcD0XGPeYqGhLciE7+NNkrHRKBmLk0P/xyZplOu3Rk4dDcnuY5FmyZupgAD1yNeIgp2JMT8N7RFy9JKhZTM9hESI2T+U/gfPn0SLvsTHzPsAWvNrmi2Hs6ULEiZUR6TbG/vfxZOF0GUIZXQqZb7jRoYCNZ3gnp25ZPC/Kwu1NdflGkNmIWBLBFsXNyR//dyfcuMgBW2Zza++MDZWRjZUPKowoTWIuvNGDN1GszkN+mISe4oFv1Py5SknD+8LWyR5uhQzF4qrDU5Okv9A4okJ3PJTCskD4zz5xVkx41ctUbl7ssBRsf+dmQ3xLvEu86AX0sy6+xlrqYn0doSNOKw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1691771675; bh=zJStvB5Sv2Ykd9TfKefcCWcEobXysNOzDcvkDEbq2nK=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=XCaWP179SzAsqpvuapwHGsKzyrqMyVAahyrDq7LocOLecf25hW3fx7iXQ1th1fpIt8t50fA2VHWr7SCG0z9tiKW9m5YYWFTMEMUvP106B6r6djYir9gKV0F9XjSpjPycwO6b+iDyf3fwymJOxWXdqi5Vrygl2o1mu3sZwvAAQlEOfm12R58d2Hyx3AcKy8fEy7ilCZ9F0hiv1rtqdyPyKnI4FhtCZDLHNEKkp3MvfTrE/GwY9siz3HD5OXYgLnkAuB6xHhMDxbiEknhY/JxgfHHfnT+4fj0JgER/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x4o8xHI9IJUiT0unm_UKd.q1WTTsWYPNEFY.8npH0B_X_VjBuI1_cfAT00zvt 0iXsqNQuVpKpTc64c.A82EpKREVqj0WIf8yaRtOk2T2UkNQEPjAkennDzCkbNY8_a1.QW7QFqecs vcpX2vvbKsyaTxTmioeNbxS_YIcgJCYHoQV5MbR6XGsFObFvbYPCJpyw_SV2aFuEhnTU1tLKXW5O msG1QSgnELlfzYW.qnzQPlFm9SwE- X-Sonic-MF: X-Sonic-ID: 67434745-caac-4803-8470-f123673148aa Received: from sonic.gate.mail.ne1.yahoo.com by sonic319.consmr.mail.ne1.yahoo.com with HTTP; Fri, 11 Aug 2023 16:34:35 +0000 Date: Fri, 11 Aug 2023 16:34:31 +0000 (UTC) From: "J. G." To: Org-Mode Mailing List Message-ID: <1939460027.3272000.1691771671040@mail.yahoo.com> Subject: org-bibtex-yank failing with error Wrong type argument: stringp, nil MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable References: <1939460027.3272000.1691771671040.ref@mail.yahoo.com> X-Mailer: WebService/1.1.21695 YMailNorrin Received-SPF: none client-ip=66.163.188.85; envelope-from=jerzor@pacbell.net; helo=sonic319-23.consmr.mail.ne1.yahoo.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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 12 Aug 2023 22:21:39 -0400 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: "J. G." Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -7.43 X-Migadu-Queue-Id: 6CE854FDFF X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -7.43 X-TUID: XgYAOg6g9UP9 Hi, I'm trying to figure out why I'm getting consistent failures using org-= bibtex-yank. This appears to be identical to the problem posted here: https://stackoverflow.com/questions/31174281/org-bibtex-yank-fails-with-wro= ng-type-argument-stringp-nil On my system I am using a fresh Ubuntu 23.04 VM with the following emacs an= d org-mode build info: GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.37, cair= o version 1.16.0) of 2023-08-11 Org mode version 9.7-pre (release_9.6.7-652-gcfea24 @ /home/test/org-mode/l= isp/) My backtrace is very similar to that posted in the stackoverflow thread: Debugger entered--Lisp error: (wrong-type-argument stringp nil) =C2=A0 looking-at(nil) =C2=A0 bibtex-parse-entry() =C2=A0 org-bibtex-read() =C2=A0 org-bibtex-yank() =C2=A0 funcall-interactively(org-bibtex-yank) =C2=A0 call-interactively(org-bibtex-yank record nil) =C2=A0 command-execute(org-bibtex-yank record) =C2=A0 execute-extended-command(nil "org-bibtex-yank" nil) =C2=A0 funcall-interactively(execute-extended-command nil "org-bibtex-yank"= nil) =C2=A0 call-interactively(execute-extended-command nil nil) =C2=A0 command-execute(execute-extended-command) My steps to reproduce, with this as my init.el file: (add-to-list 'load-path "~/org-mode/lisp") (require 'org-loaddefs) 1. Open test.org in emacs. 2. Copy a bibtex entry in Firefox, for example this entry from Google Schol= ar: @article{dominik2004org, =C2=A0=C2=A0title=3D{Org Mode Manual}, =C2=A0=C2=A0author=3D{Dominik, Carsten}, =C2=A0=C2=A0year=3D{2004} } 3. In the org file call M-x org-bibtex-yank. After that I experience the failure above 100% of the time. Attempts to troubleshoot: One of the comments in the stackoverflow thread mentioned that a reason thi= s could have failed was that the variable "bibtex-dialect" wasn't set. C-h = v confirms it was set in my case (to "BibTeX"), but the problem was still p= resent. I added a line in my init.el file "(setq bibtex-dialect 'biblatex)"= just to double check and the problem was still present. As described in the same comment, with my original 2 line init.el file abov= e, 1. simply opening a new file "dummy.bib" (doing nothing with it), 2. then opening "test.org", 3. copying a bibtex entry in Firefox, 4. calling org-bibtex-yank caused org-bibtex-yank to correctly function. I did not need to call bibtex= -set-dialect as the comment described.