Skip to content
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

PythonToCppException drops whenever a stream is selected #4

Open
5 of 16 tasks
chvolkmann opened this issue Nov 1, 2017 · 0 comments
Open
5 of 16 tasks

PythonToCppException drops whenever a stream is selected #4

chvolkmann opened this issue Nov 1, 2017 · 0 comments

Comments

@chvolkmann
Copy link

  • **I'm submitting a ... **
    • bug report
    • feature request
    • support request

General infomration

I am running the newest LibreELEC 9.0 Milhouse on a RPi 3 with Kodi 18.0 Alpha 1. I can't watch any stream using the addon.

Prerequisites

  • Are you running the latest version?

Description

I can't the addon to run at all. I login with my credentials (customer ID and password), select a stream to watch and an error drops. Further trying to change my login information or logging out is not possible as the same error occurs (see below).

Steps to Reproduce

  1. Have LibreELEC 9.0 Milhouse with Kodi 18 Alpha 1
  2. Get the addon through the kodinerds repo
  3. Login with your credentials, customer ID and password in my case
  4. Select a stream
  5. An error drops

Expected behavior: The stream should open

Actual behavior: The error above is dropped.

Context (Environment)

RPi 3, LibreElec 9, Kodi 18 Alpha 1

Installation

  • I installed the plugin via zip from the Releases page
  • I´m using the Kodinerds Repo

Kodi

  • v15
  • v16
  • < v17.4
  • >= v17.4
  • v18

Operating System

  • Linux (x86/x64)
  • OSX (x86/x64)
  • Windows (x86/x64)
  • Linux (ARM)
  • Android

Additional informatin on the environment

LibreElec 9

Debug log

14:08:29.238 T:1447031696  NOTICE: [Telekom Sport] Started (Version 1.2.7)
14:09:07.252 T:1447031696   ERROR: /storage/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/connectionpool.py:843: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
                                              InsecureRequestWarning)
14:09:08.777 T:1447031696   ERROR: Previous line repeats 4 times.
14:09:08.777 T:1447031696  NOTICE: [Telekom Sport] Sport selection
14:09:30.790 T:1413477264  NOTICE: [Telekom Sport] Started (Version 1.2.7)
14:09:33.422 T:1413477264   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ValueError'>
                                            Error Contents: Invalid data length, data must be a multiple of 8 bytes
                                            .
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/addons/plugin.video.telekom-sport/addon.py", line 227, in <module>
                                                USER, PASSWORD = SETTINGS.get_credentials()
                                              File "/storage/.kodi/addons/plugin.video.telekom-sport/resources/lib/Settings.py", line 134, in get_credentials
                                                return (self.decode(user), self.decode(password))
                                              File "/storage/.kodi/addons/plugin.video.telekom-sport/resources/lib/Settings.py", line 89, in decode
                                                data=base64.b64decode(s=data))
                                              File "/storage/.kodi/addons/script.module.pydes/lib/pyDes.py", line 836, in decrypt
                                                block = self.__key3.crypt(iv,    DECRYPT)
                                              File "/storage/.kodi/addons/script.module.pydes/lib/pyDes.py", line 572, in crypt
                                                raise ValueError("Invalid data length, data must be a multiple of " + str(self.block_size) + " bytes\n.")
                                            ValueError: Invalid data length, data must be a multiple of 8 bytes
                                            .
                                            -->End of Python script error report<--
14:09:33.614 T:1942609936   ERROR: GetDirectory - Error getting plugin://plugin.video.telekom-sport/?for=bbl
14:09:33.615 T:1942609936   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.telekom-sport/?for=bbl) failed

Other information

The environment is freshly set up, the Netflix, SkyGo and AmazonPrime plugins are running smoothly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant