From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: Opendocument export causes error Date: Sat, 01 Dec 2012 12:22:14 +0530 Message-ID: <87zk1ytfvb.fsf@gmail.com> References: <20202347-6EC2-47F2-A8D6-17107AC9AAF9@beds.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40847) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Teh2p-0007MU-Pn for emacs-orgmode@gnu.org; Sat, 01 Dec 2012 01:59:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Teh2o-0000dc-GJ for emacs-orgmode@gnu.org; Sat, 01 Dec 2012 01:59:23 -0500 Received: from mail-pa0-f41.google.com ([209.85.220.41]:43505) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Teh2o-0000dY-9c for emacs-orgmode@gnu.org; Sat, 01 Dec 2012 01:59:22 -0500 Received: by mail-pa0-f41.google.com with SMTP id bj3so825687pad.0 for ; Fri, 30 Nov 2012 22:59:21 -0800 (PST) In-Reply-To: <20202347-6EC2-47F2-A8D6-17107AC9AAF9@beds.ac.uk> (Torsten Anders's message of "Fri, 30 Nov 2012 22:56:47 +0000") 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: Torsten Anders Cc: Org-mode (Ignore my earlier mail. Follow instruction in this mail instead.) Symptoms tell me that you have a hoaxed installation. Try this and see if it helps M-x list-load-path-shadows RET Check where all org-odt.el is installed. Ideally you should see only two paths - one from vanilla Emacs and one from directory that you are trying to use right now. Try this next. M-x locate-library RET org-compat RET M-x locate-library RET org-odt RET M-x locate-library RET org-compat.el RET M-x locate-library RET org-odt.el RET (Note the presence of `.el' in later two commands) They should all come from the same directory tree. Try this next. M-x load-library RET org-compat.el RET M-x load-library RET org-odt.el RET (Order of loading should be preserved. `.el' SHOULD be there) Now export. Look inside your messages buffer and examine what all ODT exporter is trying to do. In all likelihood, you will have a successful export. For some more debugging, you can do, M-x locate-library RET org-install RET M-x locate-library RET org-autoloads RET M-x locate-library RET org-loaddefs RET (Try again the above commands with `.el' appended) Ideally your .emacs MUST have (require ') for only one of these libraries. If you pass the censored logs from above commands then I or someone in this list can guess what is possibly wrong. But my guess is above steps should suffice to figure out the remedy. > Dear all, > > Since a while I cannot export to OpenDocument anymore. Instead, I > always get the error > > call-interactively: Symbol's value as variable is void: err > > I just updated to Org-mode version 7.9.2 and the problem persists. In > the archives I found exactly the same problem mentioned (messages from > 11.07.2012 with subject Compile error in org-odt.el in latest master), > but I do not understand the solution found then (Rainer Stengele > reported that he "missed the unzip.exe and now it works"). > > Any help? Thanks! > > Best wishes, > Torsten > > -- > Dr Torsten Anders > Course Leader, Music Technology > University of Bedfordshire > Park Square, Room A315 > http://www.torsten-anders.de > > > > > --