Re: [O] odt-export fails

2012-02-25 Thread Mirko Vukovic
The problem was fixed by changing temporary-file-directory from "c:\Users\...\AppData\Local\Temp" to "~/temp/" I am running windows 7. The environment variables TEMP & TMP both point to c:\Users\...\AppData\Local\Temp. I guess that zip/unzip were running in the ~/temp directory, while the files

Re: [O] odt-export fails

2012-02-25 Thread Jambunathan K
Jambunathan K writes: > (setq temporary-file-directory "~/tmp/") You can see how it is set on my Windows XP machine. Basically it some directory under my "My Documents" path. I never had any problems with this setup. ,[ C-h v temporary-file-directory RET ] | temporary-file-directo

Re: [O] odt-export fails

2012-02-25 Thread Jambunathan K
> Hello Jambunathan, > > I do not have the odt document open. Ok. > From the *Message* buffer, it seems that zip is looking for the odt file in > c:\Users\...\AppData\Temp\..., but the file is not present , | > Creating odt file... | > Running zip -mX0 org-odt-export.odt mimetype | > zip wa

Re: [O] odt-export fails

2012-02-25 Thread Mirko Vukovic
Hello Jambunathan, I do not have the odt document open. >From the *Message* buffer, it seems that zip is looking for the odt file in c:\Users\...\AppData\Temp\..., but the file is not present In the org-odt-save-as-outfile let* block from which the error is thrown (let* ((target-name)         (t

Re: [O] odt-export fails

2012-02-25 Thread Jambunathan K
The backtrace is along the expected lines. The zip command is failing for some reason. Did you look at the *Messages* buffer? It is likely to give some clue on why the zip command is failing. Btw, if you have "cvd-modeling-proposal.odt" already open in an external application like LibreOffice, y

[O] odt-export fails

2012-02-24 Thread Mirko Vukovic
Hello: This is on Windows 7 Emacs 23.3.1, org-version 7.8.03.  (I installed org-mode inside cygwin's shell). Here is the backtrace: Debugger entered--Lisp error: (error "Unable to create odt file (12)") signal(error ("Unable to create odt file (12)")) error("Unable to create odt file (%S)" 1