From: Jason Dunsmore <emacs-orgmode@dunsmor.com>
To: Bastien <bastien.guerry@wikimedia.fr>
Cc: Matt Lundin <mdl@imapmail.org>,
Org Mode List <emacs-orgmode@gnu.org>,
Carsten Dominik <carsten.dominik@gmail.com>
Subject: Re: Re: Worg publishing broken?
Date: Fri, 18 Feb 2011 10:19:11 -0600 [thread overview]
Message-ID: <87bp299uyo.fsf@riotblast.dunsmor.com> (raw)
In-Reply-To: 874o81hg85.fsf@gnu.org
Bastien <bastien.guerry@wikimedia.fr> writes:
> Matt Lundin <mdl@imapmail.org> writes:
>
>> Would there be any way to get the Worg publishing script or export of
>> source code blocks to fail gracefully in these instances?
>
> That would be helpful indeed.
>
> As a first step, we could handle errors in a more clever way by using
> the variable `noninteractive', testing if Emacs is running in batch
> mode. In batch mode, instead of blocking the export process with a
> (error ...), we could just logs problems.
>
> Let's collect places where errors can block the publishing process.
Sounds like a good approach. I found a few using:
$ git log --oneline | grep -i export | egrep -i "fix|issue|broke|problem|error|resolve|correct|publish"
All the ones I found were related to Babel.
1) Used "shell" instead of "sh" for the source block mode. Fixed by
commit e4ed828.
2) Used "=<<code-block-name>>=" instead of ": <<code-block-name>>".
Fixed by commit 90cb8cb. When I tested this with by checking out
90cb8cb and trying to export org-contrib/babel/org-babel.org, I got
the error "org-babel-exp-lob-one-liners: Wrong type argument:
stringp, nil".
3) Enclosing #+begin_src into #+begin_quote. Fixed by commit fd3bca5.
The error is: File mode specification error: (file-error "Cannot open
load file" "html-helper-mode")
next prev parent reply other threads:[~2011-02-18 16:19 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-16 16:17 Worg publishing broken? Carsten Dominik
2011-02-16 16:30 ` Bastien
2011-02-16 16:34 ` Jason Dunsmore
2011-02-16 16:41 ` Bastien
2011-02-17 16:27 ` Matt Lundin
2011-02-18 8:58 ` Bastien
2011-02-18 16:19 ` Jason Dunsmore [this message]
2011-02-18 18:05 ` Jambunathan K
2011-02-19 1:09 ` Bastien
[not found] ` <87pqqosucm.fsf-mXXj517/zsQ@public.gmane.org>
2011-02-19 14:04 ` Sébastien Vauban
2011-02-22 11:53 ` Bastien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bp299uyo.fsf@riotblast.dunsmor.com \
--to=emacs-orgmode@dunsmor.com \
--cc=bastien.guerry@wikimedia.fr \
--cc=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=mdl@imapmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.