![]() |
|
[RELEASE] Logo Downloader Script - Printable Version +- XBMC Community Forum (http://forum.xbmc.org) +-- Forum: Help and Support (/forumdisplay.php?fid=33) +--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27) +---- Forum: Program Add-ons (/forumdisplay.php?fid=151) +---- Thread: [RELEASE] Logo Downloader Script (/showthread.php?tid=74912) |
- darkscout - 2011-01-31 22:47 ppic Wrote:and you don't read your log? Except every single other logo has the exact same permissions: http://sprunge.us/gBFF - ppic - 2011-01-31 22:58 well, i can't tell you more. Quote:IOError: [Errno 0] Error: 'smb://server.local/TV/My Name Is Earl/logo.png' this doesn't appear to be a script error there... if it works for other logo, no reason why it can't on those. - DataFran - 2011-02-06 00:43 Figured it out! Please disregard. - DataFran - 2011-02-06 00:51 Accidental duplicate post. - ppic - 2011-02-06 02:50 yes you need to send some parameters when launching the script ! Script broken for TVDB.COM? - fenrisswolf - 2011-02-06 10:34 Not quite sure when it happened, but apparently http://WWW.TVDB.COM is now a religious website of some kind. the current address oft the "Online TV Database" is http://WWW.THETVDB.COM, and it seems this is breaking the script, as I had kept getting "Site Unreachable" errors for a few weeks. I thought it was my connection/computer acting up, but it seems it's the script looking in the wrong place for stuff. How do I fix it? - Hitcher - 2011-02-06 10:46 It's always been thetvdb.com and the script uses that address it's just the descriptions that are labelled wrongly. - fenrisswolf - 2011-02-07 03:32 Odd. There should be no issues then, since all sites seem to be up, and I have made no real changes beyond automatic upgrades. And yet I keep getting the "Site Unreachable" error. So, how can I debug the script to find out what's really gone wrong with my setup, in that case? - Tex8503 - 2011-02-15 05:26 I'm having this same issue with the 'site unreachable error'. Nothing has really changed with my setup - any suggestions? EDIT: Here's a bit more detail - it fails in both batch and single mode. The error is in the log as follows: 22:32:58 T:2916 M:4294967295 NOTICE: -->Python Interpreter Initialized<-- 22:32:58 T:2916 M:4294967295 NOTICE: ### Logo Downloader starting ... 22:32:58 T:2916 M:4294967295 NOTICE: ### author: Ppic 22:32:58 T:2916 M:4294967295 NOTICE: ### URL: http://code.google.com/p/passion-xbmc/ 22:32:58 T:2916 M:4294967295 NOTICE: ### credits: Team XBMC PASSION, http://passion-xbmc.org/ 22:32:58 T:2916 M:4294967295 NOTICE: ### date: 20-10-2010 22:32:58 T:2916 M:4294967295 NOTICE: ### version: 2.2.0 22:32:58 T:2916 M:4294967295 NOTICE: ### DEBUG: True 22:32:58 T:2916 M:4294967295 NOTICE: ### logo downloader initializing... 22:32:58 T:2916 M:4294967295 NOTICE: ### reinit 22:32:58 T:2916 M:4294967295 NOTICE: ['script.logo-downloader', 'mode=solo', 'logo=True', 'clearart=True', 'showthumb=True', 'showname=Carniv\xc3\xa0le'] 22:32:58 T:2916 M:4294967295 NOTICE: arg 0: script.logo-downloader 22:32:58 T:2916 M:4294967295 NOTICE: arg 1: mode=solo 22:32:58 T:2916 M:4294967295 NOTICE: arg 2: logo=True 22:32:58 T:2916 M:4294967295 NOTICE: arg 3: clearart=True 22:32:58 T:2916 M:4294967295 NOTICE: arg 4: showthumb=True 22:32:58 T:2916 M:4294967295 NOTICE: arg 5: showname=Carnivàle 22:32:58 T:2916 M:4294967295 NOTICE: no arg6 22:32:58 T:2916 M:4294967295 NOTICE: no arg7 22:32:58 T:2916 M:4294967295 NOTICE: ### Start Solo Mode 22:32:58 T:2916 M:4294967295 NOTICE: sql dat: select tvshow.c12 , path.strpath from tvshow,tvshowlinkpath,path where tvshow.idShow=tvshowlinkpath.idshow and tvshowlinkpath.idpath=path.idpath and tvshow.c00="Carnivàle" 22:32:58 T:2916 M:4294967295 NOTICE: xml dat: <record><field>70860</field><field>I:\MediaShare4\TV\Carnivale\</field></record> 22:33:04 T:2916 M:4294967295 NOTICE: Traceback (most recent call last): 22:33:04 T:2916 M:4294967295 NOTICE: File "C:\Users\Tex8503\AppData\Roaming\XBMC\addons\script.logo-downloader\default.py", line 70, in get_html_source 22:33:04 T:2916 M:4294967295 NOTICE: sock = urllib.urlopen( url ) 22:33:04 T:2916 M:4294967295 NOTICE: File "special://xbmc/system/python/Lib\urllib.py", line 82, in urlopen 22:33:04 T:2916 M:4294967295 NOTICE: return opener.open(url) 22:33:04 T:2916 M:4294967295 NOTICE: File "special://xbmc/system/python/Lib\urllib.py", line 190, in open 22:33:04 T:2916 M:4294967295 NOTICE: return getattr(self, name)(url) 22:33:04 T:2916 M:4294967295 NOTICE: File "special://xbmc/system/python/Lib\urllib.py", line 313, in open_http 22:33:04 T:2916 M:4294967295 NOTICE: h.endheaders() 22:33:04 T:2916 M:4294967295 NOTICE: File "special://xbmc/system/python/Lib\httplib.py", line 798, in endheaders 22:33:04 T:2916 M:4294967295 NOTICE: self._send_output() 22:33:04 T:2916 M:4294967295 NOTICE: File "special://xbmc/system/python/Lib\httplib.py", line 679, in _send_output 22:33:04 T:2916 M:4294967295 NOTICE: self.send(msg) 22:33:04 T:2916 M:4294967295 NOTICE: File "special://xbmc/system/python/Lib\httplib.py", line 646, in send 22:33:04 T:2916 M:4294967295 NOTICE: self.connect() 22:33:04 T:2916 M:4294967295 NOTICE: File "special://xbmc/system/python/Lib\httplib.py", line 630, in connect 22:33:04 T:2916 M:4294967295 NOTICE: raise socket.error, msg 22:33:04 T:2916 M:4294967295 NOTICE: IOError: [Errno socket error] (10061, 'Connection refused') 22:33:04 T:2916 M:4294967295 NOTICE: ### ERROR impossible d'ouvrir la page http://www.lockstockmods.net/logos/getlogo.php?id=70860 22:33:06 T:2916 M:4294967295 NOTICE: False 22:33:06 T:2916 M:4294967295 ERROR: Error Type: exceptions.TypeError 22:33:06 T:2916 M:4294967295 ERROR: Error Contents: expected string or buffer 22:33:06 T:2916 M:4294967295 ERROR: Traceback (most recent call last): File "C:\Users\Tex8503\AppData\Roaming\XBMC\addons\script.logo-downloader\default.py", line 641, in ? downloader() File "C:\Users\Tex8503\AppData\Roaming\XBMC\addons\script.logo-downloader\default.py", line 141, in __init__ self.solo_mode() File "C:\Users\Tex8503\AppData\Roaming\XBMC\addons\script.logo-downloader\default.py", line 163, in solo_mode self.search_logo() File "C:\Users\Tex8503\AppData\Roaming\XBMC\addons\script.logo-downloader\default.py", line 458, in search_logo match = re.findall("""<logo url="(.*?)"/>""" , self.lockstock_xml) File "special://xbmc/system/python/Lib\sre.py", line 167, in findall return _compile(pattern, flags).findall(string) TypeError: expected string or buffer - ppic - 2011-02-15 11:24 with the script launching with this command line, you won't get all image, they will be all named folder.jpg. for the error, seems you xbmc can't open fanart.tv webpage. |