emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: can't export org file with tables to html [7.01trans]
@ 2010-10-27 13:29 Uwe Brauer
  2010-10-27 13:48 ` Noorul Islam
  2010-10-27 14:09 ` Nick Dokos
  0 siblings, 2 replies; 9+ messages in thread
From: Uwe Brauer @ 2010-10-27 13:29 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 719 bytes --]


Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

     http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.
------------------------------------------------------------------------

Hello 

I have an org file of the form 

| Nom                       | e-mail                           | Téléphone   |
|---------------------------+----------------------------------+-------------|
| Uwe Brauer                | oub.oub.oub@gmail.com            | 123 456 789 |
when I try to export it to html I obtain an error, whose trace I attach
(debug-on-error t)

Uwe Brauer 


[-- Attachment #2: org-html-bug3 --]
[-- Type: application/octet-stream, Size: 13559 bytes --]

Debugger entered--Lisp error: (wrong-type-argument stringp #<compiled-function (txt) "...(28)" [aligns no-css txt org-export-html-table-align-individual-fields n "" string-to-number match-string 1 format " align=\"%s\"" " class=\"%s\"" "left"] 4>)
  wrong-type-argument(stringp #<compiled-function (txt) "...(28)" [aligns no-css txt org-export-html-table-align-individual-fields n "" string-to-number match-string 1 format " align=\"%s\"" " class=\"%s\"" "left"] 4>)
  replace-in-string("<table border=\"2\" cellspacing=\"0\" cellpadding=\"6\" rules=\"groups\" frame=\"hsides\">" "@@class\\([0-9]+\\)@@" #<compiled-function (txt) "...(28)" [aligns no-css txt org-export-html-table-align-individual-fields n "" string-to-number match-string 1 format " align=\"%s\"" " class=\"%s\"" "left"] 4> nil)
  replace-regexp-in-string("@@class\\([0-9]+\\)@@" #<compiled-function (txt) "...(28)" [aligns no-css txt org-export-html-table-align-individual-fields n "" string-to-number match-string 1 format " align=\"%s\"" " class=\"%s\"" "left"] 4> "<table border=\"2\" cellspacing=\"0\" cellpadding=\"6\" rules=\"groups\" frame=\"hsides\">")
  #<compiled-function (x) "...(6)" [x replace-regexp-in-string "@@class\\([0-9]+\\)@@" #<compiled-function ... "...(28)" ... 4>] 4>("<table border=\"2\" cellspacing=\"0\" cellpadding=\"6\" rules=\"groups\" frame=\"hsides\">")
  mapcar(#<compiled-function (x) "...(6)" [x replace-regexp-in-string "@@class\\([0-9]+\\)@@" #<compiled-function ... "...(28)" ... 4>] 4> ("<table border=\"2\" cellspacing=\"0\" cellpadding=\"6\" rules=\"groups\" frame=\"hsides\">" "<caption></caption>" "<colgroup><col class=\"left\" /><col class=\"left\" /><col class=\"left\" />" "</colgroup>" "<thead>" "<tr><th scope=\"col\"@@class000@@>Nom</th><th scope=\"col\"@@class001@@>e-mail</th><th scope=\"col\"@@class002@@>Téléphone</th></tr>" "</thead>" "<tbody>" "<tr><td@@class000@@>Elena Fernandez</td><td@@class001@@>fernandez.garcia.elena@gmail.com</td><td@@class002@@>650 330 506</td></tr>" "<tr><td@@class000@@>Maria Alameda</td><td@@class001@@>ma<sub>alameda</sub>@hotmail.com</td><td@@class002@@>650 830 036</td></tr>" "<tr><td@@class000@@>Paloma Sangro Alcázar</td><td@@class001@@>pasangro@msn.com</td><td@@class002@@>670 913 135</td></tr>" "<tr><td@@class000@@>José Manual Yagüe Sevilla</td><td@@class001@@>yaguetala@hotmail.com</td><td@@class002@@>653 442 316</td></tr>" "<tr><td@@class000@@>Federico Olmedo</td><td@@class001@@>federico1983@gmail.com</td><td@@class002@@>615 012 076</td></tr>" "<tr><td@@class000@@>Eugenio Quintar</td><td@@class001@@>eqmorillo@hotmail.com</td><td@@class002@@>600 532 111</td></tr>" "<tr><td@@class000@@>Leyre Sanjuro</td><td@@class001@@>lyre.sanjurjo@gmail.com</td><td@@class002@@>685 251 313</td></tr>" "<tr><td@@class000@@>Uwe Brauer</td><td@@class001@@>oub.oub.oub@gmail.com</td><td@@class002@@>634 530 303</td></tr>" "<tr><td@@class000@@>Luis Calvo</td><td@@class001@@>mulenno@hotmail.com</td><td@@class002@@>646 500 564</td></tr>" "</tbody>" "</table>\n"))
  org-format-org-table-html(("| Nom                       | e-mail                           | Téléphone   |" "|---------------------------+----------------------------------+-------------|" "| Elena Fernandez           | fernandez.garcia.elena@gmail.com | 650 330 506 |" "| Maria Alameda             | ma<sub>alameda</sub>@hotmail.com           | 650 830 036 |" "| Paloma Sangro Alcázar     | pasangro@msn.com                 | 670 913 135 |" "| José Manual Yagüe Sevilla | yaguetala@hotmail.com            | 653 442 316 |" "| Federico Olmedo           | federico1983@gmail.com           | 615 012 076 |" "| Eugenio Quintar           | eqmorillo@hotmail.com            | 600 532 111 |" "| Leyre Sanjuro             | lyre.sanjurjo@gmail.com          | 685 251 313 |" "| Uwe Brauer                | oub.oub.oub@gmail.com            | 634 530 303 |" "| Luis Calvo                | mulenno@hotmail.com              | 646 500 564 |") nil nil)
  org-format-table-html(("| Nom                       | e-mail                           | Téléphone   |" "|---------------------------+----------------------------------+-------------|" "| Elena Fernandez           | fernandez.garcia.elena@gmail.com | 650 330 506 |" "| Maria Alameda             | ma<sub>alameda</sub>@hotmail.com           | 650 830 036 |" "| Paloma Sangro Alcázar     | pasangro@msn.com                 | 670 913 135 |" "| José Manual Yagüe Sevilla | yaguetala@hotmail.com            | 653 442 316 |" "| Federico Olmedo           | federico1983@gmail.com           | 615 012 076 |" "| Eugenio Quintar           | eqmorillo@hotmail.com            | 600 532 111 |" "| Leyre Sanjuro             | lyre.sanjurjo@gmail.com          | 685 251 313 |" "| Uwe Brauer                | oub.oub.oub@gmail.com            | 634 530 303 |" "| Luis Calvo                | mulenno@hotmail.com              | 646 500 564 |") ("| Nom                       | e-mail                           | Téléphone   |" "|---------------------------+----------------------------------+-------------|" "| Elena Fernandez           | fernandez.garcia.elena@gmail.com | 650 330 506 |" "| Maria Alameda             | ma_alameda@hotmail.com           | 650 830 036 |" "| Paloma Sangro Alcázar     | pasangro@msn.com                 | 670 913 135 |" "| José Manual Yagüe Sevilla | yaguetala@hotmail.com            | 653 442 316 |" "| Federico Olmedo           | federico1983@gmail.com           | 615 012 076 |" "| Eugenio Quintar           | eqmorillo@hotmail.com            | 600 532 111 |" "| Leyre Sanjuro             | lyre.sanjurjo@gmail.com          | 685 251 313 |" "| Uwe Brauer                | oub.oub.oub@gmail.com            | 634 530 303 |" "| Luis Calvo                | mulenno@hotmail.com              | 646 500 564 |"))
  byte-code("..." [local-list-type type start desc path line string-match "^\\*+ " "</pre>\n" org-open-par nil org-html-protect "\n" throw nextline "^[ 	]*:\\(\\([ 	]\\|$\\)\\(.*\\)\\)" t org-close-par-maybe "<pre class=\"example\">\n" match-string 3 "ORG-LIST-END" org-close-li format "</%sl>\n" get-text-property 0 org-protected original-indentation re-search-backward "\\(<p>\\)\\([ 	\r\n]*\\)\\=" 100 1 replace-match "\\2\n" "<p>\n" "ORG-BLOCKQUOTE-START" "<blockquote>\n" "ORG-BLOCKQUOTE-END" "\n</blockquote>\n" "ORG-VERSE-START" "\n<p class=\"verse\">\n" "ORG-VERSE-END" "</p>\n" "ORG-CENTER-START" "\n<div style=\"text-align: center\">" "ORG-CENTER-END" "\n</div>" run-hooks org-export-html-after-blockquotes-hook ...] 12)
  org-export-as-html(nil)
  call-interactively(org-export-as-html)
  org-export(nil)
  call-interactively(org-export)
  recursive-edit()
  byte-code("..." [buffer-read-only noninteractive debugger-buffer middlestart debugger-args debugger-batch-max-lines pop-to-buffer debugger-mode debugger-setup-buffer count-lines 2 "...\n" message buffer-string kill-emacs debug backtrace-debug 3 t debugger-reenable "" nil recursive-edit standard-output] 3)
  debug(error (wrong-type-argument stringp #<compiled-function (txt) "...(28)" [aligns no-css txt org-export-html-table-align-individual-fields n "" string-to-number match-string 1 format " align=\"%s\"" " class=\"%s\"" "left"] 4>))
  wrong-type-argument(stringp #<compiled-function (txt) "...(28)" [aligns no-css txt org-export-html-table-align-individual-fields n "" string-to-number match-string 1 format " align=\"%s\"" " class=\"%s\"" "left"] 4>)
  replace-in-string("<table border=\"2\" cellspacing=\"0\" cellpadding=\"6\" rules=\"groups\" frame=\"hsides\">" "@@class\\([0-9]+\\)@@" #<compiled-function (txt) "...(28)" [aligns no-css txt org-export-html-table-align-individual-fields n "" string-to-number match-string 1 format " align=\"%s\"" " class=\"%s\"" "left"] 4> nil)
  replace-regexp-in-string("@@class\\([0-9]+\\)@@" #<compiled-function (txt) "...(28)" [aligns no-css txt org-export-html-table-align-individual-fields n "" string-to-number match-string 1 format " align=\"%s\"" " class=\"%s\"" "left"] 4> "<table border=\"2\" cellspacing=\"0\" cellpadding=\"6\" rules=\"groups\" frame=\"hsides\">")
  #<compiled-function (x) "...(6)" [x replace-regexp-in-string "@@class\\([0-9]+\\)@@" #<compiled-function ... "...(28)" ... 4>] 4>("<table border=\"2\" cellspacing=\"0\" cellpadding=\"6\" rules=\"groups\" frame=\"hsides\">")
  mapcar(#<compiled-function (x) "...(6)" [x replace-regexp-in-string "@@class\\([0-9]+\\)@@" #<compiled-function ... "...(28)" ... 4>] 4> ("<table border=\"2\" cellspacing=\"0\" cellpadding=\"6\" rules=\"groups\" frame=\"hsides\">" "<caption></caption>" "<colgroup><col class=\"left\" /><col class=\"left\" /><col class=\"left\" />" "</colgroup>" "<thead>" "<tr><th scope=\"col\"@@class000@@>Nom</th><th scope=\"col\"@@class001@@>e-mail</th><th scope=\"col\"@@class002@@>Téléphone</th></tr>" "</thead>" "<tbody>" "<tr><td@@class000@@>Elena Fernandez</td><td@@class001@@>fernandez.garcia.elena@gmail.com</td><td@@class002@@>650 330 506</td></tr>" "<tr><td@@class000@@>Maria Alameda</td><td@@class001@@>ma<sub>alameda</sub>@hotmail.com</td><td@@class002@@>650 830 036</td></tr>" "<tr><td@@class000@@>Paloma Sangro Alcázar</td><td@@class001@@>pasangro@msn.com</td><td@@class002@@>670 913 135</td></tr>" "<tr><td@@class000@@>José Manual Yagüe Sevilla</td><td@@class001@@>yaguetala@hotmail.com</td><td@@class002@@>653 442 316</td></tr>" "<tr><td@@class000@@>Federico Olmedo</td><td@@class001@@>federico1983@gmail.com</td><td@@class002@@>615 012 076</td></tr>" "<tr><td@@class000@@>Eugenio Quintar</td><td@@class001@@>eqmorillo@hotmail.com</td><td@@class002@@>600 532 111</td></tr>" "<tr><td@@class000@@>Leyre Sanjuro</td><td@@class001@@>lyre.sanjurjo@gmail.com</td><td@@class002@@>685 251 313</td></tr>" "<tr><td@@class000@@>Uwe Brauer</td><td@@class001@@>oub.oub.oub@gmail.com</td><td@@class002@@>634 530 303</td></tr>" "<tr><td@@class000@@>Luis Calvo</td><td@@class001@@>mulenno@hotmail.com</td><td@@class002@@>646 500 564</td></tr>" "</tbody>" "</table>\n"))
  org-format-org-table-html(("| Nom                       | e-mail                           | Téléphone   |" "|---------------------------+----------------------------------+-------------|" "| Elena Fernandez           | fernandez.garcia.elena@gmail.com | 650 330 506 |" "| Maria Alameda             | ma<sub>alameda</sub>@hotmail.com           | 650 830 036 |" "| Paloma Sangro Alcázar     | pasangro@msn.com                 | 670 913 135 |" "| José Manual Yagüe Sevilla | yaguetala@hotmail.com            | 653 442 316 |" "| Federico Olmedo           | federico1983@gmail.com           | 615 012 076 |" "| Eugenio Quintar           | eqmorillo@hotmail.com            | 600 532 111 |" "| Leyre Sanjuro             | lyre.sanjurjo@gmail.com          | 685 251 313 |" "| Uwe Brauer                | oub.oub.oub@gmail.com            | 634 530 303 |" "| Luis Calvo                | mulenno@hotmail.com              | 646 500 564 |") nil nil)
  org-format-table-html(("| Nom                       | e-mail                           | Téléphone   |" "|---------------------------+----------------------------------+-------------|" "| Elena Fernandez           | fernandez.garcia.elena@gmail.com | 650 330 506 |" "| Maria Alameda             | ma<sub>alameda</sub>@hotmail.com           | 650 830 036 |" "| Paloma Sangro Alcázar     | pasangro@msn.com                 | 670 913 135 |" "| José Manual Yagüe Sevilla | yaguetala@hotmail.com            | 653 442 316 |" "| Federico Olmedo           | federico1983@gmail.com           | 615 012 076 |" "| Eugenio Quintar           | eqmorillo@hotmail.com            | 600 532 111 |" "| Leyre Sanjuro             | lyre.sanjurjo@gmail.com          | 685 251 313 |" "| Uwe Brauer                | oub.oub.oub@gmail.com            | 634 530 303 |" "| Luis Calvo                | mulenno@hotmail.com              | 646 500 564 |") ("| Nom                       | e-mail                           | Téléphone   |" "|---------------------------+----------------------------------+-------------|" "| Elena Fernandez           | fernandez.garcia.elena@gmail.com | 650 330 506 |" "| Maria Alameda             | ma_alameda@hotmail.com           | 650 830 036 |" "| Paloma Sangro Alcázar     | pasangro@msn.com                 | 670 913 135 |" "| José Manual Yagüe Sevilla | yaguetala@hotmail.com            | 653 442 316 |" "| Federico Olmedo           | federico1983@gmail.com           | 615 012 076 |" "| Eugenio Quintar           | eqmorillo@hotmail.com            | 600 532 111 |" "| Leyre Sanjuro             | lyre.sanjurjo@gmail.com          | 685 251 313 |" "| Uwe Brauer                | oub.oub.oub@gmail.com            | 634 530 303 |" "| Luis Calvo                | mulenno@hotmail.com              | 646 500 564 |"))
  byte-code("..." [local-list-type type start desc path line string-match "^\\*+ " "</pre>\n" org-open-par nil org-html-protect "\n" throw nextline "^[ 	]*:\\(\\([ 	]\\|$\\)\\(.*\\)\\)" t org-close-par-maybe "<pre class=\"example\">\n" match-string 3 "ORG-LIST-END" org-close-li format "</%sl>\n" get-text-property 0 org-protected original-indentation re-search-backward "\\(<p>\\)\\([ 	\r\n]*\\)\\=" 100 1 replace-match "\\2\n" "<p>\n" "ORG-BLOCKQUOTE-START" "<blockquote>\n" "ORG-BLOCKQUOTE-END" "\n</blockquote>\n" "ORG-VERSE-START" "\n<p class=\"verse\">\n" "ORG-VERSE-END" "</p>\n" "ORG-CENTER-START" "\n<div style=\"text-align: center\">" "ORG-CENTER-END" "\n</div>" run-hooks org-export-html-after-blockquotes-hook ...] 12)
  org-export-as-html(nil)
  call-interactively(org-export-as-html)
  org-export(nil)
  call-interactively(org-export)

[-- Attachment #3: Type: text/plain, Size: 2732 bytes --]




Emacs  : XEmacs 21.4 (patch 21) "Educational Television" [Lucid] (i486-linux-gnu, Mule) of Sat Aug  2 2008 on palmer
Package: Org-mode version 7.01trans

current state:
==============
(setq
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines
				  org-optimize-window-after-visibility-change)
 org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook)
 outline-mode-hook '(hide-body)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe
					  org-babel-hide-result-toggle-maybe)
 org-export-blocks-postblock-hook '(org-exp-res/src-name-cleanup)
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-babel-pre-tangle-hook '(save-buffer)
 outline-regexp "  [A-Z,0-9,-]*:1.1"
 org-mode-hook '(#<compiled-function nil "...(7)"
				 [org-add-hook change-major-mode-hook org-show-block-all append local] 5> #<compiled-function
				 nil "...(7)" [org-add-hook change-major-mode-hook org-babel-show-result-all append local] 5>
				 org-babel-result-hide-spec org-babel-hide-all-hashes my-org-keys turn-on-flyspell
				 iso-accents-mode turn-on-auto-capitalize-mode)
 org-export-preprocess-before-normalizing-links-hook '(org-remove-file-link-modifiers)
 org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code)
 outline-minor-mode-hook '((lambda nil (local-set-key [(shift return)] (quote hide-body))))
 org-export-preprocess-after-include-files-hook '(org-export-blocks-preprocess)
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe)
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-agenda-include-diary t
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc org-beamer-auto-fragile-frames
							   org-beamer-place-default-actions-for-lists)
 org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer)
 org-export-latex-format-toc-function 'org-export-latex-format-toc-default
 org-confirm-shell-link-function 'yes-or-no-p
 org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-export-first-hook '(org-beamer-initialize-open-trackers)
 org-export-interblocks '((lob org-babel-exp-lob-one-liners) (src org-babel-exp-inline-src-blocks))
 org-export-blocks '((src org-babel-exp-src-blocks nil) (comment org-export-blocks-format-comment t)
					 (ditaa org-export-blocks-format-ditaa nil) (dot org-export-blocks-format-dot nil))
 org-occur-hook '(org-first-headline-recenter)
 org-table-default-size "3x3"
 )

[-- Attachment #4: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

end of thread, other threads:[~2010-10-27 17:09 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-27 13:29 Bug: can't export org file with tables to html [7.01trans] Uwe Brauer
2010-10-27 13:48 ` Noorul Islam
2010-10-27 14:09 ` Nick Dokos
2010-10-27 14:30   ` Nick Dokos
2010-10-27 15:07     ` Uwe Brauer
2010-10-27 16:38       ` Carsten Dominik
2010-10-27 17:09         ` Uwe Brauer
2010-10-27 15:24     ` solved; sort of (was: Bug: can't export org file with tables to html [7.01trans]) Uwe Brauer
2010-10-27 15:04   ` Bug: can't export org file with tables to html [7.01trans] Uwe Brauer

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