From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id +BUjGvxPSGAqXgAA0tVLHw (envelope-from ) for ; Wed, 10 Mar 2021 04:50:04 +0000 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 6FfrFfxPSGAEbAAAB5/wlQ (envelope-from ) for ; Wed, 10 Mar 2021 04:50:04 +0000 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 aspmx2.migadu.com (Postfix) with ESMTPS id 9D66616CEA for ; Wed, 10 Mar 2021 05:50:03 +0100 (CET) Received: from localhost ([::1]:47266 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJqnK-00022R-9h for larch@yhetil.org; Tue, 09 Mar 2021 23:50:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54968) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJqmw-00022J-2P for emacs-orgmode@gnu.org; Tue, 09 Mar 2021 23:49:38 -0500 Received: from out1.migadu.com ([2001:41d0:2:863f::]:54326) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJqml-0003Bc-Dw for emacs-orgmode@gnu.org; Tue, 09 Mar 2021 23:49:37 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1615351763; h=from:from: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; bh=bnXy/mfrFSlpR4ncDoCMp9/DG16LvJT65RrtoYYz/m4=; b=L60fDJzGEX4CRVK98o/ED7YODL2xmhU5f/jbssw2yRe6xdBErAlQQlaaDnyaXHr7Oh7faw kAZs+XuE+Yp8xV0VkM5y9nI2OMgbz197m+KWLJghym5DepSYhFeUVdH5gTyCxraND0wx6Y WK51FD+zBqn1/PMXBrV9X18Exyvd0kcXTUOVAtWwE3MHztXR5IVwuS7P1l69FsbXh0X/Xt n0ZfVs0ETbAVGoi5USRZ6C66QX5lwvcihNMQlBSOr+Q2ZXH6aFQeJruOAEdJESbZOvKBc8 HqiF92bdV8W0MSOcf2f6posJwFThpCrkrgZUvj4abIdihRohDvxMonWkx3+t4g== From: Kyle Meyer To: "Marvin M. Doyley" Subject: Re: Problem with org-ref In-Reply-To: References: Date: Tue, 09 Mar 2021 23:49:21 -0500 Message-ID: <87o8fraa0e.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Migadu-Auth-User: kyle@kyleam.com Received-SPF: pass client-ip=2001:41d0:2:863f::; envelope-from=kyle@kyleam.com; helo=out1.migadu.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, 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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: John Kitchin , emacs-orgmode@gnu.org, Zhe Lei Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615351804; 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=bnXy/mfrFSlpR4ncDoCMp9/DG16LvJT65RrtoYYz/m4=; b=MP17amom9nAc40m0JDllSbw+bB2hn7svwQtNOW9isvTQ2A1m52Yn2mMb1cixdrIZMxbFEw S+bNDEaqk8rNEU9m51afBK5nqQS4GbZmOVRSUXCaBTHsR1netAo4QUkcZWDR2atGI1nk8n 1jNn95TKZNtW2FJEh/yjifb3k/DBzURZKqbwrlCGKuKT717CI1ZpxD9MwfUTJVTXlCtcdS zOpT64jeCgfH47ttxqpbw2fwKADZcelPF6UseqTb3krEgkbbM5yWQn2Rmxn7iGDk71xEJI UrCKQO7tPVIzD5G4xVxAvPg1X4aEVtvuyWmfHW0b9j4oo+4dF77jhYQzwNa5Hg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615351804; a=rsa-sha256; cv=none; b=NK6Pyk56+QDCbvY/Bh2NLY+2GsIBukK5mbS5seHxbyLMcgvD5zsBSzIHzlTPZH/bmT8Lql UwT40UFpq/F9aIumdqsiQMZZUx5b6yhk0h4rlGIeldxxIs5u3qIZB6gnBk/IK7taMnkep3 vQKjEFdUpPBTm6BsG45vOk1rAfaUhSM14gfKRlflnQgq5YucJtLu9UmGVwwLi/vNQagYH6 k2dQ+IJbecEOBXGEZVXRFxg1ZUqYigaJOSFajHRIUb4iKVtWQdk3RfYLhdYXkteyEPgTHK kaRb9Hr+96I8xmygwBbzz5cJ78Kwj/ZQaUXYdhD3AEBYk8tazFMU93Gvx2dW3w== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kyleam.com header.s=key1 header.b=L60fDJzG; dmarc=none; spf=pass (aspmx2.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -1.38 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kyleam.com header.s=key1 header.b=L60fDJzG; dmarc=none; spf=pass (aspmx2.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 9D66616CEA X-Spam-Score: -1.38 X-Migadu-Scanner: scn0.migadu.com X-TUID: iX2rNNYM/tp+ Marvin M. Doyley writes: > Hi there, > > When I use crossref-add-bibtex-entry it download the BibTeX entry but can= not download the associated pdf. > I get the following error (wrong-type-argument stringp ("/Users/doyley/D= ropbox/Filing_Cabinet/B/refs/pdf/=E2=80=9C)) > > I configured org-ref as follows > > (setq org-ref-bibliography-notes '("/Users/doyley/Dropbox/Filing_Cabinet/= B/refs/ref_notes.org")=20 > org-ref-default-bibliography '("/Users/doyley/Dropbox/Filing_Cabine= t/B/refs/ref.bib")=20 > org-ref-pdf-directory '("/Users/doyley/Dropbox/Filing_Cabinet/B/ref= s/pdf/") > org-ref-notes-citation-link '("cite") > ) [ Caveat: I've never used org-ref ] org-ref's 0383cc2 (support multiple pdf directories, 2016-06-10) updated org-ref-pdf-directory to accept a list value, so your value is valid, but... > Debugger entered--Lisp error: (wrong-type-argument stringp ("/Users/doyle= y/Dropbox/Filing_Cabinet/B/refs/pdf/")) > file-name-as-directory(("/Users/doyley/Dropbox/Filing_Cabinet/B/refs/pd= f/")) > doi-utils-get-bibtex-entry-pdf(nil) ... doi-utils-get-bibtex-entry-pdf wasn't updated for that (+cc the author of that commit and John Kitchin). It looks like org-ref-pdf-directory still supports a string, though, and you only have one item, so you should be able to work around the issue with (setq org-ref-pdf-directory "/Users/doyley/Dropbox/Filing_Cabinet/B/refs/= pdf/")