From owner-freebsd-ports@FreeBSD.ORG Tue Jan 15 07:27:29 2013 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9FF81D1 for ; Tue, 15 Jan 2013 07:27:29 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from forward12.mail.yandex.net (forward12.mail.yandex.net [IPv6:2a02:6b8:0:801::2]) by mx1.freebsd.org (Postfix) with ESMTP id 32FE0138 for ; Tue, 15 Jan 2013 07:27:29 +0000 (UTC) Received: from smtp13.mail.yandex.net (smtp13.mail.yandex.net [95.108.130.68]) by forward12.mail.yandex.net (Yandex) with ESMTP id 0DF16C20C07; Tue, 15 Jan 2013 11:27:13 +0400 (MSK) Received: from smtp13.mail.yandex.net (localhost [127.0.0.1]) by smtp13.mail.yandex.net (Yandex) with ESMTP id D759FE40581; Tue, 15 Jan 2013 11:27:12 +0400 (MSK) Received: from ctsoff2.webstroy.ru (ctsoff2.webstroy.ru [213.27.12.78]) by smtp13.mail.yandex.net (nwsmtp/Yandex) with ESMTP id RBeiWep7-RCeK9KdC; Tue, 15 Jan 2013 11:27:12 +0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1358234832; bh=HEypwb6KegPUT9GMmMN/uqPJWs/Mqu+sqAdF6+dJvco=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type; b=T9wS5HRAhCVNed7bg8Y0At0M+IH6W46dGX8MLe8lBqBHHMNQiv6SckMygE5zbl++T +RZy5SN4lqgsgRW+vsOZV29c24RcGEinX5Yj3sDHUOGUXZHeT8l64stUtGL8ArRoUY 1A9GrRdNIzdebQS4cZXE78m7H3WF8fKu2dCqOiV8= Message-ID: <50F504C4.5030905@yandex.ru> Date: Tue, 15 Jan 2013 11:27:00 +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> In-Reply-To: <50F4F804.7030700@tp1.rub.de> Content-Type: multipart/mixed; boundary="------------040208040209090807040905" 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 07:27:29 -0000 This is a multi-part message in MIME format. --------------040208040209090807040905 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 you please try the patch attached against your util.py and let me know if that works? -- Regards, Ruslan Tinderboxing kills... the drives. --------------040208040209090807040905 Content-Type: text/x-patch; name="gpodder-src-util.py.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="gpodder-src-util.py.diff" --- util.py.orig 2012-12-22 15:53:19.000000000 +0400 +++ util.py 2013-01-15 11:24:47.000000000 +0400 @@ -1682,7 +1682,7 @@ if gpodder.ui.win32: # FIXME: Implement for Windows return True - elif gpodder.ui.osx: + elif gpodder.ui.osx or 'freebsd' in sys.platform: return len(list(osx_get_active_interfaces())) > 0 return True else: --------------040208040209090807040905--