GNU bug report logs - #63578
29.0.91; Org Cannot tangle with tramp using sudo

Previous Next

Package: emacs;

Reported by: "k.ninev <at> cdots.bg" <k.ninev <at> cdots.bg>

Date: Fri, 19 May 2023 04:00:03 UTC

Severity: normal

Found in version 29.0.91

Fixed in version 29.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


Message #50 received at 63578 <at> debbugs.gnu.org (full text, mbox):

From: Kostadin Ninev <k.ninev <at> cdots.bg>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: Bastien <bzg <at> gnu.org>, 63578 <at> debbugs.gnu.org,
 Ihor Radchenko <yantar92 <at> posteo.net>, Eli Zaretskii <eliz <at> gnu.org>
Subject: Re: bug#63578: 29.0.91; Org Cannot tangle with tramp using sudo
Date: Sat, 20 May 2023 11:53:17 +0000
You want ta call org-babel-tangle or C-c C-v C-t to create the file

C-c C-c attempts to execute the contents of the block.

On Saturday, May 20, 2023 2:50 PM (+03:00), Michael Albinus wrote:

> Kostadin Ninev  writes:
> 
> Hi Kostadin,
> 
> >> Perhaps you can send the value of
> >> tramp-default-proxies-alist at the moment everything goes wrong.
> >
> > This is the wrong value of tramp-default-proxies-alist
> >
> > ((nil nil
> >       #("/ssh:srv:" 0 9
> > 	(tramp-ad-hoc t)))
> >  ("^srv$" "^root$"
> >   #("/ssh:srv:" 0 9
> >     (tramp-ad-hoc t))))
> 
> Thanks.
> 
> Perhaps you could help me with the recipe (I'm not an Org user). I have
> created a file ~/tmp/123.org with the content
> 
> --8<---------------cut here---------------start------------->8---
> #+begin_src conf :tangle /ssh:user <at> host|sudo::/etc/test.conf
> test
> #+end_src
> --8<---------------cut here---------------end--------------->8---
> 
> "user" and "host" are existing ones in my local domain. When I call
> 
> --8<---------------cut here---------------start------------->8---
> emacs -Q -l tramp --eval '(setq tramp-verbose 10 debug-on-quit t)' 
~/tmp/123.org
> --8<---------------cut here---------------end--------------->8---
> 
> and I do eval the Org src block with "C-c C-c", I get the message
> 
> --8<---------------cut here---------------start------------->8---
> org-babel-execute-src-block: No org-babel-execute function for conf!
> --8<---------------cut here---------------end--------------->8---
> 
> What do I miss?
> 
> Best regards, Michael.
> 

-- 
Kostadin Ninev.




This bug report was last modified 1 year and 362 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.