From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer Stengele Subject: Re: strange error "tramp-file-name-handler: Variable binding depth exceeds max-specpdl-size" when exporting to odt Date: Tue, 12 Jul 2011 19:16:48 +0200 Message-ID: <4E1C8180.2070502@online.de> References: <81vcv7iwkw.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:45909) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QggZt-0005bb-AV for emacs-orgmode@gnu.org; Tue, 12 Jul 2011 13:17:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QggZo-00005r-TC for emacs-orgmode@gnu.org; Tue, 12 Jul 2011 13:16:57 -0400 Received: from moutng.kundenserver.de ([212.227.17.8]:59967) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QggZo-00005P-AS for emacs-orgmode@gnu.org; Tue, 12 Jul 2011 13:16:52 -0400 In-Reply-To: <81vcv7iwkw.fsf@gmail.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: Jambunathan K Cc: emacs-orgmode@gnu.org Am 12.07.2011 13:10, schrieb Jambunathan K: > Rainer Stengele writes: > >> Dear list, >> >> exporting an org file to odt I get this error under debian Linux >> (Windows works fine) [excerpt from *Messages*]: >> >> >> Using schema ~/.emacs.d/org/contrib/odt/etc/schema/od-schema-v1.2-cs01.rnc >> ODT export done, pushed to kill ring and clipboard >> OVERVIEW >> CONTENTS...done >> Using schema ~/.emacs.d/org/contrib/odt/etc/schema/od-schema-v1.2-cs01.rnc >> tramp-file-name-handler: Variable binding depth exceeds >> max-specpdl-size > > Can you do M-x toggle-debug-on-error and post the stack trace? > > This is more likely to happen when a file/directory is being read or > written in to and the prefix of the path looks as though it is a remote > file. May be there is a bug in odt when it expands/abbrevs filename and > directories. > > Btw, what is different in your current setup. Why it didn't happen with > earlier invocations. (I assume you were able to export to odt in earlier > trial runs successfully) > >> I cannot find the connection to tramp. I do not use tramp anywhere. >> Anyone could imagine what's wrong? >> >> Thanks, >> Rainer >> >> >> > Ok, solved. I had to remove some Windows settings and paths from my .emacs - or better, only load them when being under Windows. Obviously the exporting process somewhere took the Windows path patterns as trampable triggers. Thanks! Rainer. Here the stacktrace that brought the insight: Debugger entered--Lisp error: (error "Variable binding depth exceeds max-specpdl-size") browse-url-delete-temp-file() tramp-file-name-handler(expand-file-name "/C:/Programme/Emacs/emacs/share/emacs/site-lisp/w3m" "/") ... tramp-file-name-handler(expand-file-name "/C:/Programme/Emacs/emacs/share/emacs/site-lisp/w3m" "/") tramp-file-name-handler(expand-file-name "/c:/cygwin/bin/" "/") expand-file-name("c:/cygwin/bin/" "/") apply(expand-file-name ("c:/cygwin/bin/" "/")) (let* ((inhibit-file-name-handlers ...) (inhibit-file-name-operation operation)) (apply operation args)) tramp-completion-run-real-handler(expand-file-name ("c:/cygwin/bin/" "/")) (if (and fn tramp-mode (or ... ... ... ... ...)) (save-match-data (apply ... args)) (tramp-completion-run-real-handler operation args)) (let ((directory-sep-char 47) (fn ...)) (if (and fn tramp-mode ...) (save-match-data ...) (tramp-completion-run-real-handler operation args))) tramp-completion-file-name-handler(expand-file-name "c:/cygwin/bin/" "/") call-process-region(1 57640 "sha1sum" "/tmp/emacs8vkk6R" t nil) apply(call-process-region 1 57640 "sha1sum" "/tmp/emacs8vkk6R" t nil nil) sha1-string-external("\n