emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] org-export-normalize-links: Invalid function: org-if-unprotected-at
@ 2009-09-23  3:59 Eric Schulte
  2009-09-23 13:48 ` Carsten Dominik
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Schulte @ 2009-09-23  3:59 UTC (permalink / raw)
  To: Org Mode

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [BUG] org-export-normalize-links: Invalid function: org-if-unprotected-at
  2009-09-23  3:59 [BUG] org-export-normalize-links: Invalid function: org-if-unprotected-at Eric Schulte
@ 2009-09-23 13:48 ` Carsten Dominik
  2009-09-23 14:38   ` Eric Schulte
  0 siblings, 1 reply; 4+ messages in thread
From: Carsten Dominik @ 2009-09-23 13:48 UTC (permalink / raw)
  To: Eric Schulte; +Cc: Org Mode


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [BUG] org-export-normalize-links: Invalid function: org-if-unprotected-at
  2009-09-23 13:48 ` Carsten Dominik
@ 2009-09-23 14:38   ` Eric Schulte
  2009-09-28 20:10     ` Carsten Dominik
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Schulte @ 2009-09-23 14:38 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: Org Mode

Carsten Dominik <carsten.dominik@gmail.com> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [BUG] org-export-normalize-links: Invalid function: org-if-unprotected-at
  2009-09-23 14:38   ` Eric Schulte
@ 2009-09-28 20:10     ` Carsten Dominik
  0 siblings, 0 replies; 4+ messages in thread
From: Carsten Dominik @ 2009-09-28 20:10 UTC (permalink / raw)
  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 <carsten.dominik@gmail.com> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-09-28 20:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-23  3:59 [BUG] org-export-normalize-links: Invalid function: org-if-unprotected-at Eric Schulte
2009-09-23 13:48 ` Carsten Dominik
2009-09-23 14:38   ` Eric Schulte
2009-09-28 20:10     ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).