mythtv python bindings crash with an IndexError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MythTV |
Fix Released
|
Unknown
|
|||
Mythbuntu |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Hi,
I'm using the latest 0.26 precise mythtv APKs. the current libmythtv-perl (all the other mythtv packages are the same version) version is
2:0.26.
For the last week or so, I've realized that I cannot download metadata. I debugged further and the mythtv python libraries are throwing an IndexError. The full error is
root@mythtv:~/Data# mythwikiscripts
Traceback (most recent call last):
File "/usr/bin/
from MythTV.wikiscripts import *
File "/usr/lib/
from dataheap import *
File "/usr/lib/
class Job( DBDataWrite, JOBTYPE, JOBCMD, JOBFLAG, JOBSTATUS ):
File "/usr/lib/
_defaults = {'id':None, 'inserttime'
File "/usr/lib/
obj = super(datetime, cls).now(tz)
File "/usr/lib/
return timedelta(0, self._get_
File "/usr/lib/
if dt < self._transitio
IndexError: tuple index out of range(
I'm not sure how to fix this. I've removed all the python scripts and reinstalled. no change. i've diffed the python scripts (dataheap.py and dt.py) with the mythth git version. They are identical.
I've added the timezone data to mysql and verified that it works by logging into mysql and doing something like
SELECT CONVERT_
the correct response (shown below) is returned
+------
| CONVERT_
+------
| 2012-06-07 08:00:00 |
+------
What can I do to fix this?
my mythtv box is running the latest precise packages.
It might be a mythbuntu and/or ubuntu precise issue as nobody is reporting this error (which affects every python script) on the mythtv mailing lists and bug repository.
Thanks,
Raj
Changed in mythtv: | |
status: | Unknown → New |
Changed in mythtv: | |
status: | New → Fix Released |
Changed in mythbuntu: | |
status: | Fix Committed → Fix Released |
I've forwarded this bug upstream at the associated ticket. Subscribe to that or keep an eye on it for questions that upstream may have. They might want logs or other details or something like that.