![]() |
|
[RELEASE] flickr Media - flickr media image plugin addon - 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: Picture Add-ons (/forumdisplay.php?fid=150) +---- Thread: [RELEASE] flickr Media - flickr media image plugin addon (/showthread.php?tid=81593) |
- ruuk - 2012-01-16 22:34 KidVulcan Wrote:Hi, will this work with eden, if yes then were do I find it? Sorry for the late reply. It works with Eden, but I haven't actually updated it to be accepted for the repository yet. That's coming soon. Wanting your opinion... - ruuk - 2012-01-16 22:39 As I'm moving to update the Addon to Eden, I was thinking of making this an App rather than plug-in. Anyone have any thoughts on that? Any reason I should keep the plug-in format? Thanks. Tried to run under EDEN - biga888 - 2012-01-21 23:42 Hi I tried to run under Eden but I keep getting the following. I get no chance to enter in any auth code etc. 13:32:30 T:2800753552 DEBUG: StartScript - calling plugin flickr('plugin://plugin.image.flickr/','0','') 13:32:30 T:2800753552 INFO: initializing python engine. 13:32:30 T:2800753552 DEBUG: new python thread created. id=16 13:32:30 T:2696838032 DEBUG: Thread XBPyThread start, auto delete: 0 13:32:30 T:2696838032 DEBUG: Python thread: start processing 13:32:30 T:2696838032 NOTICE: -->Python Interpreter Initialized<-- 13:32:30 T:2696838032 DEBUG: Process - The source file to load is /root/.xbmc/addons/plugin.image.flickr/default.py 13:32:30 T:2696838032 DEBUG: Process - Setting the Python path to /root/.xbmc/addons/plugin.image.flickr:/root/.xbmc/addons/script.module.simplejson/lib:/root/.xbmc/addons/script.module.beautifulsoup/lib:/usr/local/share/xbmc/addons/script.module.pil/lib:/root/.xbmc/addons/script.common.plugin.cache/lib:/root/.xbmc/addons/script.module.simple.downloader/lib:/root/.xbmc/addons/script.module.parsedom/lib:/root/.xbmc/addons/script.web.viewer/lib:/root/.xbmc/addons/script.module.elementtree/lib:/usr/local/share/xbmc/addons/script.module.pysqlite/lib:/usr/local/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg:/usr/local/lib/python2.6/site-packages/pip-1.0-py2.6.egg:/usr/local/lib/python26.zip:/usr/local/lib/python2.6:/usr/local/lib/python2.6/plat-linux2:/usr/local/lib/python2.6/lib-tk:/usr/local/lib/python2.6/lib-old:/usr/local/lib/python2.6/lib-dynload:/usr/local/lib/python2.6/site-packages: 13:32:30 T:2696838032 DEBUG: Process - Entering source directory /root/.xbmc/addons/plugin.image.flickr 13:32:30 T:2800753552 DEBUG: WaitOnScriptResult - waiting on the flickr plugin... 13:32:30 T:2696838032 DEBUG: Instantiating addon using automatically obtained id of "plugin.image.flickr" dependent on version 1.0 of the xbmc.python api 13:32:30 T:2696838032 NOTICE: Mode: None 13:32:30 T:2696838032 NOTICE: URL: None 13:32:30 T:2696838032 NOTICE: Name: None 13:32:30 T:2696838032 NOTICE: Page: 1 13:32:30 T:2696838032 NOTICE: [Errno -2] Name or service not known 13:32:30 T:2696838032 INFO: -->Python script returned the following error<-- 13:32:30 T:2696838032 ERROR: Error Type: <class 'urllib2.URLError'> 13:32:30 T:2696838032 ERROR: Error Contents: <urlopen error [Errno -2] Name or service not known> 13:32:30 T:2696838032 ERROR: Traceback (most recent call last): File "/root/.xbmc/addons/plugin.image.flickr/default.py", line 683, in <module> doPlugin() File "/root/.xbmc/addons/plugin.image.flickr/default.py", line 599, in doPlugin if not fsession.authenticate(): File "/root/.xbmc/addons/plugin.image.flickr/default.py", line 227, in authenticate (token, frob) = self.flickr.get_token_part_one(perms='read',auth_callback=self.doTokenDialog) File "/root/.xbmc/addons/plugin.image.flickr/flickrapi/__init__.py", line 749, in get_token_part_one rsp = self.auth_getFrob(auth_token=None, format='xmlnode') File "/root/.xbmc/addons/plugin.image.flickr/flickrapi/__init__.py", line 349, in handler parse_format=args['format'], **args) File "/root/.xbmc/addons/plugin.image.flickr/flickrapi/__init__.py", line 427, in __wrap_in_parser data = wrapped_method(*args, **kwargs) File "/root/.xbmc/addons/plugin.image.flickr/flickrapi/__init__.py", line 402, in __flickr_call flicksocket = urllib2.urlopen(url, post_data) File "/usr/local/lib/python2.6/urllib2.py", line 126, in urlopen return _opener.open(url, data, timeout) File "/usr/local/lib/python2.6/urllib2.py", line 391, in open response = self._open(req, data) File "/usr/local/lib/python2.6/urllib2.py", line 409, in _open '_open', req) File "/usr/local/lib/python2.6/urllib2.py", line 369, in _call_chain result = func(*args) File "/usr/local/lib/python2.6/urllib2.py", line 1181, in http_open return self.do_open(httplib.HTTPConnection, req) File "/usr/local/lib/python2.6/urllib2.py", line 1156, in do_open raise URLError(err) URLError: <urlopen error [Errno -2] Name or service not known> 13:32:30 T:2696838032 INFO: -->End of Python script error report<-- 13:32:30 T:2696838032 INFO: Python script stopped 13:32:30 T:2696838032 DEBUG: Thread XBPyThread 2696838032 terminating 13:32:30 T:2800753552 DEBUG: WaitOnScriptResult - plugin exited prematurely - terminating 13:32:30 T:3041801968 ERROR: GetDirectory - Error getting plugin://plugin.image.flickr 13:32:30 T:3041801968 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.image.flickr) failed 13:32:30 T:3041801968 DEBUG: CGUIMediaWindow::GetDirectory (addons://sources/image/) 13:32:30 T:3041801968 DEBUG: ParentPath = [] 13:32:30 T:2938604432 DEBUG: Thread Background Loader start, auto delete: 0 13:32:30 T:2938604432 DEBUG: Thread Background Loader 2938604432 terminating 13:32:30 T:2738801552 DEBUG: Thread Background Loader start, auto delete: 0 13:32:30 T:2738801552 DEBUG: Thread Background Loader 2738801552 terminating 13:32:30 T:3041801968 DEBUG: waiting for python thread 16 to stop 13:32:30 T:3041801968 DEBUG: python thread 16 destructed - ruuk - 2012-01-22 00:13 biga888 Wrote:Hi I tried to run under Eden but I keep getting the following. I get no chance to enter in any auth code etc. I submitted a new version for Eden yesterday. It's not approved yet but try that one when it is and see if it works. If I get a chance I'll make a zip and post a download link so you don't have to wait (though it should only take a day or so) I'm not sure what's going on with that error. What did you do that led up to that error - for instance did the dialog show asking you to choose you authentication method and which did you select? - biga888 - 2012-01-22 04:01 I try and click the plugin, and all I get is a script error in the lower right of the screen. I can get into the add-on settings ok, but the script will not run from the photo add-ons. I looked at the changes for the plugin on the google repository and I did not see anything change except the version numbers. Unless I was looking in the wrong place. - ruuk - 2012-01-22 21:24 biga888 Wrote:I try and click the plugin, and all I get is a script error in the lower right of the screen. I can get into the add-on settings ok, but the script will not run from the photo add-ons. Try this zip: http://flickrxbmc.googlecode.com/files/plugin.image.flickr-0.9.92.zip It may not fix your problem, but it will be easier to debug with this version. The error seems to be related to resolving the flickr authorization URL: http://api.flickr.com/services/auth/ What OS are you running XBMC on? If you can, type that url into a browser on the same machine and see if resolves the page. This doesn't look at first glance to be a problem with the addon itself, but it's really hard to tell without more info. Version 0.9.92 - ruuk - 2012-01-22 23:35 Version 0.9.92 should now be on Eden. Minor changes to be Eden compatible and some improvement in error handling. - biga888 - 2012-01-23 01:09 OK, got it working. I was messing around with my python install, and I hosed it. I just dd a reinstall and it works with both versions. Thank for the help, great to see my pictures now! Version 0.9.93 - ruuk - 2012-03-17 21:47 Added sharing with ShareSocial. Download v0.9.93 zip ShareSocial thread - go here for info about the new features. v0.9.94 - ruuk - 2012-03-26 01:25 View videos (finally) Get it here: http://flickrxbmc.googlecode.com/files/plugin.image.flickr-0.9.94.zip |