gPodder: ip - Command not found

Ruslan Makhmatkhanov cvs-src at yandex.ru
Tue Jan 15 08:14:55 UTC 2013


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.


More information about the freebsd-ports mailing list