From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ista Zahn Subject: Re: New exporter (org-e-odt) not creating content.xml Date: Tue, 27 Nov 2012 09:55:18 -0500 Message-ID: References: <1354005623.49791.YahooMailNeo@web29805.mail.ird.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:48018) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdMZk-0003O1-1O for emacs-orgmode@gnu.org; Tue, 27 Nov 2012 09:55:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TdMZX-0005Yz-Oh for emacs-orgmode@gnu.org; Tue, 27 Nov 2012 09:55:51 -0500 Received: from mail-yh0-f41.google.com ([209.85.213.41]:34485) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdMZX-0005Ys-Ik for emacs-orgmode@gnu.org; Tue, 27 Nov 2012 09:55:39 -0500 Received: by mail-yh0-f41.google.com with SMTP id 47so2348277yhr.0 for ; Tue, 27 Nov 2012 06:55:39 -0800 (PST) In-Reply-To: <1354005623.49791.YahooMailNeo@web29805.mail.ird.yahoo.com> 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: Giovanni Ridolfi Cc: Rainer Stengele , emacs-orgmode Mailinglist , Jambunathan K Hi all, On Tue, Nov 27, 2012 at 3:40 AM, Giovanni Ridolfi wrote: > Hi, Ista, > > > Da: Ista Zahn > Inviato: Luned=EC 26 Novembre 2012 23:44 > >> I can't seem to get the new odt exporter working on my Windows machine >> at work (it works fine on Linux at home). > [...] > >> So it seems that the new exporter is not creating content.xml, or >> META-INF/manifest.xml. Again this only happens on Windows. It is >> reproducible every time, and is reproducible starting with emacs -q >> and then loading only org and org-e-odt. > >> > >> Specifically, when I call >> 'M-x export-dispatch o o' I get an odt archive with the following >> contents. >> >> M Filemode Length Date Time File >>- ---------- -------- ----------- -------- ---------- >> -rw-rw-rw- 39 26-Nov-2012 17:31:16 mimetype >> drwxrwxrwx 0 26-Nov-2012 17:31:16 meta-inf/ >> -rw-rw-rw- 782 26-Nov-2012 17:31:16 meta.xml >> -rw-rw-rw- 66559 26-Nov-2012 17:31:16 styles.xml >>- ---------- -------- ----------- -------- ---------- >> 67380 4 files > > Like Rainer I cannot reproduce. > > what is > - your org-version ? 'M-org-version' produces Org-mode version N/A (N/A @ c:/Documents and Settings/IZAHN/.emacs.d/izahn/org-mode/lisp/) but this is orgmode from git, updated yesterday. > - emacs version? GNU Emacs 24.2.1 (i386-mingw-nt5.1.2600) of 2012-08-28 on MARVIN > - are you under cygwin ? I have cygwin installed, but emacs is the windows version from http://ftp.gnu.org/gnu/emacs/windows/ The OS is Windows XP professional with service pack 3. > > Here: > Org-mode version 7.9.2 (d344fda @ > GNU Emacs 24.2.1 (i386-mingw-nt6.1.7601) of 2012-08-29 on MARVIN > Windows 7 > > with my .emacs: > (require 'org) > ... > (require 'org-export) > (require 'org-e-odt) I started emacs with emacs -q and evaluated the following lines with 'C-x-e= ': ;; Look recursively in .emacs.d for elisp files and packages (let ((default-directory "~/.emacs.d/")) (normal-top-level-add-to-load-path '(".")) (normal-top-level-add-subdirs-to-load-path)) ;; just to make sure... (mapc (lambda (path) (add-to-list 'load-path path)) '("~/.emacs.d/elpa/elnode-0.9.9" "~/.emacs.d/izahn/org-mode/lisp" "~/.emacs.d/izahn/org-mode/contrib/lisp" "~/.emacs.d/izahn/org-ehtml/src" "~/.emacs.d/izahn/org-ehtml/test/lisp")) (require 'org) (require 'org-export) (require 'org-e-odt) > .... > > I call with M-x export-dispatch 3 o o > (3 is to select the subtree) I also tried selecting just the subtree, with the same results, i.e., no content.xml > > With this subtree: > ----------------------------------- > *** test > test B /b/ *g* +Carsten+ > **** test 2 > hello > --------------------------------------- > > **** *Message* buffer: > Using vacuous schema > Unknown LaTeX option. Forcing verbatim. > Formatting LaTeX using verbatim > Wrote c:/Users/. ./AppData/Local/Temp/odt-3456fvm/meta.xml > Using schema c:/Users/. ./programs/emacs-o/org/etc/schema/od-schema-v1.2-= cs01.rnc [2 times] > Saving file c:/Users/. ./AppData/Local/Temp/odt-3456fvm/styles.xml... > Wrote c:/Users/. ./AppData/Local/Temp/odt-3456fvm/styles.xml > Wrote c:/Users/. ./AppData/Local/Temp/odt-3456fvm/mimetype > Using vacuous schema > Saving file c:/Users/. ./AppData/Local/Temp/odt-3456fvm/META-INF/manifest= .xml... > Wrote c:/Users/. ./AppData/Local/Temp/odt-3456fvm/META-INF/manifest.xml > Saving file c:/Users/. ./AppData/Local/Temp/odt-3456fvm/content.xml... > Wrote c:/Users/. ./AppData/Local/Temp/odt-3456fvm/content.xml > (No changes need to be saved) > Creating ODT file... > Running c:/Users/. ./programs/zip/bin/zip -mX0 test.odt mimetype > Running c:/Users/. ./programs/zip/bin/zip -rmTq test.odt . > Created c:/Users/. ./AppData/Roaming/test.odt > Parsing archive file...done. My *Messages* buffer shows Using vacuous schema OVERVIEW LaTeX to MathML converter not available. Formatting LaTeX using verbatim Wrote c:/DOCUME~1/IZAHN/LOCALS~1/Temp/odt-3688Mws/meta.xml Using schema ~/.emacs.d/izahn/org-mode/etc/schema/od-schema-v1.2-cs01.rnc [2 times] Saving file c:/Documents and Settings/IZAHN/Local Settings/Temp/odt-3688Mws/styles.xml... Wrote c:/Documents and Settings/IZAHN/Local Settings/Temp/odt-3688Mws/style= s.xml Wrote c:/DOCUME~1/IZAHN/LOCALS~1/Temp/odt-3688Mws/mimetype Using vacuous schema Creating ODT file... Running zip -mX0 test.odt mimetype Running zip -rmTq test.odt . Created c:/Documents and Settings/IZAHN/Desktop/test.odt Parsing archive file...done. > > > **** file test.odt: > > M Filemode Length Date Time File > - ---------- -------- ----------- -------- --------------------- > -rw-rw-rw- 39 27-Nov-2012 09:23:16 mimetype > -rw-rw-rw- 21823 27-Nov-2012 09:23:16 content.xml > drwxrwxrwx 0 27-Nov-2012 09:23:16 meta-inf/ > -rw-rw-rw- 573 27-Nov-2012 09:23:16 META-INF/manifest.xml > -rw-rw-rw- 818 27-Nov-2012 09:23:16 meta.xml > -rw-rw-rw- 66559 27-Nov-2012 09:23:16 styles.xml > - ---------- -------- ----------- -------- --------------------- > 89812 6 files > My test.odt still shows M Filemode Length Date Time File - ---------- -------- ----------- -------- ---------- -rw-rw-rw- 39 27-Nov-2012 09:51:56 mimetype drwxrwxrwx 0 27-Nov-2012 09:51:56 meta-inf/ -rw-rw-rw- 782 27-Nov-2012 09:51:56 meta.xml -rw-rw-rw- 66559 27-Nov-2012 09:51:56 styles.xml - ---------- -------- ----------- -------- ---------- 67380 4 files Also, I just noticed that a content.xml buffer is created, with what looks like the correct content. It's just not making it into the .odt archive! Thanks for any further pointers! Ista > > cheers, > Giovanni