-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't do anything, crash. #60
Comments
Exit youtube. Delete /var/lib/kodi/.kodi/userdata/addons_data/plugin.video.youtube restart youtube. It will do the re-configure. By the way no one is testing 17. I found it works on alpha3. What distro are you using? Jeff
|
@jdf76 Already did that, a bunch of times :/. Any other tips? I compiled 17 yesterday, took like 2 and a half hours, but I found it a bit laggy and removed it. And youtube behaves exactly the same. I works after kodi installation, but when I close it and open it again, it does't work anymore. I'm using archlinux x64. |
Try it with 16.1 Jeff
|
@jdf76 I am using 16.1 |
oh ok, I read 17 somewheres. did you compile yourself Kodi 16? if you did, try just using the stock build thats put out there. If you didn’t and are using the stock version, then unfortunately i’m not sure where to go next. Thanks, Jeff
|
@jdf76 Yep, I'm using the ¨stock¨ version of Kodi 16.1 (I compiled the version 17). |
Try going into the forums, i don’t think it’s a youtube plugin issue, if it were it should effect a lot of people. Try hitting up some of the people in forums to see what they think? Thanks
|
I have been dealing with the same problem for a couple weeks. Same archlinux x64 setup. I have tried downgrading to previous versions of the youtube addon, python, and kodi with no success. Why have all comments by @jdf76 disappeared? |
@opeeba I have no idea about the missing comments. But I can tell you this about the youtube problem: Apparently, the problem only appears when you change the skin. If you keep the default one, youtube works just fine. Strange...but I have a working youtube now. |
@Ragama I have only been using the default skin (Confluence) |
This seems to be a problem with python. I get the same exact error after update with my TED-plugin. I am running Debian Testing and after updating today no videoplugins seems to work anymore. |
I can confirm that the "problem" lies within Python 2.7.12. A lot of changes for urllib2 in that release that gives the URLError(err). I am no coder so I can't really say what needs to be changed for the plugin but a downgrade to 2.7.8 (I do not recommend this though) solved the problem for me and youtube is now working again. |
@dencrypt currently I am using Python 2.7.12, and I have no problems with twitch/youtube. But if I change the skin... |
@FORBI Then I can only guess what's causing it. Maybe the skin (confluence?) is somehow overriding the way the plugin retrieves urls? |
Backtrace looks mostly useless. Tried to grab problematic URL using from
but i have nothing in kodi logs. How to write values into |
Any more clue on this? |
I've forgot to write my findings. |
Got a solution for you folks.
Just restart kodi, and enjoy. |
This sounds like it's probably the same issue that I reported to Kodi and pyopenssl: |
@xsellier Thank you for your solution. It works on Arch Linux when downgrading the python2-pyopenssl package to 0.15.1-3. |
It also works with 16.0. I got mine working by runninng pip install --user pyopenssl=16.0. Now, I just have to remember to remove the version installed under my home directory when this is fixed. |
This is supposedly fixed in pyopenssl 16.2 (see pyca/pyopenssl#542). I didn't test myself though as I am waiting for the official debian package. |
Upgraded to pyopenssl 16.2 in Ubuntu 16.10 and it worked! This was driving me insane! |
Hey, I realize this issue is closed but I'm still dealing with issues related to this. OS: Ubuntu 16.04.1 LTS I have pyOpenSSL installed with pip because:
The problem in my case is that when pyOpenSSL (16.2) is installed with pip, it breaks the YouTube addon functionality (same Anyone know why this may be happening, or can think of a workaround? Basically, I want Kodi to use pyOpenSSL with its default library's package, and not the one I installed with pip (although I don't see why it should work with pip's package). EDIT Dec 13: The latest version of |
@noam09 thanks for the follow up. Same issue happening on Fedora 25 with Kodi 17RC3 These two commands did the trick: pip install pyopenssl --upgrade |
This repo is no longer updated.
try jdf76/plugin.video.youtube.
Also you may get further by hitting the forums on http://forum.kodi.tv/showthread.php?tid=267160 <http://forum.kodi.tv/showthread.php?tid=267160>
Thanks
Jeff
… On Jan 18, 2017, at 11:13 AM, Ari ***@***.***> wrote:
@noam09 <https://github.com/noam09> thanks for the follow up. Same issue happening on Fedora 25 with Kodi 17RC3
These two commands did the trick:
pip install pyopenssl --upgrade
pip install cryptography --upgrade
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub <#60 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ALozLYreFlHYs-vB4upUBR9d6hYe2pbhks5rTjoRgaJpZM4J0auM>.
|
@arigit: reinstalling pyopenssl and cryptography did not resolve anything for me. Posted as issue on the new plugin repo: jdf76/plugin.video.youtube#14 |
20:10:50 T:140092208310016 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <class 'urllib2.URLError'> Error Contents: <urlopen error [Errno 0] Error> Traceback (most recent call last): File "/var/lib/kodi/.kodi/addons/plugin.video.youtube/default.py", line 7, in <module> runner.run(__provider__) File "/var/lib/kodi/.kodi/addons/plugin.video.youtube/resources/lib/kodion/runner.py", line 32, in run __RUNNER__.run(provider, context) File "/var/lib/kodi/.kodi/addons/plugin.video.youtube/resources/lib/kodion/impl/xbmc/xbmc_runner.py", line 23, in run results = provider.navigate(context) File "/var/lib/kodi/.kodi/addons/plugin.video.youtube/resources/lib/kodion/abstract_provider.py", line 123, in navigate result = method(context, re_match) File "/var/lib/kodi/.kodi/addons/plugin.video.youtube/resources/lib/kodion/abstract_provider.py", line 255, in _internal_search return self.on_search(query, context, re_match) File "/var/lib/kodi/.kodi/addons/plugin.video.youtube/resources/lib/youtube/provider.py", line 477, in on_search page_token=page_token) File "/var/lib/kodi/.kodi/addons/plugin.video.youtube/resources/lib/kodion/utils/function_cache.py", line 107, in get cached_data = partial_func() File "/var/lib/kodi/.kodi/addons/plugin.video.youtube/resources/lib/youtube/client/youtube.py", line 488, in search return self._perform_v3_request(method='GET', path='search', params=params, quota_optimized=False) File "/var/lib/kodi/.kodi/addons/plugin.video.youtube/resources/lib/youtube/client/youtube.py", line 615, in _perform_v3_request result = requests.get(_url, params=_params, headers=_headers, verify=False, allow_redirects=allow_redirects) File "/var/lib/kodi/.kodi/addons/plugin.video.youtube/resources/lib/kodion/simple_requests/api.py", line 179, in get return _request('GET', url, **kwargs) File "/var/lib/kodi/.kodi/addons/plugin.video.youtube/resources/lib/kodion/simple_requests/api.py", line 155, in _request response = opener.open(request) File "/usr/lib/python2.7/urllib2.py", line 429, in open response = self._open(req, data) File "/usr/lib/python2.7/urllib2.py", line 447, in _open '_open', req) File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain result = func(*args) File "/usr/lib/python2.7/urllib2.py", line 1241, in https_open context=self._context) File "/usr/lib/python2.7/urllib2.py", line 1198, in do_open raise URLError(err) URLError: <urlopen error [Errno 0] Error> -->End of Python script error report<-- 20:10:50 T:140094213235968 ERROR: GetDirectory - Error getting plugin://plugin.video.youtube/kodion/search/query/?q=acdx 20:10:50 T:140094213235968 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/kodion/search/query/?q=acdx) failed 20:10:50 T:140092208310016 NOTICE: [plugin.video.youtube] Running: YouTube (5.2.2) on Jarvis (16.1) with Python 2.7.12
The text was updated successfully, but these errors were encountered: