From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vikas Rawal Subject: org-publish error: "Stack overflow in regexp matcher" Date: Thu, 11 Jul 2013 12:26:52 +0530 Message-ID: <20130711065652.GA21179@panahar> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="OgqxwSJOaUobr8KG" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43597) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxAoM-0002fm-F3 for emacs-orgmode@gnu.org; Thu, 11 Jul 2013 02:57:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UxAoI-0006GV-OW for emacs-orgmode@gnu.org; Thu, 11 Jul 2013 02:57:06 -0400 Received: from mail-pd0-f171.google.com ([209.85.192.171]:53846) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxAoI-0006GJ-Er for emacs-orgmode@gnu.org; Thu, 11 Jul 2013 02:57:02 -0400 Received: by mail-pd0-f171.google.com with SMTP id y14so7144572pdi.2 for ; Wed, 10 Jul 2013 23:57:01 -0700 (PDT) Received: from panahar ([180.151.27.62]) by mx.google.com with ESMTPSA id ot4sm40409674pac.17.2013.07.10.23.56.57 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 10 Jul 2013 23:56:59 -0700 (PDT) Content-Disposition: inline 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: emacs-orgmode --OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline When I try to publish my site built with org-mode, it scans through all files to create the sitemap, and hangs up with error: "Stack overflow in regexp matcher". Oddly, it scans through all files including the static content. It goes through all tar.gz files, pdf files, and what not. My project specification is pasted below. Sitemap is supposed to be made only with the project "indianstatistics-notes" and not with "indianstatistics-static". But orgmode scans through the whole thing anyway, and gives the above mentioned error. Will be grateful for help. # Org-mode version 8.0.5 (release_8.0.5-333-g507499 @ /home/vikas/lisp/org-mode/lisp/) # Am enclosing backtrace also for reference. Vikas # Project specification: ("indianstatistics-notes" :base-directory "~/indianstatistics/source/" :base-extension "org" :publishing-directory "~/indianstatistics/web/" :recursive t :publishing-function org-html-publish-to-html :headline-levels 2 :auto-preamble t :author "VR" :with-timestamps t :auto-sitemap t :sitemap-title "Sitemap for www.indianstatistics.org" :sitemap-sort-files anti-chronologically :sitemap-file-entry-format "%t (last updated on %d)" :html-postamble "

Statistics on Indian Economy and Society

This page last updated on: %d

Copyrights as specified in http://www.indianstatistics.org/citation.html.

