From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: [BUG] org-export-normalize-links: Invalid function: org-if-unprotected-at Date: Mon, 28 Sep 2009 22:10:49 +0200 Message-ID: References: <42557C5E-A31B-408C-B77D-4A72617D297C@gmail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MsMZv-0002sW-54 for emacs-orgmode@gnu.org; Mon, 28 Sep 2009 16:12:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MsMZq-0002nE-8z for emacs-orgmode@gnu.org; Mon, 28 Sep 2009 16:12:10 -0400 Received: from [199.232.76.173] (port=44188 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MsMZq-0002n5-54 for emacs-orgmode@gnu.org; Mon, 28 Sep 2009 16:12:06 -0400 Received: from mail-ew0-f208.google.com ([209.85.219.208]:37239) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MsMZp-0007bD-Rd for emacs-orgmode@gnu.org; Mon, 28 Sep 2009 16:12:06 -0400 Received: by mail-ew0-f208.google.com with SMTP id 4so2890715ewy.31 for ; Mon, 28 Sep 2009 13:12:05 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: Org Mode Hi Eric, I have no idea how this can happen. If you have any new information, let me know. As anyone else seen the problem Eric describes? - Carsten On Sep 23, 2009, at 3:38 PM, Eric Schulte wrote: > Carsten Dominik writes: > >> On Sep 23, 2009, at 4:59 AM, Eric Schulte wrote: >> >>> Hi, >>> >>> When publishing large html projects I sometimes run into the >>> following >>> error. >>> >>> : org-export-normalize-links: Invalid function: org-if-unprotected- >>> at >>> >>> This happens unpredictably, and I find that it can normally be fixed >>> by >>> some combination of... >>> - updating Org-mode with git pull >>> - running make clean && make in my Org-mode directory >>> - restarting Emacs >>> >>> My questions are >>> - has anyone else seen this? >>> - does anyone have advice for forensic analysis I should perform >>> next >>> time this happens? >>> >>> Thanks -- Eric >>> >> >> Hi Eric, >> >> I think this can happen when using a uncompiled version of org-exp.el >> that is >> getting a compiled version of org.el via (require 'org). >> >> Adding >> >> (require 'org-macs) >> >> to org-exp.el (I just did that) should hopefully get rid of this >> issue. >> >> - Carsten > > Hi Carsten, > > I just grabbed the latest version of Org-mode, ran > > $ make clean && make > > restarted Emacs, and tried again and ran into the same issue. > > org-export-normalize-links: Invalid function: org-if-unprotected-at > > I then ran > > $ make clean > > restarted Emacs, and tried again, and the publish worked without a > problem. It seems to be a problem related to compiled version of > either > org-exp.el or org-macs.el, but I have no idea which. For now I'm > content running uncompiled. Please let me know if there is some way > for > me to investigate or provide more useful debugging info. > > Thanks -- Eric