From: Sankalp <sankalpkhare@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: HTML Export Error : org-export-replace-src-segments-and-examples: Args out of range: 0, 0
Date: Tue, 20 Mar 2012 19:25:08 +0530 [thread overview]
Message-ID: <CABcJk5C07uHKePmR8+BAKThS87MJeaUFY-nJxFbE3yFRbwiuYA@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 4071 bytes --]
Hi,
I'm facing a strange issue. On exporting the attached .org file to HTML, I
often have to do it in 2 passes.
Most of the times the 1st pass throws an error, and the output in the
*Messages* buffer is like this :
OVERVIEW
Export buffer:
Exporting...
(New file)
org-babel-exp processing...
OVERVIEW
Position saved to mark ring, go back with C-c &.
OVERVIEW
executing Python code block...
Code block evaluation complete.
org-babel-exp processing...
OVERVIEW
Position saved to mark ring, go back with C-c &.
OVERVIEW
executing Python code block...
Code block evaluation complete.
org-babel-exp processing...
OVERVIEW
Position saved to mark ring, go back with C-c &.
OVERVIEW
executing Python code block...
Code block evaluation complete.
org-babel-exp processing...
OVERVIEW
Position saved to mark ring, go back with C-c &.
OVERVIEW
executing Python code block...
Code block evaluation complete.
org-babel-exp processing...
OVERVIEW
Position saved to mark ring, go back with C-c &.
OVERVIEW
executing Python code block...
Code block evaluation complete.
org-babel-exp processing...
OVERVIEW [2 times]
executing Python code block...
Code block evaluation complete.
org-babel-exp processing...
OVERVIEW
Position saved to mark ring, go back with C-c &.
OVERVIEW
executing Python code block...
Code block evaluation complete.
org-babel-exp processing...
OVERVIEW
Position saved to mark ring, go back with C-c &.
OVERVIEW
executing Python code block...
Code block evaluation complete.
org-babel-exp processing...
OVERVIEW
Position saved to mark ring, go back with C-c &.
OVERVIEW
executing Python code block...
Code block evaluation complete.
org-babel-exp processing...
OVERVIEW
Position saved to mark ring, go back with C-c &.
OVERVIEW
executing Python code block...
Code block evaluation complete.
org-babel-exp processing...
OVERVIEW
Position saved to mark ring, go back with C-c &.
OVERVIEW
executing Python code block...
Code block evaluation complete.
org-babel-exp processing...
OVERVIEW
Position saved to mark ring, go back with C-c &.
OVERVIEW
executing Python code block...
Code block evaluation complete.
Fontifying org-src-fontification:python-mode... (regexps..............)
Code block evaluation complete.
Fontifying org-src-fontification:python-mode... (regexps..............)
Code block evaluation complete.
Fontifying org-src-fontification:python-mode... (regexps..............)
Code block evaluation complete.
Fontifying org-src-fontification:python-mode... (regexps..............)
Code block evaluation complete.
Fontifying org-src-fontification:python-mode... (regexps..............)
Code block evaluation complete.
Fontifying org-src-fontification:python-mode... (regexps..............)
Code block evaluation complete.
Fontifying org-src-fontification:python-mode... (regexps..............)
Code block evaluation complete.
Fontifying org-src-fontification:python-mode... (regexps..............)
Code block evaluation complete.
Fontifying org-src-fontification:python-mode... (regexps..............)
Code block evaluation complete.
Fontifying org-src-fontification:python-mode... (regexps..............)
Code block evaluation complete.
Fontifying org-src-fontification:python-mode... (regexps..............)
Code block evaluation complete.
Fontifying *temp*<2>... (regexps..............)
Code block evaluation complete.
org-export-replace-src-segments-and-examples: Args out of range: 0, 0
i.e. at the end I get this error - Args out of range: 0, 0
Strangely, doing an export for the 2nd time, without deleting the output
html file manages to do it successfully without throwing any errors.
Could someone examine the attached file and throw some light on what I
might be doing wrong?
Thanks,
--
Sankalp
*******************************************************
If humans could mate with software, I'd have org-mode's
babies.
--- Chris League on Twitter.
http://orgmode.org/worg/org-quotes.html
*******************************************************
Ps: Sorry about the long output transcript...
[-- Attachment #1.2: Type: text/html, Size: 6015 bytes --]
[-- Attachment #2: regex-python.org --]
[-- Type: application/vnd.lotus-organizer, Size: 6863 bytes --]
next reply other threads:[~2012-03-20 13:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-20 13:55 Sankalp [this message]
2012-03-20 19:31 ` HTML Export Error : org-export-replace-src-segments-and-examples: Args out of range: 0, 0 Achim Gratz
2012-03-20 23:03 ` Sankalp
2012-03-21 14:31 ` Bastien
2012-03-23 19:47 ` Sankalp
2012-03-23 21:50 ` Bastien
2012-04-24 21:37 ` Sankalp
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CABcJk5C07uHKePmR8+BAKThS87MJeaUFY-nJxFbE3yFRbwiuYA@mail.gmail.com \
--to=sankalpkhare@gmail.com \
--cc=emacs-orgmode@gnu.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 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).