From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: [BUG] org-export-normalize-links: Invalid function: org-if-unprotected-at Date: Wed, 23 Sep 2009 08:38:14 -0600 Message-ID: References: <42557C5E-A31B-408C-B77D-4A72617D297C@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MqSzC-0008KQ-H2 for emacs-orgmode@gnu.org; Wed, 23 Sep 2009 10:38:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MqSz7-00089Y-Es for emacs-orgmode@gnu.org; Wed, 23 Sep 2009 10:38:25 -0400 Received: from [199.232.76.173] (port=33843 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MqSz7-00089K-BL for emacs-orgmode@gnu.org; Wed, 23 Sep 2009 10:38:21 -0400 Received: from mail-pz0-f183.google.com ([209.85.222.183]:49466) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MqSz6-0001o1-Gr for emacs-orgmode@gnu.org; Wed, 23 Sep 2009 10:38:20 -0400 Received: by pzk13 with SMTP id 13so603630pzk.25 for ; Wed, 23 Sep 2009 07:38:19 -0700 (PDT) In-Reply-To: <42557C5E-A31B-408C-B77D-4A72617D297C@gmail.com> (Carsten Dominik's message of "Wed, 23 Sep 2009 14:48:12 +0100") 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: Carsten Dominik Cc: Org Mode 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