primaeval / plugin.video.iptv.recorder

GNU General Public License v3.0
43 stars 29 forks source link

Python version problem #56

Open electro575 opened 8 months ago

electro575 commented 8 months ago

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<--