Skip to content

Python version problem #56

Description

@electro575

Hi all,

I have installed this plugin.

Be appear, the plugin is writed with python 2 instead of python 3 is installed.

2024-01-26 15:13:46.826 T:1310    error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'sqlite3.OperationalError'>
                                                   Error Contents: no such table: favourites
                                                   Traceback (most recent call last):
                                                     File "/storage/.kodi/addons/plugin.video.iptv.recorder/main.py", line 3450, in <module>
                                                       plugin.run()
                                                     File "/storage/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 338, in run
                                                       items = self._dispatch(self.request.path)
                                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                                     File "/storage/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 312, in _dispatch
                                                       listitems = view_func(**items)
                                                                   ^^^^^^^^^^^^^^^^^^
                                                     File "/storage/.kodi/addons/plugin.video.iptv.recorder/main.py", line 2164, in favourite_channels
                                                       return group(section="FAVOURITES")
                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                                     File "/storage/.kodi/addons/plugin.video.iptv.recorder/main.py", line 2196, in group
                                                       favourite_channels = cursor.execute("SELECT * FROM favourites ORDER BY channelname").fetchall()
                                                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                                   sqlite3.OperationalError: no such table: favourites
                                                   -->End of Python script error report<--
                                                   
2024-01-26 15:13:46.971 T:1309    error <general>: GetDirectory - Error getting plugin://plugin.video.iptv.recorder/favourite_channels
2024-01-26 15:13:46.980 T:1067    error <general>: CGUIMediaWindow::GetDirectory(plugin://plugin.video.iptv.recorder/favourite_channels) failed
2024-01-26 15:13:47.648 T:1312  warning <general>: [xbmcswift2] No converter provided, unicode should be used, but returning str value
2024-01-26 15:13:47.680 T:1312     info <general>: [xbmcswift2] Request for "/" matches rule for function "index"
2024-01-26 15:13:47.681 T:1312  warning <general>: [xbmcswift2] No converter provided, unicode should be used, but returning str value
2024-01-26 15:13:49.990 T:1317     info <general>: Skipped 3 duplicate messages..
2024-01-26 15:13:49.990 T:1317     info <general>: [xbmcswift2] Request for "/groups" matches rule for function "groups"
2024-01-26 15:13:50.007 T:1317    error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'sqlite3.OperationalError'>
                                                   Error Contents: no such table: streams
                                                   Traceback (most recent call last):
                                                     File "/storage/.kodi/addons/plugin.video.iptv.recorder/main.py", line 3450, in <module>
                                                       plugin.run()
                                                     File "/storage/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 338, in run
                                                       items = self._dispatch(self.request.path)
                                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                                     File "/storage/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 312, in _dispatch
                                                       listitems = view_func(**items)
                                                                   ^^^^^^^^^^^^^^^^^^
                                                     File "/storage/.kodi/addons/plugin.video.iptv.recorder/main.py", line 2348, in groups
                                                       channelgroups = cursor.execute("SELECT DISTINCT groups FROM streams ORDER BY groups").fetchall()
                                                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                                   sqlite3.OperationalError: no such table: streams
                                                   -->End of Python script error report<--

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions