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

Unicode error in search #6

Open
moretacs opened this issue Jan 15, 2018 · 0 comments
Open

Unicode error in search #6

moretacs opened this issue Jan 15, 2018 · 0 comments

Comments

@moretacs
Copy link

moretacs commented Jan 15, 2018

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.

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