emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* HTML Export Error : org-export-replace-src-segments-and-examples: Args out of range: 0, 0
@ 2012-03-20 13:55 Sankalp
  2012-03-20 19:31 ` Achim Gratz
  2012-03-21 14:31 ` Bastien
  0 siblings, 2 replies; 7+ messages in thread
From: Sankalp @ 2012-03-20 13:55 UTC (permalink / raw)
  To: emacs-orgmode


[-- 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 --]

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

end of thread, other threads:[~2012-04-24 21:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-20 13:55 HTML Export Error : org-export-replace-src-segments-and-examples: Args out of range: 0, 0 Sankalp
2012-03-20 19:31 ` 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

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).