Оценете темата:
  • 2 гласа - средно 5
  • 1
  • 2
  • 3
  • 4
  • 5
DRAMAFEVER (DEPRECATED)
#61
I wiped my kodi and installed from scratch and df addon seems it will no longer open.
https://pastebin.com/HALKwmgj

#62
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]
#63
Цитат: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.
[Изображение: notrobosmall.jpg]
#64
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?
#65
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 >>>
[Изображение: notrobosmall.jpg]
#66
there seems to be no certifi folder in the kodi install.
#67
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
#68
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()
#69
Strangely, I now installed DF on KODI 18 under Windows 10, and the DF went straight away without any complications
#70
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.


Теми, които вероятно са свързани...
Тема: Автор Отговори: Прегледи: Последна публикация
  TUBITV (DEPRECATED) Majide 15 27,013 24-05-2021, 17:59
Последна публикация: Majide

Отваряне на: