Quote:madtw, mysql stores 'special chars' afaik in utf-8 format. to get the correct string in python you should use
unicode (thestring, 'utf-8')
i already tried this before posting about it above. apparently it is not utf-8 because exceptions are raised by python. the 'ã' character causes an exception to be raised.
anyway, the solution i have in place seems to be working... thanks for the suggestion though.
(jswu @ may 17 2004 11:48 Wrote:i just tried xbox-myth 0.9 with the 2004-05-15 build of xbmc. when i access the recorded shows everything freezes.
apparently, you are not running xbmc_mythtv-0.9 because the deprecation warning was fixed in that version by adding the following comment at the top of the gui.py source file:
Quote:# -*- coding: iso-8859-1 -*-
the warning is about some characters that are in comments. you can delete the offending lines or add the comment above to silence python. since you are still getting that warning, i don't think you installed everything correctly or you installed an old version or you didn't reboot xbmc after installing the latest version.
i get the future warnings as well... i did not write smb.py and i'm not sure what the correct fix is until python 2.4 comes along so that is why they are still in the source. to be honest, i haven't spent any time looking at it because the module works despite the
future warning in that module... in fact, i'm not convinced that those warnings will cause problems even in python 2.4 since the functions that use those constants aren't used for playback or for copying a smb file.
a friend was having similar problems as you and i am still trying to figure out how to fix his install. my install of build 2004-05-15 by untermensch works fine. you might want to look into why you are getting warnings when you shouldn't... and verify that you are using the same build or maybe newer.