Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jan 2013 11:27:00 +0400
From:      Ruslan Makhmatkhanov <cvs-src@yandex.ru>
To:        Stephan Schindel <sts@tp1.rub.de>
Cc:        ports@freebsd.org
Subject:   Re: gPodder: ip - Command not found
Message-ID:  <50F504C4.5030905@yandex.ru>
In-Reply-To: <50F4F804.7030700@tp1.rub.de>
References:  <50F4F804.7030700@tp1.rub.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50F504C4.5030905>