• 1
  • 2(current)
  • 3
  • 4
  • 5
  • 8
Release ShareSocial - Social media sharing & More
#16
View Vimeo videos from feeds
View flickr photos and videos from feeds (requires v0.9.94 or greater of flickr addon Get it here )
Added register() to ShareTarget class
Added toPluginRunscriptString() to Share class
Added handling share from Share as string passed to share.py
Some fixes for when there are no feed sources

Get it here:

http://share-social-xbmc.googlecode.com/...-0.1.3.zip
Reply
#17
Hi I get a blank screen when trying to run Share social, and I also receive an error when attempting to add a twitter account.

Here's my log from when I tried to access sharesocial
Code:
14:49:54 T:6952  NOTICE: -->Python Interpreter Initialized<--
14:49:54 T:1480   ERROR: CLocalizeStrings::ClearBlock: Trying to clear non existent block C:\Users\Angel\AppData\Roaming\XBMC\addons\script.web.viewer
14:49:54 T:6952  NOTICE: ShareSocial: share.py: Registered as share target for Twitter
14:49:54 T:6952   ERROR: C:\Users\Angel\AppData\Roaming\XBMC\addons\script.module.sharesocial\share.py:192: DeprecationWarning: object.__init__() takes no parameters
                                              xbmcgui.WindowXML.__init__( self, *args, **kwargs )
14:49:54 T:1480   ERROR: Control 120 in window 13001 has been asked to focus, but it can't
14:49:54 T:6952  NOTICE: ('en_US', 'cp1252')
14:49:54 T:6952  NOTICE: ('en_US', 'cp1252')
14:49:54 T:6952  NOTICE: ('en_US', 'cp1252')
14:49:55 T:6952  NOTICE: ShareSocial: Error importing module twitter_share for share target script.module.sharesocial.
14:49:55 T:6952   ERROR: Traceback (most recent call last):
14:49:55 T:6952   ERROR:   File "C:\Users\Angel\AppData\Roaming\XBMC\addons\script.module.sharesocial\lib\ShareSocial.py", line 706, in getFunctions
14:49:55 T:6952   ERROR:     mod = __import__(module)
14:49:55 T:6952   ERROR:   File "C:\Users\Angel\AppData\Roaming\XBMC\addons\script.module.sharesocial\twitter_share.py", line 2, in <module>
14:49:55 T:6952   ERROR:     from twitter import TwitterSession, LOG, getUserList, TwitterUser
14:49:55 T:6952   ERROR:   File "C:\Users\Angel\AppData\Roaming\XBMC\addons\script.module.sharesocial\twitter.py", line 2, in <module>
14:49:55 T:6952   ERROR:     from twython import twython
14:49:55 T:6952   ERROR:   File "C:\Users\Angel\AppData\Roaming\XBMC\addons\script.module.sharesocial\twython\__init__.py", line 1, in <module>
14:49:55 T:6952   ERROR:     from twython import Twython
14:49:55 T:6952   ERROR:   File "C:\Users\Angel\AppData\Roaming\XBMC\addons\script.module.sharesocial\twython\twython.py", line 19, in <module>
14:49:55 T:6952   ERROR:     import httplib2
14:49:55 T:6952   ERROR: ImportError: No module named httplib2
14:49:55 T:6952   ERROR: Exception in python script callback execution
14:49:55 T:6952   ERROR: Traceback (most recent call last):
14:49:55 T:6952   ERROR:   File "C:\Users\Angel\AppData\Roaming\XBMC\addons\script.module.sharesocial\share.py", line 206, in onInit
14:49:55 T:6952   ERROR: if self.shouldRefresh(last): self.fillFeedList()
14:49:55 T:6952   ERROR:   File "C:\Users\Angel\AppData\Roaming\XBMC\addons\script.module.sharesocial\share.py", line 251, in fillFeedList
14:49:55 T:6952   ERROR: pcall = f.getProvideCall()
14:49:55 T:6952   ERROR:   File "C:\Users\Angel\AppData\Roaming\XBMC\addons\script.module.sharesocial\lib\ShareSocial.py", line 733, in getProvideCall
14:49:55 T:6952   ERROR: return self.functions().provide
14:49:55 T:6952   ERROR: AttributeError
14:49:55 T:6952   ERROR: :
14:49:55 T:6952   ERROR: ShareFailure instance has no attribute 'provide'
14:49:55 T:8184  NOTICE: AUTH DONE
14:49:58 T:4848  NOTICE:  Erreur urllib : [Errno 22] invalid mode ('wb') or filename: 'C:\\Users\\Angel\\AppData\\Roaming\\XBMC\\userdata\\addon_data\\script.headlines/Rss-user_timeline.rss?screen_name=icefilmsinfo'
14:49:58 T:8184  NOTICE: plugin.image.flickr: Providing feed to ShareSocial
14:49:58 T:8184  NOTICE: ShareSocial: ShareTarget.provideWithCall(): Error in target provide() function
14:49:58 T:8184   ERROR: Traceback (most recent call last):
14:49:58 T:8184   ERROR:   File "C:\Users\Angel\AppData\Roaming\XBMC\addons\script.module.sharesocial\lib\ShareSocial.py", line 739, in provideWithCall
14:49:58 T:8184   ERROR:     if not userIDs: return provideCall(getObject)
14:49:58 T:8184   ERROR:   File "C:\Users\Angel\AppData\Roaming\XBMC\addons\plugin.image.flickr\share.py", line 19, in provide
14:49:58 T:8184   ERROR:     g = photos.find('items').find('item').attrib.get
14:49:58 T:8184   ERROR: AttributeError: 'NoneType' object has no attribute 'attrib'
14:49:59 T:4848  NOTICE:  Erreur urllib : [Errno 22] invalid mode ('wb') or filename: 'C:\\Users\\Angel\\AppData\\Roaming\\XBMC\\userdata\\addon_data\\script.headlines/Rss-user_timeline.rss?screen_name=icefilmsinfo'

