Accented Characters stop db sql scanning
#1
On Openelec verision 4.0.7 i have tried to scan online film datebases like icefilms etc. When XBMC trieds to pull information from website such as Icefilms if there is an accented character in the title like 24 lá seíres, stops scanning the db and produces an error. I have checked this usings various addons and this error was introduced in 4.0.6 or 4.0.7. I have reverted back to 4.0.5 and the error does not occur.
Reply
#2
Is this connected to the operating system (OpenElec) rather than XBMC?
Are you saying that running the same XBMC version on two different OE versions produce different results?
How could that be possible....

I have experienced a rather big slowdown of XBMC when it auto-updated to Gotham, but I am running RASPBMC on my Pi.
And I do have videos with accented characters in the titles (Swedish åäö).

Could it be caused by the same error (in XBMC)?
Bo Berglund
Sweden
Reply
#3
It's unlikely platform specific, so it would be good if you could check for the same issue on a different platform (install a Helix alpha or Gotham 13.2 on your desktop and try). And no talk about piracy addons here.
Reply
#4
Just tested on OSX Mac version of gotham 13.2 and happens on that as well which leads me to the conclusion that is its xbmc related not the addon as it works fine on previous verisons of gotham will see if i can if an error log

11:39:24 T:4519305216 NOTICE: metahandler: Attempting to retreive meta data for tvshow: 24CH: la sÈrie
11:39:24 T:4519305216 ERROR: metahandler: ************* Error attempting to insert into tvshow_meta cache table: 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.
11:39:24 T:4519305216 ERROR: metahandler: Meta data: {'rating': 0, 'banner_url': '', 'TVShowTitle': '24CH: la s\xe9rie', 'year': 0, 'duration': '', 'plot': '', 'title': '24chlas\xe9rie', 'mpaa': '', 'imgs_prepacked': 'false', 'backdrop_url': '', 'status': '', 'tvdb_id': '', 'cover_url': '', 'imdb_id': '', 'studio': '', 'genre': '', 'episode': 0, 'overlay': 6, 'premiered': '', 'cast': '[]', 'playcount': 0, 'trailer_url': ''}
11:39:24 T:4519305216 NOTICE: metahandler: ---------------------------------------------------------------------------------------
11:39:24 T:4519305216 NOTICE: metahandler: Attempting to retreive meta data for tvshow: 24CH: la sÈrie 2013
11:39:24 T:4519305216 ERROR: metahandler: ************* Error attempting to insert into tvshow_meta cache table: 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.
11:39:24 T:4519305216 ERROR: metahandler: Meta data: {'rating': 0, 'banner_url': '', 'TVShowTitle': '24CH: la s\xe9rie', 'year': 2013, 'duration': '', 'plot': '', 'title': '24chlas\xe9rie', 'mpaa': '', 'imgs_prepacked': 'false', 'backdrop_url': '', 'status': '', 'tvdb_id': '', 'cover_url': '', 'imdb_id': '', 'studio': '', 'genre': '', 'episode': 0, 'overlay': 6, 'premiered': '', 'cast': '[]', 'playcount': 0, 'trailer_url': ''}
11:39:25 T:4519305216 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnicodeDecodeError'>
Error Contents: 'utf8' codec can't decode bytes in position 49-51: invalid data
Traceback (most recent call last):
File "/Users/LOVESHACK/Library/Application Support/XBMC/addons/script.icechannel/plugin.py", line 2344, in <module>
GetSection(indexer, indexer_id, section, url, type, page, total_pages, sort_by, sort_order)
File "/Users/LOVESHACK/Library/Application Support/XBMC/addons/script.icechannel/plugin.py", line 923, in GetSection
contextMenuItems.insert( 0 , ('[COLOR green]Add[/COLOR] to [COLOR royalblue]my[/COLOR]Stream', 'RunPlugin(%s)' % common.addon.build_plugin_url(istream_query_dict)))
File "/Users/LOVESHACK/Library/Application Support/XBMC/addons/script.icechannel/lib/entertainment/addon.py", line 237, in build_plugin_url
v.decode('utf8')
File "/Users/Shared/jenkins/workspace/XBMC-OSX-64/tools/depends/xbmc-depends/macosx10.8_x86_64-target/lib/python2.6/encodings/utf_8.py", line 16, in decode
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 49-51: invalid data
-->End of Python script error report<--
11:39:25 T:4519305216 WARNING: CPythonInvoker(25, /Users/LOVESHACK/Library/Application Support/XBMC/addons/script.icechannel/plugin.py): the python script "/Users/LOVESHACK/Library/Application Support/XBMC/addons/script.icechannel/plugin.py" has left several classes in memory that we couldn't clean up. The classes include: N9XBMCAddon9xbmcaddon5AddonE
11:39:25 T:140735203320592 ERROR: GetDirectory - Error getting plugin://script.icechannel/?episode&fanart&favorite=false&imdb_id&img&indexer=tv_shows&indexer_id=IceFilms&istream_path=%20%3a%20TV%20Shows%20%3a%20Ice%20Films%20%3a%20A-Z%20%3a%20%23123&mode=section&name&season&section=123&title=%23123&type=tv_shows&url=http%3a%2f%2fwww.icefilms.info%2ftv%2fa-z%2f1&urls&year
11:39:25 T:140735203320592 ERROR: CGUIMediaWindow::GetDirectory(plugin://script.icechannel/?episode&fanart&favorite=false&imdb_id&img&indexer=tv_shows&indexer_id=IceFilms&istream_path=%20%3a%20TV%20Shows%20%3a%20Ice%20Films%20%3a%20A-Z%20%3a%20%23123&mode=section&name&season&section=123&title=%23123&type=tv_shows&url=http%3a%2f%2fwww.icefilms.info%2ftv%2fa-z%2f1&urls&year) failed
11:39:25 T:4514713600 NOTICE: Thread LanguageInvoker start, auto delete: false
11:39:25 T:4514713600 NOTICE: -->Python Interpreter Initialized<--
11:39:25 T:4514713600 WARNING: CPythonInvoker(27, /Users/LOVESHACK/Library/Application Support/XBMC/addons/script.icechannel/plugin.py): the python script "/Users/LOVESHACK/Library/Application Support/XBMC/addons/script.icechannel/plugin.py" has left several classes in memory that we couldn't clean up. The classes include: N9XBMCAddon9xbmcaddon5AddonE
Reply
#5
not trying talk about pircay addons but show there is a bug in xbmc somewhere in the last 2 versions that is cause an errors in video.db sqls with accented characters
Reply
#6
I think I know which dev to talk to - will ping him once he's online
Reply
#7
thanks Da-anda
Reply
#8
Looks like broken addon.
Need full debug for real diagnose.
Reply

Logout Mark Read Team Forum Stats Members Help
Accented Characters stop db sql scanning0