[mythtv-users] Error with Mirobridge

Stephen Atkins stephen.atkins at gmail.com
Tue Dec 18 15:31:00 UTC 2012


Here is the output from your python script.

tv at Mythtv:~$ mythpython --version
MythTV Python Bindings
  local versions
    bindings version:         0.26.0.0
    ttvdb version:            1.2.1
    tmdb version:             v0.2.6
  external versions
    lxml version:             2.3.2
    MySQLdb version:          1.2.3.final.0
  protocol versions
    backend:                  75
    schema:                   1307
    music schema:             1018
    netvision schema:         1007
tv at Mythtv:~$ python
>>> makeRecordRule = {'chanid': 999999, 'description': u'Test of create
record rule', 'autometadata': 1, 'season': 1, 'episode': 1, 'category':
u'TEST', 'station': u'TestStation', 'inetref': '012345', 'title': 'test
series', }
>>> record = Record().create(makeRecordRule)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  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)
>>>




On Tue, Dec 18, 2012 at 8:25 AM, Stephen Atkins <stephen.atkins at gmail.com>wrote:

> Sorry I missed that email.  Thanks for the link.  I'll give those
> instruction a shot in a little bit and send back the output.
>
> Thanks for the help.
>
>
> On Mon, Dec 17, 2012 at 11:06 AM, Doug Vaughan <r.d.vaughan at rogers.com>wrote:
>
>> Mirobridge automatically creates the recording rule when there is a match
>> between a Miro feed title and a series on TTVB. This is done so that the
>> MythTV BE will download artwork which gets displayed in either or the Watch
>> Recordings screen or MythVideo.
>>
>> As I repliedand showed the relevant recording rule creation code works on
>> v0.26+fixes totally independent of MiroBridge. I even provided a test that
>> can be performed at in a terminal session. Unfortunately I have not seen a
>> response to that information request. Tough tohelp when I do not get a
>> response.
>>
>> http://www.gossamer-threads.**com/lists/mythtv/users/535402#**535402<http://www.gossamer-threads.com/lists/mythtv/users/535402#535402>
>>
>> Doug
>>
>> ______________________________**_________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://www.mythtv.org/mailman/**listinfo/mythtv-users<http://www.mythtv.org/mailman/listinfo/mythtv-users>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20121218/b6cde648/attachment.html>


More information about the mythtv-users mailing list