" ) ("indianstatistics-static" :base-directory "~/indianstatistics/source/" :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|csv\\|pdf\\|ogg\\|zip\\|gz\\|TXT\\|swf\\|ico\\|htaccess" :include ("bibliobase_bib.html") :publishing-directory "~/indianstatistics/web/" :recursive t :publishing-function org-publish-attachment ) ("indianstatistics" :components ("indianstatistics-notes" "indianstatistics-static") ) --OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=backtrace Content-Transfer-Encoding: quoted-printable Debugger entered--Lisp error: (error "Stack overflow in regexp matcher") re-search-forward("\\(?:\\\\label{\\([^}]*\\)}\\|\\[[^]]*label[[:space:]]= *=3D[[:space:]]*{?\\(?1:[^],}]+\\)}?\\)\\|\\(^\\)[ ]*\\\\\\(part\\|chapter= \\|section\\|subsection\\|subsubsection\\|paragraph\\|subparagraph\\|addcha= p\\|addsec\\)\\*?\\(\\[[^]]*\\]\\)?[[{ =0D\n\\]\\|\\(^\\)[ ]*\\\\\\(inclu= de\\|input\\)[{ ]+\\([^} \n=0D]+\\)\\|\\(^\\)[ ]*\\(\\\\appendix\\)\\|\\= (\\\\glossary\\|\\\\index\\)[[{]" nil t) byte-code("\306=08\307 #\211=12\204=16=00\310=08!\211=13\203=16=00\311=0B= !=12\n\204%=00\312=08D\fB=14\313\314\315\"\210\212\316\317=08\"\210\320\n= =0D\321=3D?\"\211=16@q\210\311 =10\322=08D\fB=14\323 =1EA\324\216\325=0EB!\= 210\315=1EC\212\214~\210\326b\210\327=0ED\315\321#\203g=01\326\225\203q=00\= 330\331\326!=08=0EE#\fB=14\202U=00\332\225\203\276=00\333\224=16E`Sf\334=3D= \203\205=00\335u\210\336=08!\211=16F\203U=00\337=0EF8=16G=0EH=0EG^=16H=0EG= =0EHU\203\262=00\316\340\341=0EG=0EI\"@\342=0EF8#\210=0EF\fB=14=0EF=16J\202= U=00\343\225\203\335=00\331\343!=16K\344\315\345\346=0EL\"\"\204U=00\347=0E= K\f #=14\202U=00\350\225\203\360=00\351\315\321\"\210\352\321B\fB=14\202U= =00\353\225\203=13=01=0EM\203U=00\354=08!\211=16N\203U=00\355\356=0ENA@\"\2= 10=0EN\fB=14\202U=00\357\225\203`=01\212\331\357!=1EO\357\225b\210\360 =1EP= \361\216\362\363=0EO!!*=1EQ\364=0EO=0ER\"A@\211=1ES\203F=01\333\225b\210\20= 2M=01\357\225b\210\365 \210\330=0EQ=08=0EE\315\211%\211=1ET\fB=14-\202U=00\= 366\367!\210\202U=00\370 !\211=16U\203w=01\371=0EUB\fB=14\326b\210\327\372\= 315\321#\203\210=01\373=08B\fB=14\326b\210\327\374\315\321#\203\241=01\375\= 331\376!\331\332!E\fB=14\202\213=01\377=08D\fB=14.=06\201V=00=0E@!\207" [fi= le master-dir file-found buf docstruct reftex-keep-temporary-buffers reftex= -locate-file "tex" reftex-get-buffer-visiting buffer-file-name file-error t= hrow exit nil message "Scanning file %s" reftex-get-file-buffer-force t bof= syntax-table ((set-syntax-table saved-syntax)) set-syntax-table 1 re-searc= h-forward reftex-label-info reftex-match-string 3 0 92 -1 reftex-section-in= fo 5 "Scanning %s %s ..." rassoc 6 7 delq mapcar #[(x) "\302=08 \"\207" [x = include-file string-match] 3] reftex-parse-from-file 9 reftex-init-section-= numbers appendix 10 reftex-index-info add-to-list index-tags 11 match-data = ((byte-code "\301=08\302\"\207" [save-match-data-internal set-match-data ev= aporate] 3)) ...] 7) reftex-parse-from-file("/home/vikas/indianstatistics/source/scripts/nss66= 1_type2_scripts.tar.gz" nil "/home/vikas/indianstatistics/source/scripts/") reftex-do-parse(1 nil) reftex-access-scan-info((16)) reftex-parse-all() (and (buffer-file-name) (file-exists-p (buffer-file-name)) (reftex-parse-= all)) org-mode-reftex-setup() run-hooks(change-major-mode-after-body-hook text-mode-hook outline-mode-h= ook org-mode-hook) apply(run-hooks (change-major-mode-after-body-hook text-mode-hook outline= -mode-hook org-mode-hook)) run-mode-hooks(org-mode-hook) org-mode() org-publish-find-date("/home/vikas/indianstatistics/source/scripts/nss661= _type2_scripts.tar.gz") org-publish-compare-directory-files("/home/vikas/indianstatistics/source/= scripts/nss661_type2_scripts.zip" "/home/vikas/indianstatistics/source/scri= pts/nss661_type2_scripts.tar.gz") sort(("/home/vikas/indianstatistics/source/scripts/." "/home/vikas/indian= statistics/source/scripts/.htaccess" "/home/vikas/indianstatistics/source/s= cripts/README_ASI_9394.TXT" "/home/vikas/indianstatistics/source/scripts/RE= ADME_ASI_8485.TXT" "/home/vikas/indianstatistics/source/scripts/asi.org" "/= home/vikas/indianstatistics/source/scripts/README_NSS_6601_TYPE2.TXT" "/hom= e/vikas/indianstatistics/source/scripts/README_ASI_9697.TXT" "/home/vikas/i= ndianstatistics/source/scripts/README_ASI_8081.TXT" "/home/vikas/indianstat= istics/source/scripts/README_ASI_0708.TXT" "/home/vikas/indianstatistics/so= urce/scripts/README_ASI_0607.TXT" "/home/vikas/indianstatistics/source/scri= pts/asi0708_scripts.zip" "/home/vikas/indianstatistics/source/scripts/asi06= 07_scripts.zip" "/home/vikas/indianstatistics/source/scripts/asi8081_script= s.tar.gz" "/home/vikas/indianstatistics/source/scripts/asi0708_scripts.tar.= gz" "/home/vikas/indianstatistics/source/scripts/asi0607_scripts.tar.gz" "/= home/vikas/indianstatistics/source/scripts/README_NSS_6110.TXT" "/home/vika= s/indianstatistics/source/scripts/README_ASI_9495.TXT" "/home/vikas/indians= tatistics/source/scripts/asi0506_scripts.zip" "/home/vikas/indianstatistics= /source/scripts/asi0506_scripts.tar.gz" "/home/vikas/indianstatistics/sourc= e/scripts/README_NSS_6610.TXT" "/home/vikas/indianstatistics/source/scripts= /README_NSS_6601.TXT" "/home/vikas/indianstatistics/source/scripts/README_N= SS_6010.TXT" "/home/vikas/indianstatistics/source/scripts/README_NSS_5801.T= XT" "/home/vikas/indianstatistics/source/scripts/README_NSS_5701.TXT" "/hom= e/vikas/indianstatistics/source/scripts/README_ASI_8990.TXT" "/home/vikas/i= ndianstatistics/source/scripts/README_ASI_0506.TXT") org-publish-compare-di= rectory-files) org-publish-get-base-files-1("/home/vikas/indianstatistics/source/scripts= " t "^[^\\.].*\\.\\(org\\)$" nil nil) #[(f) "\306=08!\307=08!=19\211=1A\2032=00=0B\2032=00\310\311 \"\2042=00\f= \203#=00\310\f \"?\202$=00\312\2032=00\313=08=0B=0D=0E=0F\f%\202o=00\n\206Q= =00=0E=0F\203C=00\310=0E=0F \"\206Q=00\314\315=08!!?\206Q=00\310=0D \"??\20= 5o=00=08=1E=10\316=0E=10=0E=11\"\203f=00=0E=11\202n=00=0E=10=0E=11B\211=16= =11)*\207" [f fnd fd-p recurse skip-dir match file-directory-p file-name-no= ndirectory string-match "^\\.+$" t org-publish-get-base-files-1 file-exists= -p file-truename memql skip-file var org-publish-temp-files] 7]("/home/vika= s/indianstatistics/source/scripts") mapc(#[(f) "\306=08!\307=08!=19\211=1A\2032=00=0B\2032=00\310\311 \"\2042= =00\f\203#=00\310\f \"?\202$=00\312\2032=00\313=08=0B=0D=0E=0F\f%\202o=00\n= \206Q=00=0E=0F\203C=00\310=0E=0F \"\206Q=00\314\315=08!!?\206Q=00\310=0D \"= ??\205o=00=08=1E=10\316=0E=10=0E=11\"\203f=00=0E=11\202n=00=0E=10=0E=11B\21= 1=16=11)*\207" [f fnd fd-p recurse skip-dir match file-directory-p file-nam= e-nondirectory string-match "^\\.+$" t org-publish-get-base-files-1 file-ex= ists-p file-truename memql skip-file var org-publish-temp-files] 7] ("/home= /vikas/indianstatistics/source/." "/home/vikas/indianstatistics/source/scri= pts" "/home/vikas/indianstatistics/source/.." "/home/vikas/indianstatistics= /source/datafiles" "/home/vikas/indianstatistics/source/img" "/home/vikas/i= ndianstatistics/source/graphs" "/home/vikas/indianstatistics/source/css" "/= home/vikas/indianstatistics/source/index.org" "/home/vikas/indianstatistics= /source/bibliobase_bib.html" "/home/vikas/indianstatistics/source/bibliobas= e.html" "/home/vikas/indianstatistics/source/sitemap.org" "/home/vikas/indi= anstatistics/source/agriapy.org" "/home/vikas/indianstatistics/source/landu= se.org" "/home/vikas/indianstatistics/source/agrarian.org" "/home/vikas/ind= ianstatistics/source/bibliobase.bib.bak" "/home/vikas/indianstatistics/sour= ce/bibliobase.bib" "/home/vikas/indianstatistics/source/.Rhistory" "/home/v= ikas/indianstatistics/source/irrigation.org" "/home/vikas/indianstatistics/= source/fbi.org" "/home/vikas/indianstatistics/source/ncf.org" "/home/vikas/= indianstatistics/source/employment.org" "/home/vikas/indianstatistics/sourc= e/documentarchive.org" "/home/vikas/indianstatistics/source/nceus.org" "/ho= me/vikas/indianstatistics/source/miscdocuments.org" "/home/vikas/indianstat= istics/source/documentarchive.bib.bak" "/home/vikas/indianstatistics/source= /documentarchive.bib" "/home/vikas/indianstatistics/source/documentarchive_= bib.html" "/home/vikas/indianstatistics/source/documentarchive.html" "/home= /vikas/indianstatistics/source/favicon.ico" "/home/vikas/indianstatistics/s= ource/fertiliser.org" "/home/vikas/indianstatistics/source/external_links.o= rg" "/home/vikas/indianstatistics/source/datadocuments.org" "/home/vikas/in= dianstatistics/source/socio_economic_conditions.org" "/home/vikas/indiansta= tistics/source/public_finance.org" "/home/vikas/indianstatistics/source/nat= ional_income.org" "/home/vikas/indianstatistics/source/animals.org" "/home/= vikas/indianstatistics/source/cdr.org" "/home/vikas/indianstatistics/source= /citation.org" "/home/vikas/indianstatistics/source/contribute.org" "/home/= vikas/indianstatistics/source/cpial.org" "/home/vikas/indianstatistics/sour= ce/land.org" "/home/vikas/indianstatistics/source/branches.org" "/home/vika= s/indianstatistics/source/analytics.html" "/home/vikas/indianstatistics/sou= rce/.htaccess" "/home/vikas/indianstatistics/source/pds.pdf" "/home/vikas/i= ndianstatistics/source/education.org" "/home/vikas/indianstatistics/source/= about.org" "/home/vikas/indianstatistics/source/pds.org" "/home/vikas/india= nstatistics/source/industry.org" "/home/vikas/indianstatistics/source/consu= mer_expenditure.org" ...)) org-publish-get-base-files-1("~/indianstatistics/source/" t "^[^\\.].*\\.= \\(org\\)$" nil nil) org-publish-get-base-files(("indianstatistics-notes" :base-directory "~/i= ndianstatistics/source/" :base-extension "org" :publishing-directory "~/ind= ianstatistics/web/" :recursive t :publishing-function org-html-publish-to-h= tml :headline-levels 2 :auto-preamble t :author "VR" :with-timestamps t :au= to-sitemap t :sitemap-title "Sitemap for www.indianstatistics.org" :sitemap= -sort-files anti-chronologically :sitemap-file-entry-format "%t (last updat= ed on %d)" :html-postamble "

Statistics on Indian Economy and Society

=

This page last updated on: %d

Copyrights as speci= fied in http://www.indianstatistics.org/citation.html.

") nil) #[(project) "\306=08@!\210=08A=19\307 \310\"=1A\307 \311\"=1B\307 \312\"\= 206=1A=00\313=1C\307 \314\"\206#=00\315=1D\307 \316\"\206-=00=0E=1F=1E \307= \317\"\2068=00=0E!=1E\"\307 \320\"=1E=17\307 \321\"=1E=1D\322=08\n\"=1E#\3= 23\324\307 \325\"\"=1E$=0E=17\203^=00\326\327!\210=0B\203g=00=0D=08\f\"\210= =0E#\330=1E%\211=1E&\203\216=00=0E&@\211=16%=0E$\232\204\205=00\331=0E%=08\= 332#\210=0E&A\211=16&\204r=00*\307 \333\"\203\245=00\334=08\307 \325\"\"\21= 0\331=0E$=08\332#\210=0E=1D\203\256=00\326\335!\210\336 .=0B\207" [project = project-plist exclude-regexp sitemap-p sitemap-filename sitemap-function or= g-publish-initialize-cache plist-get :exclude :auto-sitemap :sitemap-filena= me "sitemap.org" :sitemap-function org-publish-org-sitemap :sitemap-date-fo= rmat :sitemap-file-entry-format :preparation-function :completion-function = org-publish-get-base-files expand-file-name "theindex.org" :base-directory = run-hooks preparation-function nil org-publish-file t :makeindex org-publis= h-index-generate-theindex completion-function org-publish-write-cache-file = org-publish-sitemap-date-format org-sitemap-date-format org-publish-sitemap= -file-entry-format org-sitemap-file-entry-format files theindex file --doli= st-tail--] 6](("indianstatistics-notes" :base-directory "~/indianstatistics= /source/" :base-extension "org" :publishing-directory "~/indianstatistics/w= eb/" :recursive t :publishing-function org-html-publish-to-html :headline-l= evels 2 :auto-preamble t :author "VR" :with-timestamps t :auto-sitemap t :s= itemap-title "Sitemap for www.indianstatistics.org" :sitemap-sort-files ant= i-chronologically :sitemap-file-entry-format "%t (last updated on %d)" :htm= l-postamble "

Statistics on Indian Economy and Society

This page last updated on: %d

Copyrights as specified in http://= www.indianstatistics.org/citation.html.

")) mapc(#[(project) "\306=08@!\210=08A=19\307 \310\"=1A\307 \311\"=1B\307 \3= 12\"\206=1A=00\313=1C\307 \314\"\206#=00\315=1D\307 \316\"\206-=00=0E=1F=1E= \307 \317\"\2068=00=0E!=1E\"\307 \320\"=1E=17\307 \321\"=1E=1D\322=08\n\"= =1E#\323\324\307 \325\"\"=1E$=0E=17\203^=00\326\327!\210=0B\203g=00=0D=08\f= \"\210=0E#\330=1E%\211=1E&\203\216=00=0E&@\211=16%=0E$\232\204\205=00\331= =0E%=08\332#\210=0E&A\211=16&\204r=00*\307 \333\"\203\245=00\334=08\307 \32= 5\"\"\210\331=0E$=08\332#\210=0E=1D\203\256=00\326\335!\210\336 .=0B\207" [= project project-plist exclude-regexp sitemap-p sitemap-filename sitemap-fun= ction org-publish-initialize-cache plist-get :exclude :auto-sitemap :sitema= p-filename "sitemap.org" :sitemap-function org-publish-org-sitemap :sitemap= -date-format :sitemap-file-entry-format :preparation-function :completion-f= unction org-publish-get-base-files expand-file-name "theindex.org" :base-di= rectory run-hooks preparation-function nil org-publish-file t :makeindex or= g-publish-index-generate-theindex completion-function org-publish-write-cac= he-file org-publish-sitemap-date-format org-sitemap-date-format org-publish= -sitemap-file-entry-format org-sitemap-file-entry-format files theindex fil= e --dolist-tail--] 6] (("indianstatistics-notes" :base-directory "~/indians= tatistics/source/" :base-extension "org" :publishing-directory "~/indiansta= tistics/web/" :recursive t :publishing-function org-html-publish-to-html :h= eadline-levels 2 :auto-preamble t :author "VR" :with-timestamps t :auto-sit= emap t :sitemap-title "Sitemap for www.indianstatistics.org" :sitemap-sort-= files anti-chronologically :sitemap-file-entry-format "%t (last updated on = %d)" :html-postamble "

Statistics on Indian Economy and Society

This page last updated on: %d

Copyrights as specified i= n http://www.indianstatistics.org/citation.html.

") ("indianstatistics-s= tatic" :base-directory "~/indianstatistics/source/" :base-extension "css\\|= js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|csv\\|pdf\\|ogg\\|zip\\|gz\\|TXT\\|swf\\= |ico\\|htaccess" :include ("bibliobase_bib.html") :publishing-directory "~/= indianstatistics/web/" :recursive t :publishing-function org-publish-attach= ment))) org-publish-projects((("indianstatistics" :components ("indianstatistics-= notes" "indianstatistics-static")))) org-publish(("indianstatistics" :components ("indianstatistics-notes" "in= dianstatistics-static")) nil) call-interactively(org-publish record nil) command-execute(org-publish record) smex-read-and-run(("eval-buffer" "eval-region" "org-reload" "recover-this= -file" "replace-string" "org-version" "gnus" "org-publish" "org-mobile-push= " "org-e-beamer-export-to-pdf" "org-publish-current-file" "package-list-pac= kages" "org-mobile-pull" "describe-variable" "comment-region" "color-theme-= leuven" "org-toggle-checkbox" "customize-option" "uncomment-region" "R" "lo= ad-file" "artist-mode" "org-e-publish" "org-e-beamer-mode" "kill-buffer" "s= erver-edit" "org-babel-goto-named-result" "calc" "diary" "shell" "ispell" "= diary-mode" "eval-defun" "org-agenda" "find-library" "locate-library" "repl= ace-regexp" "search-forward" "org-publish-all" "org-footnote-action" "org-p= ublish-project" "color-theme-initialize" "list-load-path-shadows" "org-e-od= t-export-as-odf" "org-e-latex-export-to-pdf" "S" "S+" "cd" "df" "5x5" ...)) smex() call-interactively(smex nil nil) --OgqxwSJOaUobr8KG--