And here is my log from when I try to add the twitter account.

Code:
14:52:43 T:7536  NOTICE: -->Python Interpreter Initialized<--
14:52:43 T:7536   ERROR: Error Type: <type 'exceptions.ImportError'>
14:52:43 T:7536   ERROR: Error Contents: No module named httplib2
14:52:43 T:7536   ERROR: Traceback (most recent call last):
                                              File "C:\Users\Angel\AppData\Roaming\XBMC\addons\script.module.sharesocial\share.py", line 687, in <module>
                                                addTwitterUser()
                                              File "C:\Users\Angel\AppData\Roaming\XBMC\addons\script.module.sharesocial\share.py", line 677, in addTwitterUser
                                                from twitter import TwitterSession
                                              File "C:\Users\Angel\AppData\Roaming\XBMC\addons\script.module.sharesocial\twitter.py", line 2, in <module>
                                                from twython import twython
                                              File "C:\Users\Angel\AppData\Roaming\XBMC\addons\script.module.sharesocial\twython\__init__.py", line 1, in <module>
                                                from twython import Twython
                                              File "C:\Users\Angel\AppData\Roaming\XBMC\addons\script.module.sharesocial\twython\twython.py", line 19, in <module>
                                                import httplib2
                                            ImportError: No module named httplib2
Reply
#18
when i try to add a twitter acount i get "script failed. sevice py" and when i load the addon i just get 2 empty boxes im using rc2 on windows and have the facebook addon installed and working and im using the latest version posted above
Reply
#19
(2012-03-27, 20:54)MrsAngelD Wrote: Hi I get a blank screen when trying to run Share social, and I also receive an error when attempting to add a twitter account.

Thanks for the log. I'll look into it and do some fixing as soon as I can.
(2012-03-27, 21:33)G elly N Wrote: when i try to add a twitter acount i get "script failed. sevice py" and when i load the addon i just get 2 empty boxes im using rc2 on windows and have the facebook addon installed and working and im using the latest version posted above

I'm going to assume you're problems have the same cause as MrsAngelD. Hopefully the fixes I do will apply to your problem as well,
Reply
#20
Adds httplib2 files which are a dependency of the Twitter api and not standard python.
They were already installed on my system which is why I didn't notice the problem.
Please let me know how this works for you.

Get it here:

http://share-social-xbmc.googlecode.com/...-0.1.4.zip

MrsAngelD: You were also getting an error with flickr. Looking at the log it appears that you have an empty photostream. Could you confirm whether this is true?
If that is the case, the version below will remove the errors from your log and simply log the incident instead.

