* "can't open -mX0 blog.odt mimetype" error during org-odt export
@ 2014-05-19 6:50 Dushyant Juneja
2014-05-19 7:22 ` Dushyant Juneja
[not found] ` <87mwedosv0.fsf@gmail.com>
0 siblings, 2 replies; 3+ messages in thread
From: Dushyant Juneja @ 2014-05-19 6:50 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 249 bytes --]
Hi,
I seriously hope someone has encountered this error... I get the above
during org export to odt file. Pic attached.
Any suggestions? I tried running zip through cmd line, the GUI opens fine
but with the same error again. :(
Regards,
Dushyant
[-- Attachment #2: Capture.PNG --]
[-- Type: image/png, Size: 19069 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: "can't open -mX0 blog.odt mimetype" error during org-odt export
2014-05-19 6:50 "can't open -mX0 blog.odt mimetype" error during org-odt export Dushyant Juneja
@ 2014-05-19 7:22 ` Dushyant Juneja
[not found] ` <87mwedosv0.fsf@gmail.com>
1 sibling, 0 replies; 3+ messages in thread
From: Dushyant Juneja @ 2014-05-19 7:22 UTC (permalink / raw)
To: help-gnu-emacs
FYI, this (
http://lists.gnu.org/archive/html/emacs-orgmode/2012-02/msg00905.html) did
not help me either.
Regards,
Dushyant Juneja
Analog Devices, Inc. (India)
On Mon, May 19, 2014 at 12:20 PM, Dushyant Juneja <juneja.dushyant@gmail.com
> wrote:
> Hi,
>
> I seriously hope someone has encountered this error... I get the above
> during org export to odt file. Pic attached.
>
> Any suggestions? I tried running zip through cmd line, the GUI opens fine
> but with the same error again. :(
>
> Regards,
> Dushyant
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: "can't open -mX0 blog.odt mimetype" error during org-odt export
[not found] ` <87egzoq4yv.fsf@gmail.com>
@ 2014-05-20 8:10 ` Dushyant Juneja
0 siblings, 0 replies; 3+ messages in thread
From: Dushyant Juneja @ 2014-05-20 8:10 UTC (permalink / raw)
To: Jambunathan K, help-gnu-emacs
Thanks! That helped. This is what worked for me (Win 7, 64b system):
Zip binary @ http://downloads.sourceforge.net/gnuwin32/zip-3.0-setup.exe
Unzip binary @
http://sourceforge.net/projects/gnuwin32/files/unzip/5.51-1/unzip-5.51-1.exe/download
Added these to Windows PATH (Computer > Advanced Settings > Environment
Variables > PATH > Edit)
Added these to emacs PATH (M-x customize-variable RET exec-path RET, then
add the installation paths there)
Finally, C-c C-e o o works peacefully.
Long path, hopefully would be worth the trouble!
Thanks Jambunathan for the help!
Regards,
Dushyant Juneja
Analog Devices, Inc. (India)
On Tue, May 20, 2014 at 1:03 PM, Jambunathan K <kjambunathan@gmail.com>wrote:
>
> Locate where zip is located and add that path to Window's PATH
> environment variable. (You may have to restart emacs).
>
> Or
>
> You can do
>
> M-x customize-variable exec-path
>
> and the required path there.
>
> Dushyant Juneja <juneja.dushyant@gmail.com> writes:
>
> > Hi Jambunathan,
> >
> > Thanks for your help. Indeed, I did not realize I was using the wrong
> > version of the utility.
> >
> > I am now faced with a new error, though. I get the following in my
> > messages buffer:
> > --------------
> > OpenDocument export failed: Executable "zip" needed for creating
> > OpenDocument files
> > --------------
> >
> > However, M-x shell gives the following output for zip --version (which
> > shows zip exists in the PATH):
> > ----------------
> > c:\Windows\system32>zip --version
> > zip --version
> > Copyright (c) 1990-2008 Info-ZIP - Type 'zip "-L"' for software
> > license.
> > This is Zip 3.0 (July 5th 2008), by Info-ZIP.
> > Currently maintained by E. Gordon. Please send bug reports to
> > the authors using the web page at www.info-zip.org; see README for
> > details.
> >
> > Latest sources and executables are at
> > ftp://ftp.info-zip.org/pub/infozip,
> > as of above date; see http://www.info-zip.org/ for other sites.
> >
> > Compiled with mingw32 / gcc 3.4.5 (mingw-vista special r3) for
> > Windows 9x / Windows NT (32-bit) on Jul 13 2008.
> > ----------------------
> >
> > It seems emacs is not taking into account the windows path, or better
> > said, ox-odt is not accounting it. Shell seems to behave as expected.
> > I could even produce a odt file manually from the temp folder it
> > created during export.
> >
> > Any ideas what might be failing?
> >
> > Regards,
> > Dushyant Juneja
> >
> > On Tue, May 20, 2014 at 12:10 PM, Jambunathan K
> > <kjambunathan@gmail.com> wrote:
> >
> > You need to have the correct 'zip' program (See below). Look for a
> > port
> > on your specific platform. You may also want to install the
> > `unzip'.
> >
> > In your case, the command 'zip' is being hijacked by a program
> > called
> > Wiz which is either incompatible with or totally different from
> > the
> > standard zip. (I picked 'Wiz' from the Window name on your
> > screenshot.
> > It could be something else.)
> >
> > ----------------------------------------------------------------
> >
> > kjambunathan@debian-6:~$ zip --version
> > Copyright (c) 1990-2008 Info-ZIP - Type 'zip "-L"' for software
> > license.
> > This is Zip 3.0 (July 5th 2008), by Info-ZIP.
> > Currently maintained by E. Gordon. Please send bug reports to
> > the authors using the web page at www.info-zip.org; see README for
> > details.
> >
> > Latest sources and executables are at
> > ftp://ftp.info-zip.org/pub/infozip,
> > as of above date; see http://www.info-zip.org/ for other sites.
> >
> > Compiled with gcc 4.4.3 for Unix (Linux ELF) on Feb 21 2010.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Dushyant Juneja <juneja.dushyant@gmail.com> writes:
> >
> > > Hi,
> > >
> > > I seriously hope someone has encountered this error... I get the
> > above
> > > during org export to odt file. Pic attached.
> > >
> > > Any suggestions? I tried running zip through cmd line, the GUI
> > opens fine
> > > but with the same error again. :(
> > >
> > > Regards,
> > > Dushyant
> >
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-05-20 8:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-19 6:50 "can't open -mX0 blog.odt mimetype" error during org-odt export Dushyant Juneja
2014-05-19 7:22 ` Dushyant Juneja
[not found] ` <87mwedosv0.fsf@gmail.com>
[not found] ` <CAJkb0UNKAYKniZkFQSMr4FPqBjfFRVq57httMPZ6bUU6q=ADbA@mail.gmail.com>
[not found] ` <87egzoq4yv.fsf@gmail.com>
2014-05-20 8:10 ` Dushyant Juneja
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.