From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MLEMJtWfe2Lw7QAAbAwnHQ (envelope-from ) for ; Wed, 11 May 2022 13:36:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 0BMUJtWfe2JCGgEA9RJhRA (envelope-from ) for ; Wed, 11 May 2022 13:36:53 +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 43610C1B8 for ; Wed, 11 May 2022 13:36:53 +0200 (CEST) Received: from localhost ([::1]:36922 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nokeC-0003hv-Dy for larch@yhetil.org; Wed, 11 May 2022 07:36:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54460) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nokdJ-0003he-Qe for emacs-orgmode@gnu.org; Wed, 11 May 2022 07:35:57 -0400 Received: from mail-pj1-x102a.google.com ([2607:f8b0:4864:20::102a]:54147) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nokdI-0008GA-6S for emacs-orgmode@gnu.org; Wed, 11 May 2022 07:35:57 -0400 Received: by mail-pj1-x102a.google.com with SMTP id o69so1965167pjo.3 for ; Wed, 11 May 2022 04:35:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=AzNBxOK2EFVPXmtcgCoPRUR73nHrCTLmFeKSFUwxtF0=; b=i6UkDlJJZnx5qYsMTfEhjHShR+MP9/KKosYhun+XU5d4lgNCz+yj/5M90EP7TQ4o6A P+TCKWmrvFJC32LyrWNyB2YxJAL6uT5FNxSOrjpTWOLU6rTY92MXyeN9dFErQ73yc5yO LsmjMYQGIN7Z9Fl1HkxadwDPr+RaNen9kyKwMaLRineo2TsOijJxWZ1UOeHfDEdC4NUk LrAlqO/0XdX3Rj11M7IjrJTsheFgyrjoNp7l6DLVdo98CYVJVvvWPfsNtSf0bNtC5yaK qbDRwsbTnjrFl7VPpdZh1xwx1MBm5QVJzy+J6P7eEJVjGu0+jjMC296E6eZ0c5R7dcpp S5BQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=AzNBxOK2EFVPXmtcgCoPRUR73nHrCTLmFeKSFUwxtF0=; b=YbLKHyoJ1qbhCN3I/J62adU3VG/CleLlNDtMHOR4nsTmGppuMEp81n5VFDudSkFURl 7fOXj17U8+Tpyi04up/gWfpg7QBBoc5wectYTN0h/ir1tFJnR6Q81kp0aKWYoO/uCBnw v9Z69mMVTBwHT/W037IStGFyLvZznKHi1bflapQB1yMI9FKFOSgtzPXKoazGoR3eEdBv e0zrxlY41E5plyIgXcieyMaBod4fWs8JZX/kfHtl1H0W9Fo39xBg0gXX4V7WZKNYuchh 2UHLQMKSuU9nM5vX37i13j+lTfksjlARyk7QywtvU+FH+ChmoquB0rMKD74G7BOefv9T zwaA== X-Gm-Message-State: AOAM530jg7k4+00EiyqP9rkKUtDImn6d30uGfvNXXGUKZZOZR2H4xrXe sLxUaJ0qDAZC7GSQQz9cqAXepAGRzF/m8A== X-Google-Smtp-Source: ABdhPJwWOV18k5O8osjxORdyxM2UHZWgLZ6rudOdb+8DP2MPaizklGjhqismQH5meHoe97QCH7bkoA== X-Received: by 2002:a17:902:cf05:b0:156:9d:ca01 with SMTP id i5-20020a170902cf0500b00156009dca01mr25141024plg.111.1652268954818; Wed, 11 May 2022 04:35:54 -0700 (PDT) Received: from localhost ([66.154.104.4]) by smtp.gmail.com with ESMTPSA id nn15-20020a17090b38cf00b001cd4c118b07sm1616148pjb.16.2022.05.11.04.35.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 May 2022 04:35:54 -0700 (PDT) From: Ihor Radchenko To: Kaushal Modi Cc: emacs-org list Subject: Re: oc-basic "Wrong value for ENTRY-OR-KEY" error on emacs master (29.x) [Was: Bibliographies on export with ox-context and ox-epub] In-Reply-To: References: <2fcf6b95-c3c1-0885-e3b0-99479a580dc2@mailbox.org> <1f18a566-415e-0742-58e3-5a46fc550ae2@mailbox.org> Date: Wed, 11 May 2022 19:36:39 +0800 Message-ID: <87o804jo6w.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::102a; envelope-from=yantar92@gmail.com; helo=mail-pj1-x102a.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652269013; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=AzNBxOK2EFVPXmtcgCoPRUR73nHrCTLmFeKSFUwxtF0=; b=npP0sIonV6hoUoAlUxSfbWv2yih2+IahIY6FTHvrI83q5u6dYeyFcw3LzdVgKge/n6LS7O /RavvWHjQ5YeEHLNxqEVfDaEvQkO9/TuuPyLiEwLnvySiwb8l/0IysbJpWx2OCbH+HIKIt gzrEck3q1vhH8+p1J9u6HcuI+35DS7TPinsvdGsNxC0hRFsUJ/Zf4cpJ7GiWN5aSNzgWBF xLxE/aj+JC2R1DH8CbPQkW/tFiFSI/WEzGYO/U+XKW8EZ7v0HVk3h+iPARi2C/MApApE2p rh1qbaG4H7mzVQ4kwX0cpsjnUkVpaCqFlfl3F+xGcVvp/7JNCO6Itv+IFCx4uw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652269013; a=rsa-sha256; cv=none; b=UqHYMJquHrMU4XhmsHPBiI16bAtMaFk3bgclXqrym6LjmLxuvTSw3a7lrN/f+udiWIu1Ad lZILyYlugoWGHmaArRuYeftuaBXWUNZxYG/yNQoG2zmBMuIrI0nEYAb4EGFcapQtMhR4Lm vhHyJaTVGmstX58qPVlxrtYel7D5rWxD3z5xNrVhcNYo8zIvBcYgQaojIMpjbFU5XxuCG5 7H4K47qhRn7fI9EnI9HT4/RIfpPTi83P85lKXjbaV0n8h6+OwRy/Y7T8LUjVjK9Mgab7Rq /IsXzY3dd0Ulm59rkXkhfeEmC4XTaxD8HPLNTPtwAe3cMzwWPTyqCAQYbAFBJQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=i6UkDlJJ; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Spam-Score: -3.51 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=i6UkDlJJ; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Queue-Id: 43610C1B8 X-Spam-Score: -3.51 X-Migadu-Scanner: scn1.migadu.com X-TUID: Za0ov6RK+GEF Kaushal Modi writes: > On Mon, May 9, 2022 at 5:44 PM Kaushal Modi wrote: >> >> I have now sent this to Emacs bug tracking: >> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55342 > > Thanks for the debug[1] Ihor! > > This issue was quickly fixed on Emacs master in > https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=d221c02fa1db17e1275687f0bbce4ff1499119a1. > > [1]: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55342#11 Thanks for reporting back! Note that apart from the problem on Emacs side, there appears to be a problem with org-cite-basic-export-bibliography. org-cite-basic-export-bibliography uses org-cite-basic--print-entry, which fails to print keys, which are not in .bib files. As a result, #+print_bibliography: appears to fail all the time when the document contains invalid cite keys. I consider this as a bug. At least org-cite-basic-export-bibliography could provide a more useful error message. Or maybe even skip the invalid keys. Or, similar to LaTeX, print ???. I am not sure which way will be more canonical according to general oc.el design. Best, Ihor