Коди Фен Форум България
DRAMAFEVER (DEPRECATED) - Версия за принтиране

+- Коди Фен Форум България (https://kodibg.org/forum)
+-- Форум: Общи проблеми, решения и взаимопомощ (https://kodibg.org/forum/forum-4.html)
+--- Форум: Компоненти за Kodi (https://kodibg.org/forum/forum-5.html)
+--- Тема: DRAMAFEVER (DEPRECATED) (/thread-79.html)

Страници: 1 2 3 4 5 6 7 8 9


RE: DRAMAFEVER - icexshinigami - 22-05-2018

I wiped my kodi and installed from scratch and df addon seems it will no longer open.
https://pastebin.com/HALKwmgj




RE: DRAMAFEVER - shantros - 22-05-2018

It works well for me, but depends on your geographic position or the VPN settings because there are a lot of things that are geoblocked.


  [Изображение: wNGMV0kl.png]



RE: DRAMAFEVER - Majide - 22-05-2018

Цитат:Error Type: <class 'urllib2.URLError'> Error Contents: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)>

This type of error occurs sometimes only in python under Windows and is not a error in the add-on, but in the python implementation of Kodi. I have tested the DF addon in Kodi 17.6 under Windows 8.1 and is working normally. But sometimes, it must be fixed security certificate store file that is used by python.



RE: DRAMAFEVER - icexshinigami - 22-05-2018

I have tried 16.1/17.1/17.3/17.6 and they all wont open.

Any Idea how to fix it. I read through that but how would one fix that certificate?


RE: DRAMAFEVER - Majide - 22-05-2018

Try this:
Цитат:On Windows, Python does not look at the system certificate, it uses its own located at ?\lib\site-packages\certifi\cacert.pem.

The solution to your problem:

1.download the domain validation certificate as *.crt or *pem file from HERE
2.open the file in editor and copy it's content to clipboard
3.find your cacert.pem location: from requests.utils import DEFAULT_CA_BUNDLE_PATH; print(DEFAULT_CA_BUNDLE_PATH)
4.edit the cacert.pem file and paste your domain validation certificate at the end of the file.
5.Save the file and enjoy requests!

Link to the discusion >>>


RE: DRAMAFEVER - icexshinigami - 22-05-2018

there seems to be no certifi folder in the kodi install.


RE: DRAMAFEVER - shantros - 22-05-2018

Switch to Linux and you will not regret it because you will save some time and nerves to solve problems that are deliberately set in Windows.  Cool


RE: DRAMAFEVER - ByJohnie - 22-05-2018

try on line 55 of addon.py
Код:
f = opener.open(req, response = urllib2.urlopen(request, context=ssl._create_unverified_context()))
on first lines where import new line and enter
Код:
import ssl
if that help on line 55 and has error on other lines, be sure to add that first "f=" and so on where has on that .py file.
I bypass that ssl errors on windows, on some other websites not on that kodi addon but you can try

or this at top op addon.py
Код:
ssl._create_default_https_context = ssl._create_unverified_context
and this before - "req"
Код:
context = ssl._create_unverified_context()



RE: DRAMAFEVER - shantros - 22-05-2018

Strangely, I now installed DF on KODI 18 under Windows 10, and the DF went straight away without any complications


RE: DRAMAFEVER - icexshinigami - 24-05-2018

took some drastic measures... format and wiped windows 10 3x and reinstalled kodi and DF first thing and it works... not sure what was wrong with it.