smitchell6879 / plugin.video.specialfeatures

Inspired by the new bluray features of Kodi 18; This addon will present all of the bonus videos, discs, versions you have of movies in your library.
GNU General Public License v3.0
2 stars 0 forks source link

Error while browsing movie list (special characters?) #37

Closed git-developer closed 6 years ago

git-developer commented 6 years ago

I'm using Special Features 3.0.1 on Kodi 17.6 with default db SQlite (not MySQL). In plugin configuration, I have configured Enable Context Menu.

When browsing my movie collection, I receive an error popup from Special Features hinting to the log. Here is the log:

19:22:26.837 T:14660    INFO: : QUERYING DATABASE
19:22:26.846 T:14660   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'sqlite3.ProgrammingError'>
                                            Error Contents: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_                                            Traceback (most recent call last):
                                              File "C:\Users\Christian\AppData\Roaming\Kodi\addons\plugin.video.specialfeatures\service.py", line 16, in <module>
                                                dbEnterExit().initDb('quikchk2')
                                              File "C:\Users\Christian\AppData\Roaming\Kodi\addons\plugin.video.specialfeatures\lib\iteration.py", line 223, in initDb
                                                self.queryDb('quikchk2')
                                              File "C:\Users\Christian\AppData\Roaming\Kodi\addons\plugin.video.specialfeatures\lib\iteration.py", line 558, in queryDb
                                                self.entry = self.sql.exeCute('fw_special',self.fnp,'one')
                                              File "C:\Users\Christian\AppData\Roaming\Kodi\addons\plugin.video.specialfeatures\lib\querylib.py", line 63, in exeCute
                                                cu.execute(self.command,(var,))
                                            ProgrammingError: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like tex                                            -->End of Python script error report<--
19:22:26.872 T:14660    INFO: Python script stopped

After the error message, the context menu entry for Special Features is missing.

I have some movies with special characters in their title and path which possibly leads to the error: grafik

git-developer commented 6 years ago

The issue was solved, thank you.