From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: Problem with org-ref Date: Thu, 24 Dec 2015 21:47:00 -0500 Message-ID: References: <9B7FD49A-1A5F-42D3-9D9F-72BB151AF28C@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42070) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCIPL-0006BA-4i for emacs-orgmode@gnu.org; Thu, 24 Dec 2015 21:47:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aCIPH-0002xZ-O2 for emacs-orgmode@gnu.org; Thu, 24 Dec 2015 21:47:07 -0500 Received: from mail-qg0-x231.google.com ([2607:f8b0:400d:c04::231]:36317) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCIPH-0002xV-Jz for emacs-orgmode@gnu.org; Thu, 24 Dec 2015 21:47:03 -0500 Received: by mail-qg0-x231.google.com with SMTP id e32so14169066qgf.3 for ; Thu, 24 Dec 2015 18:47:03 -0800 (PST) In-reply-to: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Andreas Kiermeier Cc: "emacs-orgmode@gnu.org" That is an odd looking path. On Mac that would expand to something like /Users/Dropbox/_biblio/org-ref/bibnotes.org and on linux /home/Dropbox/_biblio/org-ref/bibnotes.org usually you should not have permission for that, and neither make sense to me. Does (file-exists-p org-ref-bibliography-notes) return true? or alternatively does (find-file org-ref-bibliography-notes) actually open a writable file? I would think this is what you want (unless you have some unusual setup and permissions): (setq org-ref-bibliography-notes "~/Dropbox/_biblio/org-ref/bibnotes.org" org-ref-default-bibliography '("~/Dropbox/_biblio/refs.bib")) i.e. no .. in the path. Andreas Kiermeier writes: > Hi John, > > I've set it at follows (based on your setup) in my init.el file: > > (setq org-ref-bibliography-notes "~/../Dropbox/_biblio/org-ref/bibnotes.org" > org-ref-default-bibliography '("~/../Dropbox/_biblio/refs.bib")) > > So, non-nil. > > Andreas > > On 25 December 2015 at 00:45, John Kitchin wrote: > >> >> On Thu, Dec 24, 2015 at 1:04 AM, Andreas Kiermeier < >> andreas.kiermeier@gmail.com> wrote: >> >>> org-ref-open-bibtex-notes() >> >> >> That looks like a different error that occurs in org-ref-open-bibtex-notes(). >> Up to that point everything looks normal. >> >> What do you have your org-ref-bibliography-notes variable set to? The >> default value is nil which would cause that error. >> >> >> >> John >> >> ----------------------------------- >> Professor John Kitchin >> Doherty Hall A207F >> Department of Chemical Engineering >> Carnegie Mellon University >> Pittsburgh, PA 15213 >> 412-268-7803 >> @johnkitchin >> http://kitchingroup.cheme.cmu.edu >> >> -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu