plugin.video.covenant icon indicating copy to clipboard operation
plugin.video.covenant copied to clipboard

Unicode error in search

Open moretacs opened this issue 7 years ago • 0 comments

unicode special characters like (ä ö ü) do not work in search

Movies with german umlauts are not displayed in the search. For example, a search for the following german movies: "Das Vermächtnis der Tempelritter" "Der Baron von Münchhausen" "Die Tränen des Mörders"

kodi.log: 17:49:58.453 T:8772 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_factory = str). It is highly recommended that you instead just switch your application to Unicode strings. Traceback (most recent call last): File "C:\Users\USERNAME\AppData\Roaming\Kodi\addons\plugin.video.covenant\covenant.py", line 153, in <module> movies.movies().search_new() File "C:\Users\USERNAME\AppData\Roaming\Kodi\addons\script.module.covenant\lib\resources\lib\indexers\movies.py", line 213, in search_new dbcur.execute("INSERT INTO movies VALUES (?,?)", (None,q)) ProgrammingError: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings. -->End of Python script error report<-- 17:49:58.503 T:6032 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.covenant/?action=movieSearchnew 17:49:58.505 T:6032 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.covenant/?action=movieSearchnew) failed

I can not switch kodi Interface-Settings to unicode. The character-set is set to default. In Exodus everything works fine, with the current settings.

moretacs avatar Jan 15 '18 17:01 moretacs