Kodi Community Forum
Solved All add ons return error when searching - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Subtitle Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=143)
+---- Thread: Solved All add ons return error when searching (/showthread.php?tid=204634)



All add ons return error when searching - cassperr - 2014-09-18

Hi,

My HTPC runs XBMC 14.0 ALPHA1. For some reason it is returning errors when searching.
OpenSubtitles.org doesn't give any feedback in the log but Podnapisi returns the following:

Quote:17:11:57 T:139940427982592 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IOError'>
Error Contents: [Errno socket error] [Errno -2] Name or service not known
Traceback (most recent call last):
File "/home/xbmc/.xbmc/addons/service.subtitles.podnapisi/service.py", line 189, in <module>
Search(item)
File "/home/xbmc/.xbmc/addons/service.subtitles.podnapisi/service.py", line 63, in Search
False )
File "/home/xbmc/.xbmc/addons/service.subtitles.podnapisi/resources/lib/pn_utilities.py", line 200, in searchsubtitlesbyname_pod
subtitles = self.fetch(url)
File "/home/xbmc/.xbmc/addons/service.subtitles.podnapisi/resources/lib/pn_utilities.py", line 257, in fetch
socket = urllib.urlopen( url )
File "/usr/lib/python2.7/urllib.py", line 87, in urlopen
return opener.open(url)
File "/usr/lib/python2.7/urllib.py", line 208, in open
return getattr(self, name)(url)
File "/usr/lib/python2.7/urllib.py", line 345, in open_http
h.endheaders(data)
File "/usr/lib/python2.7/httplib.py", line 969, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 829, in _send_output
self.send(msg)
File "/usr/lib/python2.7/httplib.py", line 791, in send
self.connect()
File "/usr/lib/python2.7/httplib.py", line 772, in connect
self.timeout, self.source_address)
File "/usr/lib/python2.7/socket.py", line 553, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
IOError: [Errno socket error] [Errno -2] Name or service not known
-->End of Python script error report<--
17:11:57 T:139940134369024 ERROR: GetDirectory - Error getting plugin://service.subtitles.podnapisi/?action=search&languages=Dutch%2cEnglish

Now I have to say I'm having an issue with SABNZBD as well since its download speed stays at 0 kb/s while its not paused or anything.
Checked if the HTPC had a proper internet connection with a ping to Google's DNS server. (successfully)
Quote:xbmc@casper-mediacenter:~$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=49 time=15.2 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=49 time=13.6 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=49 time=15.6 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=49 time=13.7 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=49 time=14.3 ms
^C
--- 8.8.8.8 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4004ms
rtt min/avg/max/mdev = 13.642/14.526/15.606/0.785 ms

Any suggestions?


RE: All add ons return error when searching - Martijn - 2014-09-18

Alpha1 isn't supported anymore. Install latest nightly build


RE: All add ons return error when searching - cassperr - 2014-09-18

While performing an apt-get update I figured it out.
Seems my DNS is not configured properly.