2004-04-11, 11:11
i'm running a mythtv backend with a dvb-t receiver, and i've been using xbmc to play the .nuv files back manually - i just found this project, you can imagine my delight.
however, whilst the "mytvsettings.py" script executes fine (i've set up all the appropriate options), the "mytv.py" script always terminates with a "typeerror: unsupported operand type(s) for +: 'int' and 'tuple' ". i'm running a cvs build from 9/4/04, i've also tried a cvs build from 1/4/04 with the same problem.
looking at the debug log, the problem looks to be in the mysql.py library. i get some debug just prior to the error, specifically:
file "q:\python\lib\mysql.py", line 655, in __getstringandseekpos
tmpstring = self.msg[self.positionelf.position + length]
i'm a coder by day, i've had a go at tracking it down but haven't had much luck, i'm not familiar with pyton and there doesn't seem to be any elegant way of debugging it in xbmc. any ideas you guys have would be appreciated!
meanwhile i think i'll start to study up on python, if i can get this thing going i can see myself wasting hours helping to extend it. the default mythtv front-end isn't exactly fault-tolerant, it's a pain to boot via linux, and i've found xbmc's playback to be far better anyway.
however, whilst the "mytvsettings.py" script executes fine (i've set up all the appropriate options), the "mytv.py" script always terminates with a "typeerror: unsupported operand type(s) for +: 'int' and 'tuple' ". i'm running a cvs build from 9/4/04, i've also tried a cvs build from 1/4/04 with the same problem.
looking at the debug log, the problem looks to be in the mysql.py library. i get some debug just prior to the error, specifically:
file "q:\python\lib\mysql.py", line 655, in __getstringandseekpos
tmpstring = self.msg[self.positionelf.position + length]
i'm a coder by day, i've had a go at tracking it down but haven't had much luck, i'm not familiar with pyton and there doesn't seem to be any elegant way of debugging it in xbmc. any ideas you guys have would be appreciated!
meanwhile i think i'll start to study up on python, if i can get this thing going i can see myself wasting hours helping to extend it. the default mythtv front-end isn't exactly fault-tolerant, it's a pain to boot via linux, and i've found xbmc's playback to be far better anyway.