emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Testing org-export-as-odt-and-open
@ 2011-09-24 22:41 Eric Belpaire
  2011-09-25 19:08 ` Jambunathan K
  0 siblings, 1 reply; 7+ messages in thread
From: Eric Belpaire @ 2011-09-24 22:41 UTC (permalink / raw)
  To: emacs-orgmode

Hello 

I'm testing org-export-as-odt-and-open on Jambunathan's test.org file. 
I get error message "Unable to create odt file (53)". 

Is this caused by the fact that files are created in different directories?
a) org-export-as-odt-and-open creates the file e:/User/home/pub_html/test.odt
wheras 
b) the xml files are written in directory c:/Documents and
Settings/GCVD3476/Local Settings/Temp/odt-4928fzB/

The debugger is entered when: Creating odt file using "zip -rmTq test.odt ."

Did I forget to configure some variable or should I configure variable
org-export-publishing-directory (currently: "e:/User/home/pub_html/") 
differently? 

Below an extract from *Messages* and *Backtrace* buffers. 

Cordially, 
Eric 

Export buffer: 
Exporting to ODT using org-lparse...
Using vacuous schema [3 times]
c:/DOCUME~1/User/LOCALS~1/Temp/odt-4928fzB/content.xml and 
c:/Documents and Settings/User/Local Settings/Temp/odt-4928fzB/content.xml
are the same file
org-babel-exp processing... [3 times]
Position saved to mark ring, go back with C-c &.
executing Org code block...
"* Some Appointment
  SCHEDULED: <2010-11-17 Wed>"
org-babel-exp processing...
Use of MathJax is incompatible with ODT exporter. Using verbatim instead.
Exporting...
Embedding ./org-mode-unicorn.png as
Pictures/691b2c669141aa68f784d83e5c853f2b350b445f.png ... [5 times]
Found table.el-type table in the source org file. table.el doesn't support ODT
backend. Skipping ahead ... [2 times]
Using schema
~/.emacs.d/elpa/org-odt-20110702/contrib/odt/etc/schema/od-schema-v1.2-cs01.rnc
ODT export done, pushed to kill ring and clipboard
Using schema
~/.emacs.d/elpa/org-odt-20110702/contrib/odt/etc/schema/od-schema-v1.2-cs01.rnc
(No changes need to be saved)
Switching to directory c:/Documents and Settings/User/Local
Settings/Temp/odt-4928fzB/
Saving file c:/Documents and Settings/User/Local
Settings/Temp/odt-4928fzB/META-INF/manifest.xml...
Wrote c:/Documents and Settings/User/Local
Settings/Temp/odt-4928fzB/META-INF/manifest.xml
Saving file c:/Documents and Settings/User/Local
Settings/Temp/odt-4928fzB/content.xml...
Wrote c:/Documents and Settings/User/Local Settings/Temp/odt-4928fzB/content.xml
Saving file c:/Documents and Settings/User/Local
Settings/Temp/odt-4928fzB/meta.xml...
Wrote c:/Documents and Settings/User/Local Settings/Temp/odt-4928fzB/meta.xml
Saving file c:/Documents and Settings/User/Local
Settings/Temp/odt-4928fzB/styles.xml...
Wrote c:/Documents and Settings/User/Local Settings/Temp/odt-4928fzB/styles.xml
Creating odt file using "zip -rmTq test.odt ."
Entering debugger...


Debugger entered--Lisp error: (error "Unable to create odt file (53)")
  signal(error ("Unable to create odt file (53)"))
  error("Unable to create odt file (%S)" 53)
  org-odt-save-as-outfile("e:/User/home/pub_html/test.odt" 
(:latex-image-options nil :exclude-tags ("noexport") :select-tags ("export")
:publishing-directory "~/pub_html" :timestamp nil :expand-quoted-html t 
:html-table-tag "<tableborder=\"2\" cellspacing=\"0\" cellpadding=\"6\" 
rules=\"groups\" frame=\"hsides\">" 
:xml-declaration (("html" . "<?xml version=\"1.0\" encoding=\"%s\"?>") 
("php" . "<?php echo \"<?xml version=\\\"1.0\\\"
encoding=\\\"%s\\\" ?>\"; ?>")) :html-postamble auto :html-preamble t
:html-extension "html" :inline-images maybe :convert-org-links t :agenda-style
"" :style-extra "" :style "" :style-include-scripts t :style-include-default t
:table-auto-headline t :tables t :time-stamp-file t :creator-info t :email-info
nil :author-info t :email "kjambunathan@gmail.com" ...))
  org-do-lparse(nil hidden nil nil nil nil)
  org-lparse("odt" "odt" nil hidden)
  org-lparse-and-open("odt" "odt" nil)
  org-export-as-odt-and-open(nil)
  call-interactively(org-export-as-odt-and-open)
  org-export(nil)
  call-interactively(org-export nil nil) 

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

end of thread, other threads:[~2011-10-10 11:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-24 22:41 Testing org-export-as-odt-and-open Eric Belpaire
2011-09-25 19:08 ` Jambunathan K
2011-09-26 22:13   ` Eric Belpaire
2011-10-09 16:23   ` Eric Belpaire
2011-10-09 19:51     ` Jambunathan K
2011-10-10  7:13       ` Eric Belpaire
2011-10-10 11:54         ` Jambunathan K

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