- Livin - 2006-04-04
anyone have a fix?
here's the xbmc log...
Quote:03-04-2006 17:54:50 error dns lookup for photos0.flickr.com failed: 11001
03-04-2006 17:54:50 info traceback (most recent call last):
03-04-2006 17:54:50 info file "q:\scripts\flickr\flickr.py", line 628, in ?
03-04-2006 17:54:50 info
03-04-2006 17:54:50 info mydisplay = flickr()
03-04-2006 17:54:50 info file "q:\scripts\flickr\flickr.py", line 135, in
03-04-2006 17:54:50 info
03-04-2006 17:54:50 info self.setbuddyicon()
03-04-2006 17:54:50 info file "q:\scripts\flickr\flickr.py", line 451, in setbuddyicon
03-04-2006 17:54:50 info
03-04-2006 17:54:50 info self.downloadphotonocache(photourl,photopath)
03-04-2006 17:54:50 info file "q:\scripts\flickr\flickr.py", line 489, in downloadphotonocache
03-04-2006 17:54:50 info
03-04-2006 17:54:50 info loc.retrieve(photourl, (cache + photopath).encode())
03-04-2006 17:54:50 info file "q:\python\python23.zlib\urllib.py", line 213, in retrieve
03-04-2006 17:54:50 info file "q:\python\python23.zlib\urllib.py", line 181, in open
03-04-2006 17:54:50 info file "q:\python\python23.zlib\urllib.py", line 297, in open_http
03-04-2006 17:54:50 info file "q:\python\python23.zlib\httplib.py", line 712, in endheaders
03-04-2006 17:54:50 info file "q:\python\python23.zlib\httplib.py", line 597, in _send_output
03-04-2006 17:54:50 info file "q:\python\python23.zlib\httplib.py", line 564, in send
03-04-2006 17:54:50 info file "q:\python\python23.zlib\httplib.py", line 532, in connect
03-04-2006 17:54:50 info ioerror
03-04-2006 17:54:50 info :
03-04-2006 17:54:50 info [errno socket error] (4, 'getaddrinfo failed')
03-04-2006 17:54:50 info
03-04-2006 17:54:50 debug cguimediawindow::getdirectory (q:\scripts\flickr)
03-04-2006 17:54:50 debug parentpath = [q:\scripts\flickr]
- B4tm4n - 2006-04-14
hi there
i managed to get the script working by reading www.jonsthoughtsoneverything.com.
what i did was download this script posted by manny juan.
then i went to this page then click on the request an api from flickr link
and filled in the form which gave me an api key.
this has to edited into flickrclient.py.
lastly edit your email address into the main flickr.py script.
that should do it, hope you get it working.
cheers b4tm4n.
- Livin - 2006-04-14
thanks for the how-to... trying it now.
- Livin - 2006-04-15
it is not working for me. i followed the instructions but it seems that the url is no good?
here's the error log...
Quote:22:36:56 m: 34082816 debug: cguimediawindow::getdirectory (q:\scripts\flickr)
22:36:56 m: 34082816 debug: parentpath = [q:\scripts]
22:36:59 m: 32333824 debug: loadlibrarya('zlib.pyd')
22:36:59 m: 32272384 debug: kernel32.dll fake function disablethreadlibrarycalls called
22:36:59 m: 32272384 debug: loadlibrary('zlib.pyd') returning: 0xbd47b0
22:36:59 m: 32272384 debug: zlib.pyd!getprocaddress(0xbd47b0, 'initzlib') => 0xed2210
22:36:59 m: 31600640 info: -->python initialized<--
22:36:59 m: 31580160 info:
22:36:59 m: 31064064 debug: cguimediawindow::getdirectory (q:\scripts\flickr)
22:36:59 m: 31064064 debug: parentpath = [q:\scripts\flickr]
22:36:59 m: 29933568 debug: loadlibrarya('_ssl.pyd')
22:36:59 m: 29425664 debug: kernel32.dll fake function disablethreadlibrarycalls called
22:36:59 m: 29425664 debug: loadlibrary('_ssl.pyd') returning: 0xc31bc0
22:36:59 m: 29425664 debug: _ssl.pyd!getprocaddress(0xc31bc0, 'init_ssl') => 0xee1aa0
22:36:59 m: 29253632 debug: loadlibrarya('_sre.pyd')
22:36:59 m: 29196288 debug: kernel32.dll fake function disablethreadlibrarycalls called
22:36:59 m: 29196288 debug: loadlibrary('_sre.pyd') returning: 0xbf71a0
22:36:59 m: 29196288 debug: _sre.pyd!getprocaddress(0xbf71a0, 'init_sre') => 0xf6a120
22:37:00 m: 29024256 debug: loadlibrarya('pyexpat.pyd')
22:37:00 m: 28884992 debug: kernel32.dll fake function disablethreadlibrarycalls called
22:37:00 m: 28884992 debug: loadlibrary('pyexpat.pyd') returning: 0xe255a0
22:37:00 m: 28884992 debug: pyexpat.pyd!getprocaddress(0xe255a0, 'initpyexpat') => 0x1374540
22:37:01 m: 24379392 info: 0
22:37:01 m: 24379392 info:
22:37:03 m: 24379392 error: dns lookup for photos0.flickr.com failed: 11001
22:37:03 m: 24379392 info: traceback (most recent call last):
22:37:03 m: 24379392 info: file "q:\scripts\flickr\flickr.py", line 628, in ?
22:37:03 m: 24379392 info:
22:37:03 m: 24379392 info: mydisplay = flickr()
22:37:03 m: 24379392 info: file "q:\scripts\flickr\flickr.py", line 141, in
22:37:03 m: 24379392 info:
22:37:03 m: 24379392 info: self.setbuddyicon()
22:37:03 m: 24379392 info: file "q:\scripts\flickr\flickr.py", line 451, in setbuddyicon
22:37:03 m: 24379392 info:
22:37:03 m: 24379392 info: self.downloadphotonocache(photourl,photopath)
22:37:03 m: 24379392 info: file "q:\scripts\flickr\flickr.py", line 489, in downloadphotonocache
22:37:03 m: 24379392 info:
22:37:03 m: 24379392 info: loc.retrieve(photourl, (cache + photopath).encode())
22:37:03 m: 24379392 info: file "q:\python\python23.zlib\urllib.py", line 213, in retrieve
22:37:03 m: 24379392 info: file "q:\python\python23.zlib\urllib.py", line 181, in open
22:37:03 m: 24379392 info: file "q:\python\python23.zlib\urllib.py", line 297, in open_http
22:37:03 m: 24379392 info: file "q:\python\python23.zlib\httplib.py", line 712, in endheaders
22:37:03 m: 24379392 info: file "q:\python\python23.zlib\httplib.py", line 597, in _send_output
22:37:03 m: 24379392 info: file "q:\python\python23.zlib\httplib.py", line 564, in send
22:37:03 m: 24379392 info: file "q:\python\python23.zlib\httplib.py", line 532, in connect
22:37:03 m: 24379392 info: ioerror
22:37:03 m: 24379392 info: :
22:37:03 m: 24379392 info: [errno socket error] (4, 'getaddrinfo failed')
- B4tm4n - 2006-04-15
i don`t know what to say, its working for me.
you need to be logged in to flickr when getting your api key.
the email address should be able to find your pics in the
people search page.
i can`t think of anything else to help you.
sorry b4tm4n.
- Livin - 2006-04-15
my email address works fine on the search so we've eliminated that.
can you do me a favor and put your xbmc in debug mode and let me know if you get a dns error. i tried photos0.flickr.com in my pc browser and it does not work there either.
i cannot find a file in the flikr script folder that has photos0.flickr.com in it at all.
- B4tm4n - 2006-04-15
heres a copy of my debug log:
Quote:17:59:29 m: 33738752 debug: loadlibrarya('zlib.pyd')
17:59:29 m: 33656832 debug: kernel32.dll fake function disablethreadlibrarycalls called
17:59:29 m: 33656832 debug: loadlibrary('zlib.pyd') returning: 0xaeee30
17:59:29 m: 33656832 debug: zlib.pyd!getprocaddress(0xaeee30, 'initzlib') => 0x12e2210
17:59:29 m: 32964608 info: -->python initialized<--
17:59:29 m: 32964608 info:
17:59:29 m: 31449088 debug: loadlibrarya('_ssl.pyd')
17:59:29 m: 30941184 debug: kernel32.dll fake function disablethreadlibrarycalls called
17:59:29 m: 30941184 debug: loadlibrary('_ssl.pyd') returning: 0xbaaf90
17:59:29 m: 30941184 debug: _ssl.pyd!getprocaddress(0xbaaf90, 'init_ssl') => 0x12f1aa0
17:59:30 m: 30752768 debug: loadlibrarya('_sre.pyd')
17:59:30 m: 30695424 debug: kernel32.dll fake function disablethreadlibrarycalls called
17:59:30 m: 30695424 debug: loadlibrary('_sre.pyd') returning: 0xc76e60
17:59:30 m: 30695424 debug: _sre.pyd!getprocaddress(0xc76e60, 'init_sre') => 0x137a120
17:59:31 m: 30511104 debug: loadlibrarya('pyexpat.pyd')
17:59:31 m: 30371840 debug: kernel32.dll fake function disablethreadlibrarycalls called
17:59:31 m: 30371840 debug: loadlibrary('pyexpat.pyd') returning: 0x11fade0
17:59:31 m: 30371840 debug: pyexpat.pyd!getprocaddress(0x11fade0, 'initpyexpat') => 0x1784540
17:59:31 m: 25833472 info: 0
17:59:31 m: 25833472 info:
17:59:31 m: 25833472 info: dir exists
17:59:31 m: 25833472 info:
17:59:32 m: 25808896 info: loading skin file: dialogprogress.xml
17:59:33 m: 25247744 info: photo exists
17:59:33 m: 25247744 info:
17:59:33 m: 25247744 info: photo exists
17:59:33 m: 25247744 info:
17:59:33 m: 25247744 info: photo exists
17:59:33 m: 25247744 info:
17:59:33 m: 25247744 info: photo exists
17:59:33 m: 25247744 info:
17:59:33 m: 25247744 info: photo exists
17:59:33 m: 25247744 info:
17:59:33 m: 25247744 info: photo exists
17:59:33 m: 25247744 info:
17:59:33 m: 25247744 info: photo exists
17:59:33 m: 25247744 info:
17:59:33 m: 25247744 info: photo exists
17:59:33 m: 25247744 info:
17:59:33 m: 25247744 info: photo exists
17:59:33 m: 25247744 info:
17:59:33 m: 25247744 info: photo exists
17:59:33 m: 25247744 info:
17:59:33 m: 25247744 info: photo exists
17:59:33 m: 25247744 info:
17:59:33 m: 25247744 info: photo exists
17:59:33 m: 25247744 info:
17:59:33 m: 24371200 debug: activating window id: 13000
17:59:33 m: 26472448 debug: freevisualisation() started
17:59:33 m: 26472448 debug: freevisualisation() done
17:59:39 m: 32079872 debug: activating window id: 10000
17:59:39 m: 37347328 info: loading skin file: home.xml
|