[mythtv-users] mythcal error with 0.22-fixes

John Finlay finlay at moeraki.com
Sat Nov 21 19:26:45 UTC 2009

David Knight wrote:
> I've pulled down the latest version of mythcal from google code
> (http://code.google.com/p/mythcal/), installed the pytz and python-gdata
> prerequisites but get the following error when running mythcal --dry-run:
> Traceback (most recent call last):
>   File "./mythcal", line 106, in <module>
>     recordings = get_recordings_from_backend()
>   File "./mythcal", line 98, in get_recordings_from_backend
>     if mythtv.isRecording(recorder):
>   File "usr/lib/python2.5/site-packages/MythTV/MythTV.py", line 295, in
> isRecording
> TypeError: sequence item 0: expected string, int found
Looks like the MythTV API was changed when the bindings were updated. 
isRecording will not accept an int anymore so mythcal will have to pass 
a string or MythTV would  have to be changed to support the previous 
API. Looks like the getCurrentRecording binding has been changed in this 
fashion as well.


More information about the mythtv-users mailing list