From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [PATCH 2/2] org-odt: Check for zip early during export (was Re: org-odt on Windows 7) Date: Fri, 22 Jul 2011 17:49:29 +0200 Message-ID: <878vrqwc1i.fsf@gnu.org> References: <20110709094721.r9w76inbs0c0k0o4@webmail.unina.it> <81sjpyfkd1.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:44015) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QkHyP-0000hr-D7 for emacs-orgmode@gnu.org; Fri, 22 Jul 2011 11:49:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QkHyO-00080D-MM for emacs-orgmode@gnu.org; Fri, 22 Jul 2011 11:49:09 -0400 Received: from mail-ww0-f41.google.com ([74.125.82.41]:46137) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QkHyO-000801-Hw for emacs-orgmode@gnu.org; Fri, 22 Jul 2011 11:49:08 -0400 Received: by wwi14 with SMTP id 14so502588wwi.0 for ; Fri, 22 Jul 2011 08:49:07 -0700 (PDT) In-Reply-To: <81sjpyfkd1.fsf@gmail.com> (Jambunathan K.'s message of "Fri, 22 Jul 2011 20:11:46 +0530") 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: Jambunathan K Cc: emacs-orgmode@gnu.org Jambunathan K writes: >> I tried the new org-odt exporter in org-mode 7.6 running emacs 23.3 >> on Windows 7 with (org-export-as-odt). It stops before generating an >> output with the error message: Searching for program: no such file or >> directory, zip. I guess it is caused by not having a command line >> version of zip in Windows. > > The simple patch below tries to check for availability of zip very early > in the export. Applied, thanks! -- Bastien