From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Chastang Subject: Re: org-publish-project yields "Eager macro-expansion failure" Date: Wed, 17 Jun 2015 17:44:55 -0600 Message-ID: References: <87616mmoou.fsf@pierrot.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38762) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5N1F-000350-0a for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 19:45:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5N1A-00021Q-Uk for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 19:45:20 -0400 Received: from mail-ob0-f178.google.com ([209.85.214.178]:32969) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5N1A-00020r-Qj for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 19:45:16 -0400 Received: by obbkn5 with SMTP id kn5so14972273obb.0 for ; Wed, 17 Jun 2015 16:45:15 -0700 (PDT) In-Reply-To: <87616mmoou.fsf@pierrot.dokosmarshall.org> 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: Nick Dokos Cc: emacs-orgmode@gnu.org Nick, Thanks for the feedback. I ultimately fixed this problem by moving my org-mode customizations in my emacs initialization file after the package initialization of orgmode.org/elpa. I somehow think this problem is related to having two versions of org floating around, one from emacs itself and the other from orgmode.org/elpa. (My emacs initialization file is done via tangle/org-babel so I have to have org available from the start, I presume.) BTW, this problem would occur in several situations. For example, when I was trying to get an agenda view. At any rate, the issue is resolved for now. Thanks again for your suggestions. On Wed, Jun 17, 2015 at 7:47 AM, Nick Dokos wrote: > Julien Chastang writes: > >> Hello. >> >> Frequently, when I try to org-publish-project, I get a "Eager >> macro-expansion failure" >> >> The message buffer and backtrace are available here: >> >> https://gist.github.com/julienchastang/98b268e9601882d8d81c >> >> Indeed, I can simply reproduce this problem by calling >> >> (load-with-code-conversion "/elpa/org-20150615/ox-html.el" >> "/elpa/org-20150615/ox-html.el" nil t) >> >> which gets called somewhere in the org-publish-project invocation >> (see backtrace). So I am concluding the error has nothing to do with >> my project. >> >> What can I do to publish my project again? >> >> Many thanks. > > Can you try with uncompiled code? See > > (info "(org) Feedback") > > for how to do that. > > There are two possibilities: > > o you'll still get the error, but the backtrace will be much > more informative. > o you will not get the error - IME, problems that disappear when > run with uncompiled code are harder to debug. But that would still > be interesting information. > > In the latter case, a minimal example that triggers the error would > be useful. > > -- > Nick > > -- Julien Chastang Scientific Software Developer Unidata-UCAR