From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 6F5qEmpcTmNsWQEAbAwnHQ (envelope-from ) for ; Tue, 18 Oct 2022 09:57:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id eH1nEWpcTmMUdwAAG6o9tA (envelope-from ) for ; Tue, 18 Oct 2022 09:57:30 +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 E1A39FBCF for ; Tue, 18 Oct 2022 09:57:29 +0200 (CEST) Received: from localhost ([::1]:35736 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okhTc-0000Bv-Tx for larch@yhetil.org; Tue, 18 Oct 2022 03:57:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okhJB-00006Q-Fr for emacs-orgmode@gnu.org; Tue, 18 Oct 2022 03:46:44 -0400 Received: from mout02.posteo.de ([185.67.36.66]:53839) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okhJ8-0004MS-DQ for emacs-orgmode@gnu.org; Tue, 18 Oct 2022 03:46:40 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 09B4D240107 for ; Tue, 18 Oct 2022 09:46:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1666079194; bh=RAO66KSTjufRxkhyiEVVQXQQU6a9uBm9JVyAiGMrVp8=; h=From:To:Cc:Subject:Date:From; b=MpMOUImLVb8A5QKK0+VYd0++HQK5ycAiumZUYWKdZLJNlNFHGmBDKBPqGB76WsG/0 V+6rhIvN8R4Fq26lWxSbTI/WiHREtMrLMrqFcyyaFzMXLIxqL1hXUsoN6GVrXXhXls 5XHRRU/K+vLQYyUiWR0RbQFITmaOYSuBv/ofOr7n8YLbXyFHgAFzkDC0PdhZ6Tm1Cs WD7g6jjYHLeEjOz2KP8lQWR/SuPcFEDiEEq7IyNIitH6zpod/FY2NQTsb/QkOW5hTU Q81YiogHFpdH7MrcFMkO2Tm5OXvsC5/Zb77X9iDiBAVXY2ZNla0ELGzW2BtdCp//oe pjRHll0/Yo0Fw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Ms5XQ1K1zz9rxD; Tue, 18 Oct 2022 09:46:29 +0200 (CEST) From: Ihor Radchenko To: Moritz =?utf-8?Q?Sch=C3=A4fer?= Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] ox-odt fails for org-id links (e.g., from org-roam v2) [9.5.2 (9.5.2-gfbff08 @ /home/moritz/.emacs.d/elpa/27.2/develop/org-9.5.2/)] In-Reply-To: References: Date: Tue, 18 Oct 2022 07:47:17 +0000 Message-ID: <877d0xfu9m.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de 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_PASS=-0.001 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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666079849; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=p6bBYIzRKHIoyC/w/6N6IAclOD10kIDTvi3FxoT+UJ4=; b=QaPJo6JDHiApCa+6SdlSJxTlVnwX0bF+UWkRL5SKcix0SMtnagB+kAcCNIrv0WZGmYGlQr 1T7V/Kh1jaRS4LB49UWDJvX8ua4mHFQYt2H8edlAm24Xjw6Tz6Mxc8z58bZyPQPDcYXNmW fO/rgI8e0l+J3PfqR74tZEg+JSKQwGW7l9tHFQREIwgdgNSb8EcjW/IqQMY7Mo7hkXBGOk GsLmhhMPwAZfL44RdLzeDqkvWBWi0K7t1ubiq5Qzh8Bb9CeM1Twf+xXHcijCVuvlbEFq0W vZ3rvJliYxOKqiceYGg2ChTwCrkZrX/BrSPaCw788eCHzOOicAAQo3abcoXx4Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666079849; a=rsa-sha256; cv=none; b=petZV6ksy2SesJecBjBCZ0Q0vGQnBVBSVTaSmyMgBCFTgwkZkklW9LVhwzIEyq3nYeoTl1 6RK50y9BT+9vUMLt0q35ee0vhdSHlXGIu8W6wyM6EqnLyKsPtBwWtGk0EEdTzxExO13mCp B054zH+NbIhBY974a4hwyf+EZA4XAg2e4zUCRFvEplUjdFHP+oMzenhEBKPR7dUXDJcSxN 96baw6HvPcQTdcwHh/PU2PuigMHRADpxlLsHD4nY2afxa4SLBhS/NiPL9Z8BJqWbBWHZ8q Z7rIbtXHVmOW1U8f4cf1P/EporcqZeldMiigKuFVS/jWa/O/lTEX0u1VSQUQVg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=MpMOUImL; dmarc=pass (policy=none) header.from=posteo.net; 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.42 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=MpMOUImL; dmarc=pass (policy=none) header.from=posteo.net; 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: E1A39FBCF X-Spam-Score: -3.42 X-Migadu-Scanner: scn1.migadu.com X-TUID: ntWFfRaSkSm8 Moritz Sch=C3=A4fer writes: > When exporting an org-file with org-id based links to odt, I get the > error error "FIXME: Unable to resolve ", where is the > filename, the org-id-link was pointing to. > > Org-id links (example below) are the default for org-roam (v2). > > [[id:5222a0dd-5084-41bd-b61d-21dcb3290187][Note title]] > > The issue lies within ox-odt.el in the org-odt-link function. There, ' > destination' takes the value of the file name of the id-link target. > Therefore, (org-element-type destination) gets evaluated to 'plain-text, > which is not resolvable by 'org-odt-link--infer-description', thus it > raises the error. > > I worked around this issue by adding a check for plain-text, but would li= ke > to raise this issue here to find proper ideas on how to fix this. Thanks for reporting, and sorry for the late reply. Could you provide an example and steps demonstrating the problem? --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at