From owner-freebsd-ports@FreeBSD.ORG Tue Jan 15 08:14:55 2013 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 027C6BC3 for ; Tue, 15 Jan 2013 08:14:54 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from forward5h.mail.yandex.net (forward5h.mail.yandex.net [IPv6:2a02:6b8:0:f05::5]) by mx1.freebsd.org (Postfix) with ESMTP id 740F62E0 for ; Tue, 15 Jan 2013 08:14:54 +0000 (UTC) Received: from smtp1h.mail.yandex.net (smtp1h.mail.yandex.net [84.201.187.144]) by forward5h.mail.yandex.net (Yandex) with ESMTP id AE8CAD01903; Tue, 15 Jan 2013 12:14:52 +0400 (MSK) Received: from smtp1h.mail.yandex.net (localhost [127.0.0.1]) by smtp1h.mail.yandex.net (Yandex) with ESMTP id 69E4413402E5; Tue, 15 Jan 2013 12:14:52 +0400 (MSK) Received: from ctsoff2.webstroy.ru (ctsoff2.webstroy.ru [213.27.12.78]) by smtp1h.mail.yandex.net (nwsmtp/Yandex) with ESMTP id Ep00mkWd-Ep001Tgn; Tue, 15 Jan 2013 12:14:52 +0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1358237692; bh=iyKX6bYGDjhH6sXikzcxfbc2j58V9tZh9CVyqmQON/A=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=CbenLed7iH5qbJPLHbpKuaZ9CQbveaSLQTmgbNPLI1vqW/pjOTvrGgHcBnv1fCG3N PZaJQrM/1sj06SavFaa04YcZRPO4c6M316AmMk3zTdZ30TZIX6GjSC/zkt+3ls2Slj TTHM+fk+/0rnrwFRjiKtYH5q6eiKFG5K55f8h4T8= Message-ID: <50F50FF0.8010505@yandex.ru> Date: Tue, 15 Jan 2013 12:14:40 +0400 From: Ruslan Makhmatkhanov User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130114 Thunderbird/17.0.2 MIME-Version: 1.0 To: Stephan Schindel Subject: Re: gPodder: ip - Command not found References: <50F4F804.7030700@tp1.rub.de> <50F504C4.5030905@yandex.ru> <50F5066D.6070602@tp1.rub.de> <50F508D6.3020907@yandex.ru> In-Reply-To: <50F508D6.3020907@yandex.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jan 2013 08:14:55 -0000 Ruslan Makhmatkhanov wrote on 15.01.2013 11:44: > Stephan Schindel wrote on 15.01.2013 11:34: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Am Di 15 Jan 08:27:00 2013 schrieb Ruslan Makhmatkhanov: >>> Hi, >>> >>> Stephan Schindel wrote on 15.01.2013 10:32: >>>> Hey :), >>>> >>>> gPodder suddenly does not update my subscriptions anymore. When I start >>>> gPodder in the terminal I can see that gPodder tries to start the >>>> application 'ip' to get information about the used network interface. >>>> However, this application does not exist on my system (anymore?). >>>> >>>> # /usr/local/lib/python2.7/site-packages/gpodder/util.py line 1653 >>>> process = subprocess.Popen(['ip', 'link'], stdout=subprocess.PIPE) >>>> >>>> % ip >>>> ip: Command not found. >>>> >>>> Cheers, >>>> Stephan >>> >>> This is changed in 3.4.0 and I definitely overlooked that. Would t >>> please try the patch attached against your util.py and let me know if >>> that works? >>> >> >> Thanks it works fine :)! > > Ok... but I can't reproduce the problem (w/o a patch) nor with gtk gui, > nor with cli. And I'm have not ``ip'' tool too (it's linux-only iproute2 > tool). Would you tell me more about your environment: FreeBSD/python > versions, how do you start gpodder, what urls you typing to reproduce > this error message? I seems got it: gpo> update Checking for new episodes Linux Outlaws [DONE] 9 новых выпусков gpo> list # Linux Outlaws http://feeds.feedburner.com/linuxoutlaws gpo> download http://feeds.feedburner.com/linuxoutlaws Linux Outlaws Downloading Linux Outlaws 292 – Blowjobs in Space [DONE] Downloading Linux Outlaws 291 – Und Fritz Is Not Patient! [DONE] Downloading Linux Outlaws 290 – Window or Aisle? [DONE] Downloading Linux Outlaws 289 – The Front Fell Off [DONE] Downloading Linux Outlaws 288 – Home Furnishing Outlaws [DONE] Downloading Linux Outlaws 287 – Bouncing off a Satellite [DONE] Downloading Linux Outlaws 286 – Just Tactics [DONE] Downloading Linux Outlaws 285 – Party Drones [DONE] Downloading Linux Outlaws 284 – Burning Poppies [DONE] 9 episodes downloaded. gpo> exit 1358237232.279461 [gpodder.util] WARNING: Cannot get connection status: [Errno 2] No such file or directory Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/gpodder/util.py", line 1689, in connection_available return len(list(linux_get_active_interfaces())) > 0 File "/usr/local/lib/python2.7/site-packages/gpodder/util.py", line 1653, in linux_get_active_interfaces process = subprocess.Popen(['ip', 'link'], stdout=subprocess.PIPE) File "/usr/local/lib/python2.7/subprocess.py", line 679, in __init__ errread, errwrite) File "/usr/local/lib/python2.7/subprocess.py", line 1249, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory But besides of the error, everything downloaded fine. I'll consult upstream about that. Thanks for the report. -- Regards, Ruslan Tinderboxing kills... the drives.