Skip to content

Conversation

@dagwieers
Copy link
Collaborator

I experienced the following exception:

                                              File "/storage/.kodi/addons/plugin.video.vrt.nu/resources/lib/kodiutils.py", line 1128, in open_url
                                                log_error('{error}\nurl: {url}', error=exc.reason, url=url)
                                            AttributeError: 'SSLError' object has no attribute 'reason'

What is strange is that this is on a Python 2.7.16 (LibreELEC v9.2.8)
while according to the documentation this should not be happening.

I implemented 2 workarounds, based on possible values for 2.7.8 and
earlier releases.

@dagwieers dagwieers added the bug Something isn't working label Aug 30, 2020
@dagwieers
Copy link
Collaborator Author

I could not test this as the issue was resolved in the meantime.
But we check everything to ensure we use the proper values, so I think this is fine.

I experienced the following exception:

```
                                              File "/storage/.kodi/addons/plugin.video.vrt.nu/resources/lib/kodiutils.py", line 1128, in open_url
                                                log_error('{error}\nurl: {url}', error=exc.reason, url=url)
                                            AttributeError: 'SSLError' object has no attribute 'reason'
```

What is strange is that this is on a Python 2.7.16 (LibreELEC v9.2.8)
while according to the documentation this should not be happening.

I implemented 2 workarounds, based on possible values for 2.7.8 and
earlier releases.
@mediaminister
Copy link
Collaborator

mediaminister commented Aug 30, 2020

LibreELEC v9.2.8? Does this exist?
It might be related to the openssl version if LibreELEC builts Python from source...

@mediaminister mediaminister merged commit f6e1ab2 into master Aug 30, 2020
@mediaminister mediaminister deleted the sslerror-fix-py27 branch August 30, 2020 09:19
@dagwieers
Copy link
Collaborator Author

LibreELEC v9.2.8? Does this exist?

A verifiable error, I meant v9.2.4 🙄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants