[mythtv-users] Error with Mirobridge

Stephen Atkins stephen.atkins at gmail.com
Sun Dec 16 01:01:09 UTC 2012


Hello everyone.  I've got some podcasts (tekzilla, twit and such) that 
I've been downloading into Mythtv.  I recently moved and had the system 
down for about 3 months.  I booted it up and did a bunch of updates to 
Mythbuntu 12.04.  I also upgraded to MythTV 0.26.0+fixes.  I cleaned up 
a ton of old Miro recordings in Miro thinking it would just remove them 
from Myth on the next run.

I ran env `dbus-launch` sh -c 'trap "kill $DBUS_SESSION_BUS_PID" EXIT; 
/usr/share/doc/mythtv-backend/contrib/imports/mirobridge/mirobridge -V 
--hostname=Mythtv'.  Well it clean up the old recordings.  It also 
downloaded the latest episodes of the three podcasts like it should. 
When it completed and was going to insert them in to MythTV it gave this 
error:

2012-12-15 17:45:06,118 INFO     root: Vacuuming the db before shutting 
down.

Shutting down...
Traceback (most recent call last):
   File 
"/usr/share/doc/mythtv-backend/contrib/imports/mirobridge/mirobridge.py", line 
2752, in <module>
     main()
   File 
"/usr/share/doc/mythtv-backend/contrib/imports/mirobridge/mirobridge.py",
line 2718, in main
     if not updateMythRecorded(unwatched):
   File 
"/usr/share/doc/mythtv-backend/contrib/imports/mirobridge/mirobridge.py", line 
1797, in updateMythRecorded
     records = createRecordedRecords(item)
   File 
"/usr/share/doc/mythtv-backend/contrib/imports/mirobridge/mirobridge.py", line 
1385, in createRecordedRecords
     graphics = 
metadata.getMetadata(sanitiseFileName(item[u'channelTitle']))
   File 
"/usr/share/doc/mythtv-backend/contrib/imports/mirobridge/mirobridge/metadata.py", 
line 172, in getMetadata
     record = self.Record().create(self.makeRecordRule)
   File "/usr/lib/python2.7/dist-packages/MythTV/dataheap.py", line 131, 
in create
     DBDataWrite._create_autoincrement(self, data)
   File "/usr/lib/python2.7/dist-packages/MythTV/database.py", line 373, 
in _create_autoincrement
     self._create(data, cursor)
   File "/usr/lib/python2.7/dist-packages/MythTV/database.py", line 346, 
in _create
     data[key] = val.asnaiveutc()
   File "/usr/lib/python2.7/dist-packages/MythTV/utility/dt.py", line 
450, in asnaiveutc
     return self.astimezone(self.UTCTZ()).replace(tzinfo=None)
   File "/usr/lib/python2.7/dist-packages/MythTV/utility/dt.py", line 
447, in astimezone
     return self.fromDatetime(super(datetime, self).astimezone(tz))
   File "/usr/lib/python2.7/dist-packages/MythTV/utility/dt.py", line 
75, in utcoffset
     return timedelta(0, self._get_transition(dt).offset)
   File "/usr/lib/python2.7/dist-packages/MythTV/utility/dt.py", line 
64, in _get_transition_search
     "old data for search: {0}").format(dt))
RuntimeError: Timezone does not have sufficiently old data for search: 
(1900, 1, 1, 0, 0, 0)

Doing a search online I couldn't find anything that would help fix where 
the problem is.  Can some one more familiar with the code help out?

Thanks.
Stephen


More information about the mythtv-users mailing list