andyrooger / totem-get-iplayer

Totem plugin to act as a front-end to get_iplayer. Allows streaming and recording iPlayer and other content.
GNU General Public License v3.0
1 stars 0 forks source link

Deal properly with network unavailability #30

Closed andyrooger closed 11 years ago

andyrooger commented 11 years ago

Navigating to a programme shows name, description, play button, nothing else.

Terminal shows

WARNING: no network interfaces found WARNING: no network interfaces found WARNING: no network interfaces found Exception in thread Thread-24: Traceback (most recent call last): File "/usr/lib64/python2.7/threading.py", line 551, in bootstrap_inner self.run() File "/usr/lib64/python2.7/threading.py", line 504, in run self.__target(_self.args, *_self.__kwargs) File "/home/andyrooger/.local/share/totem/plugins/get-iplayer/get-iplayer.py", line 577, in load_image pb = transform(pb) File "/home/andyrooger/.local/share/totem/plugins/get-iplayer/get-iplayer.py", line 485, in transform=lambda pb: ensure_image_small(pb, 200, 200)) File "/home/andyrooger/.local/share/totem/plugins/get-iplayer/get-iplayer.py", line 582, in ensure_image_small width = pb.get_width() AttributeError: 'NoneType' object has no attribute 'get_width'