emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] ob-python noweb and :var reference error


From: Nicolas Goaziou
Subject: Re: [O] ob-python noweb and :var reference error
Date: Fri, 29 Dec 2017 13:09:55 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

stardiviner <address@hidden> writes:

> If I use that noweb reference, then I got this error:
>
>>  File "<stdin>", line 8
>>     client = DelugeRPCClient('127.0.0.1', 58846, cat 
> ~/.config/deluge/auth | cut -d ":" -f 1, cat ~/.config/deluge/auth |
> cut -d ":" -f 2)
>                                                      ^
> SyntaxError: invalid syntax
>
> This is because the <<deluge-daemon-username>> output is not a string
> in Python src block.

My bad. Try 

  <<deluge-daemon-username()>>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]