Latest flickr version
Reply
#21
I installed 0.1.4 after installing 01.2 from the ts, didn't notice a newer version @ first.
Still get "Error Contents: No module named httplib2" in xbmc.log.
Restarted XBMC, no luck. Running a windows x64 install
Reply
#22
(2012-03-28, 21:56)josz Wrote: I installed 0.1.4 after installing 01.2 from the ts, didn't notice a newer version @ first.
Still get "Error Contents: No module named httplib2" in xbmc.log.
Restarted XBMC, no luck. Running a windows x64 install

Hmmmm, that doesn't seem possible. I just checked the zip and it has the httplib2 files, I re-checked the Twitter api code and it is in the path of all the imports.
Could you double check the installed version in the addon manager, and then verify that there is a directory named httplib2 in {local_xbmc_dir}/addons/script.module.sharesocial/twython/
If all that is correct, please send me a log (at least the portions around the httplib2 error).

Thanks
Reply
#23
(2012-03-28, 21:56)josz Wrote: I installed 0.1.4 after installing 01.2 from the ts, didn't notice a newer version @ first.
Still get "Error Contents: No module named httplib2" in xbmc.log.
Restarted XBMC, no luck. Running a windows x64 install

Force refresh on the repo. Give it a few minutes to check all repos you have installed and reboot. There's a weird issue with the repos not recognizing that something has been added once it discovers it's missing.

If that doesn't work, delete Addons**.db from your xbmc\userdata\database\ folder and restart. That will force it to rebuild the list of what's in what repo from scratch
Reply
#24
(2012-03-29, 02:56)Bstrdsmkr Wrote:
(2012-03-28, 21:56)josz Wrote: I installed 0.1.4 after installing 01.2 from the ts, didn't notice a newer version @ first.
Still get "Error Contents: No module named httplib2" in xbmc.log.
Restarted XBMC, no luck. Running a windows x64 install

Force refresh on the repo. Give it a few minutes to check all repos you have installed and reboot. There's a weird issue with the repos not recognizing that something has been added once it discovers it's missing.

If that doesn't work, delete Addons**.db from your xbmc\userdata\database\ folder and restart. That will force it to rebuild the list of what's in what repo from scratch

Will that help when installing from a zip file? ShareSocial isn't on any repository yet...
Reply
#25
Ahhh, I totally misread that. I was thinking that you were pulling httplib2 from the main repo

In that case there might be a problem with the folders under twython not being added to the python path. Maybe move it up to /addons/script.module.sharesocial/httplib2/ that's pretty much guaranteed to be on the path
Reply
#26
im still getting the same problem as my previous post after installing the new version
Reply
#27
(2012-03-29, 17:45)G elly N Wrote: im still getting the same problem as my previous post after installing the new version

I'll need your xbmc.log
Reply
#28
(2012-03-28, 21:25)ruuk Wrote: Adds httplib2 files which are a dependency of the Twitter api and not standard python.
They were already installed on my system which is why I didn't notice the problem.
Please let me know how this works for you.

Get it here:

http://share-social-xbmc.googlecode.com/...-0.1.4.zip

MrsAngelD: You were also getting an error with flickr. Looking at the log it appears that you have an empty photostream. Could you confirm whether this is true?
If that is the case, the version below will remove the errors from your log and simply log the incident instead.

Latest flickr version

Hi, I do in fact have items in my flickr stream. Also I tried your new version and I'm still getting the same errors. Here's another copy of my log.

I put a new copy of my log on pastebin for you. Thanks for your hard work, Smile

Angel

Reply
#29
(2012-03-30, 21:58)MrsAngelD Wrote: Also I tried your new version and I'm still getting the same errors. Here's another copy of my log.

I put a new copy of my log on pastebin for you. Thanks for your hard work, Smile

Angel

Thanks a bunch for the log.
I don't get why that error is still occurring, but I'll take a look at it and find out Smile
Reply
#30
This should fix the httplib2 import errors.

Get it here:

http://share-social-xbmc.googlecode.com/...-0.1.5.zip
Reply
  • 1
  • 2(current)
  • 3
  • 4
  • 5
  • 8

Logout Mark Read Team Forum Stats Members Help
ShareSocial - Social media sharing & More1