2014-04-22, 19:33
(2014-04-21, 06:13)sogopot Wrote: Well, lets see if we can get things working for ya.
What device are you running XBMC on?
You say you first installed from the repository, then tried a posted fix addon. It's possible XBMC isn't overwriting the original addon package, so you'll need to delete that package.
If you're running this on a linux based system, it's possible your curl is outdated causing issues. Check this post for more information --> LINK.
If you're running Windows, try this.
- Download the addon packaged listed in this post --> LINK
- Since you stated you have the YouTube plugin installed, lets delete the plugin package file to enusre the revised plugin installs properly. That file can be found by entering the following into Windows Start Menu search box: %appdata%\XBMC\addons\packages Once the packages folder is opened, delete any instance of the file named: plugin.video.youtube
- Next, open the addons folder by entering %appdata%\XBMC\addons\ Look for a folder named: plugin.video.youtube. If that folder exists, then delete the folder.
- Next, open the addon_data folder by entering %appdata%\XBMC\userdata\addon_data Look for a folder named: plugin.video.youtube. If that folder exists, then delete the folder.
- Last, install the plugin manually by starting XBMC, then go to Settings>Addons>Install from zip
After install, enter your YouTube username and password to see if it works.
Hi I've done everything I was supposed to (windows 7), but my error is still the same for more than a year now:
Code:
19:24:40 T:4908 NOTICE: Loading cookies from :'C:\\Users\\xxx\\AppData\\Roaming\\XBMC\\userdata\\addon_data\\plugin.video.youtube\\yt-cookiejar.txt'
19:24:40 T:4908 NOTICE: YouTube-4.4.6
19:24:40 T:4908 NOTICE: CommonFunctions-2.5.1
19:25:32 T:4908 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnicodeEncodeError'>
Error Contents: 'ascii' codec can't encode character u'\u0159' in position 1: ordinal not in range(128)
Traceback (most recent call last):
File "C:\Users\xxx\AppData\Roaming\XBMC\addons\plugin.video.youtube\default.py", line 111, in <module>
login.login()
File "C:\Users\xxx\AppData\Roaming\XBMC\addons\plugin.video.youtube\YouTubeLogin.py", line 75, in login
result, status = self.authorize()
File "C:\Users\xxx\AppData\Roaming\XBMC\addons\plugin.video.youtube\YouTubeLogin.py", line 85, in authorize
(result, status) = self._httpLogin({"new": "true"})
File "C:\Users\xxx\AppData\Roaming\XBMC\addons\plugin.video.youtube\YouTubeLogin.py", line 183, in _httpLogin
ret = self.core._fetchPage(fetch_options)
File "C:\Users\xxx\AppData\Roaming\XBMC\addons\plugin.video.youtube\YouTubeCore.py", line 400, in _fetchPage
request = urllib2.Request(link, urllib.urlencode(get("url_data")))
File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib.py", line 1326, in urlencode
v = quote_plus(str(v))
UnicodeEncodeError: 'ascii' codec can't encode character u'\u0159' in position 1: ordinal not in range(128)
-->End of Python script error report<--
19:25:32 T:6904 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.youtube/
19:25:32 T:6904 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/) failed